Linux Tech Tips EP#30: Installing the CachyOS kernel on Fedora/Nobara | scx scheduler benchmark

Subscribers:
1,190
Published on ● Video Link: https://www.youtube.com/watch?v=21OOC37CThs



Duration: 5:13
2,369 views
52


I am looking at the scx CPU schedulers. Our friends over at CachyOS has patched this into their kernel and there is a Fedora variant available on COPR. I decided to test this on my Nobara install and run a few benchmarks to see how it stacks up against the BORE scheduler that CachyOS and in fact Nobara is using as default.

==Time Stamps==
0:00 Intro
0:16 Test setup
0:37 System Requirements
0:47 Benchmarks
2:35 Install CachyOS kernel
3:03 Install scx
3:13 Running the scx schedulers
4:40 Running the game

==Links==
https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos/
https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos-addons/
https://wiki.cachyos.org/kernel/sched-ext/

==Commands==
How to install the CachyOS kernel on Nobara/Fedora:
1. sudo dnf copr enable bieszczaders/kernel-cachyos
2. sudo dnf install kernel-cachyos kernel-cachyos-devel-matched

Check that the kernel supports sched-ext:
1. zcat /proc/config.gz | grep SCHED_CLASS_EXT
Output should be: CONFIG_SCHED_CLASS_EXT=y

How to install the scx scheduler on Nobara/Fedora with CachyOS kernel:
1. sudo dnf copr enable bieszczaders/kernel-cachyos-addons
2. sudo dnf install sched-ext-scx

Starting the Scheduler:
1. sudo scx_rusty or sudo scx_lavd

Running the Scheduler via SystemD Service
1. Edit /etc/default/scx
2. Set the option you want - SCX_SCHEDULER=scx_rusty or SCX_SCHEDULER=scx_lavd (rusty is default)
3. Set as default and enable directly at the boot - sudo systemctl enable --now scx
4. Start the scheduler only once via the systemd service - sudo systemctl start scx
5. Stop the scx scheduler via systemd service - sudo systemctl stop scx

#linuxtechtips #cachyos




Other Videos By CTRL ALT REBOOT


2024-09-15Gaming on Linux EP#142: New World Aeternum Open Beta | Nobara | 3700X 6600XT
2024-09-11Gaming on Linux EP#141: The Casting of Frank Stone | Nobara | 3700X 6600XT
2024-09-08Gaming on Linux EP#140: Warhammer 40,000: Space Marine 2 | Nobara vs CachyOS vs Windows 10
2024-08-29Gaming on Linux EP#139: Deadlock | Nobara 40 vs CachyOS vs Windows 10 | 3700X 6600XT
2024-08-25Gaming on Linux EP#138: Skull and Bones | Nobara 40 | 3700X 6600XT
2024-08-14Gaming on Linux EP#137: Black Myth Wukong Benchmark Tool | Linux vs Windows 10 | 3700X 6600XT
2024-07-22Gaming on Linux EP#136: Nobody Wants to Die | Linux vs Windows | 3700X 6600XT | Nobara 40
2024-07-12Linux Tech Tips EP#32: AMD Core Performance Boost Tested in Gaming
2024-07-11Gaming on Linux EP#135: The First Decendant | 3700X 6600XT | Nobara
2024-06-29Linux Tech Tips EP#31: Built in Game Recording in Steam!
2024-06-17Linux Tech Tips EP#30: Installing the CachyOS kernel on Fedora/Nobara | scx scheduler benchmark
2024-05-24Linux Tech Tips EP#29: How to Play xDefiant on Linux
2024-05-23Gaming on Linux EP#134: Senua’s Saga: Hellblade 2 | Optimization | 3700X 6600XT | Nobara
2024-05-20Gaming on Linux EP#133: V Rising | Nobara 39
2024-05-17Gaming on Linux EP#132: Ghost of Tsushima | Nobara 39
2024-04-27Gaming on Linux EP#131: NTSYNC vs FSYNC | Nobara 39
2024-04-19Gaming on Linux EP#130: Assassins Creed Mirage | Linux vs Windows
2024-04-16Gaming on Linux EP#129: FINAL FANTASY XIV: Dawntrail Benchmark | Linux vs Windows | How to install
2024-04-14Linux Tech Tips EP#28: Installing XeSS 1.3 | Performance Benchmark
2024-03-25Linux Tech Tips EP#27: Installing Nukems FSR3 Frame Gen Mod
2024-03-23Gaming on Linux EP#128: Horizon Forbidden West | 3700X 6600XT