Install this package:
emerge -a sys-kernel/cachyos-sources
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask sys-kernel/cachyos-sources
Or alternatively:
emerge --autounmask-write -a sys-kernel/cachyos-sources
<pkgmetadata> <maintainer type="person"> <email>szowisz.gentoo@gmail.com</email> <name>Jakub Wroński</name> </maintainer> <maintainer type="person"> <email>xz@xzos.net</email> <name>xz-dev</name> </maintainer> <use> <flag name="bore">CachyOS Scheduler (BORE - Burst-Oriented Response Enhancer), optimized for desktop responsiveness</flag> <flag name="bmq">Project C BMQ (BitMap Queue) scheduler, alternative CPU scheduler with different performance characteristics</flag> <flag name="rt">EEVDF scheduler with realtime patches for low-latency applications</flag> <flag name="rt-bore">BORE scheduler with realtime patches for low-latency applications</flag> <flag name="eevdf">Default Linux EEVDF (Earliest Eligible Virtual Deadline First) scheduler</flag> <flag name="deckify">Enable patches for handheld devices like Steam Deck (includes WiFi, ACPI, and handheld-specific patches)</flag> <flag name="hardened">Enable hardened kernel patches for enhanced security</flag> <flag name="kcfi">Enable kCFI (Kernel Control Flow Integrity) for additional security protection</flag> <flag name="autofdo">Enable Clang AutoFDO (Automatic Feedback-Directed Optimization) support for profile-guided optimization</flag> <flag name="propeller">Enable Clang Propeller optimization (basic block reordering) for better performance</flag> <flag name="llvm-lto-thin">Enable LLVM thin LTO (Link Time Optimization) - uses multiple threads, faster compilation, less memory usage</flag> <flag name="llvm-lto-full">Enable LLVM full LTO - single threaded, slower compilation, more memory usage, potentially highest performance</flag> <flag name="llvm-lto-thin-dist">Enable LLVM thin LTO with distributed model rather than in-process linking</flag> <flag name="kernel-builtin-zfs">Build ZFS module directly into the kernel (not recommended, use sys-fs/zfs-kmod instead)</flag> <flag name="hz_ticks_100">Set kernel timer frequency to 100 Hz (server/battery optimized)</flag> <flag name="hz_ticks_250">Set kernel timer frequency to 250 Hz (balanced)</flag> <flag name="hz_ticks_300">Set kernel timer frequency to 300 Hz</flag> <flag name="hz_ticks_500">Set kernel timer frequency to 500 Hz</flag> <flag name="hz_ticks_600">Set kernel timer frequency to 600 Hz</flag> <flag name="hz_ticks_750">Set kernel timer frequency to 750 Hz</flag> <flag name="hz_ticks_1000">Set kernel timer frequency to 1000 Hz (desktop optimized, default)</flag> <flag name="per-gov">Set CPU frequency performance governor as default instead of schedutil</flag> <flag name="tickrate_periodic">Use periodic ticks (traditional approach)</flag> <flag name="tickrate_idle">Use idle tickless mode (NO_HZ_IDLE)</flag> <flag name="tickrate_full">Use full tickless mode (NO_HZ_FULL) - can provide higher performance but lower consistency depending on hardware</flag> <flag name="preempt_full">Full preemption model for lowest latency (PREEMPT)</flag> <flag name="preempt_lazy">Lazy preemption model (PREEMPT_LAZY)</flag> <flag name="preempt_voluntary">Voluntary preemption model for server workloads (PREEMPT_VOLUNTARY)</flag> <flag name="o3">Enable KBUILD_CFLAGS -O3 optimization for maximum performance</flag> <flag name="os">Optimize for size (-Os) instead of performance</flag> <flag name="debug">Enable debug-friendly optimizations and disable various debug features</flag> <flag name="bbr3">Enable TCP BBR3 (Bottleneck Bandwidth and RTT) congestion control algorithm as default</flag> <flag name="hugepage_always">Always enable Transparent Huge Pages for better memory performance</flag> <flag name="hugepage_madvise">Enable Transparent Huge Pages only when requested via madvise</flag> <flag name="mgeneric">Use generic x86-64 optimizations (default kernel optimizations, portable across machines)</flag> <flag name="mgeneric_v1">Use x86-64-v1 generic optimizations (baseline x86-64)</flag> <flag name="mgeneric_v2">Use x86-64-v2 generic optimizations (requires CMPXCHG16B, LAHF-SAHF, POPCNT, SSE3, SSE4.1, SSE4.2, SSSE3)</flag> <flag name="mgeneric_v3">Use x86-64-v3 generic optimizations (requires AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE)</flag> <flag name="mgeneric_v4">Use x86-64-v4 generic optimizations (requires AVX512F, AVX512BW, AVX512CD, AVX512DQ, AVX512VL)</flag> <flag name="mnative">Use compiler native CPU autodetection optimizations (recommended for local builds, not portable)</flag> <flag name="mzen4">Use AMD Zen 4 specific optimizations (znver4) for AMD Ryzen 7000 series and newer</flag> </use> <upstream> <bugs-to>https://github.com/CachyOS/linux-cachyos/issues</bugs-to> <remote-id type="github">CachyOS/linux-cachyos</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p sys-kernel/cachyos-sources |
euse -E <flag> -p sys-kernel/cachyos-sources |
euse -D <flag> -p sys-kernel/cachyos-sources
| Flag | Description | 7.0.5 | 6.18.28 |
|---|---|---|---|
| autofdo | Enable Clang AutoFDO (Automatic Feedback-Directed Optimization) support for profile-guided optimization | ⊕ | ⊕ |
| bbr3 | Enable TCP BBR3 (Bottleneck Bandwidth and RTT) congestion control algorithm as default | ⊕ | ⊕ |
| bmq | Project C BMQ (BitMap Queue) scheduler, alternative CPU scheduler with different performance characteristics | ✓ | ✓ |
| bore | CachyOS Scheduler (BORE - Burst-Oriented Response Enhancer), optimized for desktop responsiveness | ⊕ | ⊕ |
| debug | Enable debug-friendly optimizations and disable various debug features | ✓ | ✓ |
| deckify | Enable patches for handheld devices like Steam Deck (includes WiFi, ACPI, and handheld-specific patches) | ✓ | ✓ |
| eevdf | Default Linux EEVDF (Earliest Eligible Virtual Deadline First) scheduler | ✓ | ✓ |
| hardened | Enable hardened kernel patches for enhanced security | ✗ | ✓ |
| hugepage_always | Always enable Transparent Huge Pages for better memory performance | ⊕ | ⊕ |
| hugepage_madvise | Enable Transparent Huge Pages only when requested via madvise | ✓ | ✓ |
| hz_ticks_100 | Set kernel timer frequency to 100 Hz (server/battery optimized) | ✓ | ✓ |
| hz_ticks_1000 | Set kernel timer frequency to 1000 Hz (desktop optimized, default) | ⊕ | ⊕ |
| hz_ticks_250 | Set kernel timer frequency to 250 Hz (balanced) | ✓ | ✓ |
| hz_ticks_300 | Set kernel timer frequency to 300 Hz | ✓ | ✓ |
| hz_ticks_500 | Set kernel timer frequency to 500 Hz | ✓ | ✓ |
| hz_ticks_600 | Set kernel timer frequency to 600 Hz | ✓ | ✓ |
| hz_ticks_750 | Set kernel timer frequency to 750 Hz | ✓ | ✓ |
| kcfi | Enable kCFI (Kernel Control Flow Integrity) for additional security protection | ✓ | ✓ |
| kernel-builtin-zfs | Build ZFS module directly into the kernel (not recommended, use sys-fs/zfs-kmod instead) | ✓ | ✓ |
| llvm-lto-full | Enable LLVM full LTO - single threaded, slower compilation, more memory usage, potentially highest performance | ✓ | ✓ |
| llvm-lto-none | ⚠️ | ✓ | ✓ |
| llvm-lto-thin | Enable LLVM thin LTO (Link Time Optimization) - uses multiple threads, faster compilation, less memory usage | ⊕ | ✓ |
| llvm-lto-thin-dist | Enable LLVM thin LTO with distributed model rather than in-process linking | ✓ | ⊕ |
| mgeneric | Use generic x86-64 optimizations (default kernel optimizations, portable across machines) | ✓ | ✓ |
| mgeneric_v1 | Use x86-64-v1 generic optimizations (baseline x86-64) | ✓ | ✓ |
| mgeneric_v2 | Use x86-64-v2 generic optimizations (requires CMPXCHG16B, LAHF-SAHF, POPCNT, SSE3, SSE4.1, SSE4.2, SSSE3) | ✓ | ✓ |
| mgeneric_v3 | Use x86-64-v3 generic optimizations (requires AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE) | ✓ | ✓ |
| mgeneric_v4 | Use x86-64-v4 generic optimizations (requires AVX512F, AVX512BW, AVX512CD, AVX512DQ, AVX512VL) | ✓ | ✓ |
| mnative | Use compiler native CPU autodetection optimizations (recommended for local builds, not portable) | ⊕ | ⊕ |
| mzen4 | Use AMD Zen 4 specific optimizations (znver4) for AMD Ryzen 7000 series and newer | ✓ | ✓ |
| o3 | Enable KBUILD_CFLAGS -O3 optimization for maximum performance | ⊕ | ⊕ |
| os | Optimize for size (-Os) instead of performance | ✓ | ✓ |
| per-gov | Set CPU frequency performance governor as default instead of schedutil | ⊕ | ⊕ |
| preempt_full | Full preemption model for lowest latency (PREEMPT) | ⊕ | ⊕ |
| preempt_lazy | Lazy preemption model (PREEMPT_LAZY) | ✓ | ✓ |
| preempt_none | ⚠️ | ✗ | ✓ |
| preempt_voluntary | Voluntary preemption model for server workloads (PREEMPT_VOLUNTARY) | ✗ | ✓ |
| propeller | Enable Clang Propeller optimization (basic block reordering) for better performance | ⊕ | ⊕ |
| rt | EEVDF scheduler with realtime patches for low-latency applications | ✓ | ✓ |
| rt-bore | BORE scheduler with realtime patches for low-latency applications | ✓ | ✓ |
| tickrate_full | Use full tickless mode (NO_HZ_FULL) - can provide higher performance but lower consistency depending on hardware | ⊕ | ⊕ |
| tickrate_idle | Use idle tickless mode (NO_HZ_IDLE) | ✓ | ✓ |
| tickrate_periodic | Use periodic ticks (traditional approach) | ✓ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | zfs-0829cf892b5d7b3a0e8aa76cc7aca02b84f62557.tar.gz | 33747044 bytes | 7.0.5 |
| DIST | zfs-1c702dda346a59e05cfd3029569bbb1d5d91c54b.tar.gz | 33745345 bytes | 6.18.28 |
| Type | File | Size |
|---|---|---|
| DIST | cachyos-6.18.28-1.tar.gz | 255278188 bytes |
| DIST | cachyos-7.0.5-1.tar.gz | 260404773 bytes |
| DIST | genpatches-6.18-28.base.tar.xz | 1698492 bytes |
| DIST | genpatches-6.18-28.extras.tar.xz | 3980 bytes |
| DIST | genpatches-7.0-6.base.tar.xz | 160844 bytes |
| DIST | genpatches-7.0-6.extras.tar.xz | 3976 bytes |