This repository is maintained by @1Naim, @andersrh and @TrixieUA.
- Choose between
GCC
andLLVM-ThinLTO
- Optimized for
x86-64v3
CPUs forkernel-cachyos
andx86-64v2
forkernel-cachyos-lts
- BORE scheduler with sched-ext support (sched-ext support only for
kernel-cachyos
) - AMD P-State Preferred Core, AMD CPB Switch and upstream
amd-pstate
enchancements (exclusive tokernel-cachyos
) - Cachy Sauce - Provides tweaks for the scheduler and other settings
- Prebuilt
nvidia-open
kernel modules - Latest & improved ZSTD patchset
- Improved BFQ Scheduler
- BBRv3 tcp_congestion_control
- v4l2loopback modules as default included
- Cherry picked patches from Clear Linux
- Backported patches from
linux-next
- OpenRGB and ACS Override support
- NTSync patched and integrated into the kernel (exclusive to
kernel-cachyos
)
Make sure your CPU supports the higher target x86-64
architectures.
/lib64/ld-linux-x86-64.so.2 --help | grep "(supported, searched)"
Next, enable the COPR repository hosting the kernels.
sudo dnf copr enable bieszczaders/kernel-cachyos # For GCC built kernels
# or
sudo dnf copr enable bieszczaders/kernel-cachyos-lto # For LLVM-ThinLTO build kernels
Now you can install the kernels
sudo dnf install kernel-cachyos kernel-cachyos-devel-matched # For GCC built kernels
# or
sudo dnf install kernel-cachyos-lto kernel-cachyos-lto-devel-matched # For LLVM-ThinLTO built kernels
## LTS Kernel
sudo dnf install kernel-cachyos-lts kernel-cachyos-lts-devel-matched
# or
sudo dnf install kernel-cachyos-lts-lto kernel-cachyos-lts-lto-devel-matched
Lastly if you use SELinux, you need to enable the necessary policy to be able to load kernel modules.
sudo setsebool -P domain_kernel_load_modules on
cd /etc/yum.repos.d/
sudo wget https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos/repo/fedora-$(rpm -E %fedora)/bieszczaders-kernel-cachyos-fedora-$(rpm -E %fedora).repo
sudo rpm-ostree override remove kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra --install kernel-cachyos
sudo systemctl reboot
We provide a few addons that supplement the kernel packages and system.
- CachyOS-Settings - Settings used in CachyOS (includes modprobe config, udev rules, etc) packaged for Fedora.
- scx-scheds - sched-ext schedulers. Provides both
scx-scheds
releases andscx-scheds-git
package. - uksmd - Userspace KSM helper daemon.
- ananicy-cpp & cachyos-ananicy-rules - Auto nice daemon with rules support.
First, enable the COPR repository hosting addon packages.
sudo dnf copr enable bieszczaders/kernel-cachyos-addons
Now you can install the addon packages.
sudo dnf install cachyos-settings
sudo dracut -f
sudo dnf install scx-scheds
#or
sudo dnf install scx-scheds-git # For -git package
# Choose which scx scheduler to use by editting `/etc/default/scx`
sudo nano /etc/default/scx
# Then enable the systemd service to make it persistent across boots
sudo systemctl enable --now scx.service
sudo dnf install uksmd
sudo systemctl enable --now uksmd.service
sudo dnf install ananicy-cpp
sudo systemctl enable --now ananicy-cpp