CachyOS ships improved kernels that improve performance and other aspects.
The Schedulers listed below are supported
We have provided all of these CPU schedulers because each scheduler performs differently depending on usage. We recommend testing each one to determine which best suits your specific requirements.
linux-bore / linux-cachyos-borelinux-cachyoslinux-cachyos-tt / linux-ttlinux-cachyos-bmqlinux-cachyos-pdslinux-cachyos-cfslinux-cachyos-caculeThe CachyOS repositories provide prebuilt kernels in three different march versions:
x86-64,x86-64-v3, andx86-64-v4. In addition, the repositories also offer LTO-enabled kernels.
Here is a list of features of Linux kernels prebuilt in the CachyOS repositories for x86-64-v4, x86-64-v3, and x86-64.
GCC/CLANG Optimization with automatically found CPU architecture or also selectable CPU architecture.LLVM/LTO & Thin-LTO or GCC - experimental GCC LTO support is available.LLVM - patched llvm can be found in the cachyos-repositories.CFS,TT,BMQ,BORE, EEDVF and PDS scheduler.ananicy-cpp feature branch.linux-next.Repositories contain Arch Linux and CachyOS unique packages, but re-build with flags focused on performance, stability and security.
x86-64-v4 - currently only kernel packages + LTO.x86-64-v3 - all Arch Linux packages + LTO.x86-64 - all Arch Linux packages + LTO.Run following commands:
wget https://mirror.cachyos.org/cachyos-repo.tar.xz
If don't have
wget, install them bysudo pacman -S wget
tar xvf cachyos-repo.tar.xz && cd cachyos-repo
sudo ./cachyos-repo.sh
x86-64-v4 or x86-64-v3 support, script will automatically use the repositories which are optimized with this flag > and some other flags.pacman.conf.sudo pacman-key --recv-keys F3B607488DB35A47 --keyserver keyserver.ubuntu.com
sudo pacman-key --lsign-key F3B607488DB35A47
sudo pacman -U 'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-keyring-2-1-any.pkg.tar.zst' 'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-mirrorlist-17-1-any.pkg.tar.zst' 'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-v3-mirrorlist-17-1-any.pkg.tar.zst' 'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-v4-mirrorlist-5-1-any.pkg.tar.zst' 'https://mirror.cachyos.org/repo/x86_64/cachyos/pacman-6.0.2-10-x86_64.pkg.tar.zst'
If you want to add our repositories manually, you must check the compatibility of the CPU with cachyos repositories.
If you use script above for adding cachyos repositories, you can skip checking.
/lib/ld-linux-x86-64.so.2 --help | grep supported
Pay attention to the following text with brackets. (supported, searched)
x86-64-v4 (supported, searched), that means the CPU is compatible and can use x86-64-v4 instruction set.x86-64-v4, that means the CPU is incompatible and can't use x86-64-v4 instruction set.> /lib/ld-linux-x86-64.so.2 --help | grep supported
x86-64-v4 (supported, searched)
x86-64-v3 (supported, searched)
x86-64-v2 (supported, searched)
haswell (AT_PLATFORM; supported, searched)
tls (supported, searched)
avx512_1 (supported, searched)
x86_64 (supported, searched)
> /lib/ld-linux-x86-64.so.2 --help | grep supported
STDIN
40 Subdirectories of glibc-hwcaps directories, in priority order:
41 x86-64-v4
42 x86-64-v3 (supported, searched)
43 x86-64-v2 (supported, searched)
You need edit pacman.conf and add repositories.
sudo nano /etc/pacman.conf
x86-64, then add only [cachyos] repositories# cachyos repos
## Only add if your CPU does v3 architecture
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist
x86-64-v3, then add [cachyos-v3],[cachyos-community-v3] and [cachyos]# cachyos repos
## Only add if your CPU does v3 architecture
[cachyos-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos-community-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist
x86-64-v4, then add [cachyos-v4], [cachyos-v3], [cachyos-community-v3] and [cachyos]# cachyos repos
## Only add if your CPU does support x86-64-v4 architecture
[cachyos-v4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos-community-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist
Its a community maintained ebuild from a user, which can be used for a dynamic building right here
Or simply run:
eselect repository enable ROKO__
emaint sync -r ROKO__
Port of kernel linux-cachyos-bore and linux-cachyos-bore-lto by bieszczaders
Only x86_64_v3 versions are available. Check support by the following the command
/lib64/ld-linux-x86-64.so.2 --help | grep "(supported, searched)"
If it does not detect x86_64_v3 support do not install the kernel. Otherwise you will end up with a non-functioning operating system!
sudo dnf copr enable bieszczaders/kernel-cachyos
and next
sudo dnf install kernel-cachyos-bore
OR
sudo dnf install kernel-cachyos-bore-lto
If you build external modules (e.g. for Nvidia graphics card drivers) and use the -lto kernel, you need to install the following dependencies:
sudo dnf install clang clang-devel llvm lld
How to Backup the config and use the native Arch Packages
sudo mv /etc/pacman.conf.bak /etc/pacman.confsudo pacman -SuuyNot needed anymore, just install the latest dkms version from our repo.
Discord: https://discord.gg/qJqj94uFwE
Telegram: https://t.me/+zCzPX4cAFjk1MTYy
Matrix: https://matrix.cachyos.org
PayPal: https://paypal.me/pttrr
Patreon: https://www.patreon.com/CachyOS
BTC: bc1qmwglfchlc335du6pcu6w64cexu7cck0mzhyw42
ETH: 0xc2dc77327F78A7B85Db3941Eb49e74F41E961649
Hamad Marri for the TT Scheduler
Archlinux for the great linux operating system
And all other Kernel Developers and Supporters