
Linux Tech Tips EP#30: Installing the CachyOS kernel on Fedora/Nobara | scx scheduler benchmark
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 Verdict
==Links==
copr.fedorainfracloud.org/coprs/bieszczaders/kerne…
copr.fedorainfracloud.org/coprs/bieszczaders/kerne…
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
コメント