sys-kernel/cachyos-kernel (CachyOS-kernels)

Search

Notice: This package is in a virtual group: virtual/dist-kernel, virtual/linux-sources
Equivalents: sys-kernel/cachyos-kernel-${PV%_p*}, sys-kernel/cachyos-kernel-${PV%_p*}-r1, sys-kernel/cachyos-kernel-${PV%_p*}-r2, sys-kernel/cachyos-kernel-bin-${PV%_p*}, sys-kernel/asahi-sources, sys-kernel/cachyos-sources, sys-kernel/gentoo-kernel, sys-kernel/gentoo-kernel-bin, sys-kernel/gentoo-kernel-modprep, sys-kernel/gentoo-sources, sys-kernel/git-sources, sys-kernel/linux-firmware, sys-kernel/linux-next, sys-kernel/mips-sources, sys-kernel/pf-sources, sys-kernel/raspberrypi-sources, sys-kernel/rt-sources, sys-kernel/vanilla-kernel, sys-kernel/vanilla-sources, sys-kernel/zen-sources

Install

Install this package:

emerge -a sys-kernel/cachyos-kernel

Package Information

Description:
Linux kernel built with CachyOS patches (BORE, LTO, AutoFDO, BBR3 and more)
Homepage:
https://github.com/CachyOS/linux-cachyos https://github.com/Szowisz/CachyOS-kernels
License:
GPL-3

Versions

Version EAPI Keywords Slot
7.2.4 8 ~amd64
7.2.3 8 ~amd64
7.2.2 8 ~amd64
7.1.8 8 ~amd64
6.18.50 8 ~amd64

Metadata

Maintainers

Upstream

Raw Metadata XML
<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="bmq-lfbmq">PRJC BMQ scheduler with the LFBMQ (lock-free bitmap queue) runqueue variant from kernel-patches</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">Linux EEVDF scheduler with the CachyOS POC idle CPU selector</flag>
		<flag name="muqss">MuQSS scheduler patchset carried in CachyOS kernel-patches</flag>
		<flag name="server">Apply the upstream server preset: EEVDF, 300 Hz, lazy preemption, no LTO, and CachyOS config tweaks disabled</flag>
		<flag name="deckify">Apply the upstream handheld and ACPI patchsets and enable Steam Deck, ASUS Ally, Lenovo Go, MSI Claw, and ZOTAC Zone support with the selected scheduler</flag>
		<flag name="clang">Build the kernel using Clang/LLVM toolchain instead of GCC (required for LTO and KCFI)</flag>
		<flag name="cachyos-hardened">Enable the CachyOS hardened kernel variant and patchset</flag>
		<flag name="kcfi">Enable kCFI (Kernel Control Flow Integrity) for additional security protection (requires clang)</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="llvm-lto-none">Disable LLVM link-time optimization</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="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>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p sys-kernel/cachyos-kernel | euse -E <flag> -p sys-kernel/cachyos-kernel | euse -D <flag> -p sys-kernel/cachyos-kernel

Flag Description 7.2.4 7.2.3 7.2.2 7.1.8 6.18.50
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
bmq-lfbmq PRJC BMQ scheduler with the LFBMQ (lock-free bitmap queue) runqueue variant from kernel-patches
bore CachyOS Scheduler (BORE - Burst-Oriented Response Enhancer), optimized for desktop responsiveness
cachyos-hardened Enable the CachyOS hardened kernel variant and patchset
clang Build the kernel using Clang/LLVM toolchain instead of GCC (required for LTO and KCFI)
debug Enable debug-friendly optimizations and disable various debug features
deckify Apply the upstream handheld and ACPI patchsets and enable Steam Deck, ASUS Ally, Lenovo Go, MSI Claw, and ZOTAC Zone support with the selected scheduler
eevdf Linux EEVDF scheduler with the CachyOS POC idle CPU selector
hardened Require CachyOS kernel sources with hardened patches ⚠️
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 (requires clang)
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 Disable LLVM link-time optimization
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)
muqss MuQSS scheduler patchset carried in CachyOS kernel-patches
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)
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
server Apply the upstream server preset: EEVDF, 300 Hz, lazy preemption, no LTO, and CachyOS config tweaks disabled
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)

Manifest

Type File Size Versions
Unmatched Entries
Type File Size
DIST cachyos-6.18.50-1.tar.gz 255648231 bytes
DIST cachyos-7.1.8-1.tar.gz 262198584 bytes
DIST cachyos-7.2.2-1.tar.gz 265612689 bytes
DIST cachyos-7.2.3-2.tar.gz 265607818 bytes
DIST cachyos-7.2.4-1.tar.gz 265625777 bytes
DIST cachyos-kernel-patches-a40b85abdcb9f4ba653e2e1ea89d3d1f0cf563ba-7.2-acpi-call.patch 15975 bytes
DIST cachyos-kernel-patches-a40b85abdcb9f4ba653e2e1ea89d3d1f0cf563ba-7.2-bore.patch 40750 bytes
DIST cachyos-kernel-patches-a40b85abdcb9f4ba653e2e1ea89d3d1f0cf563ba-7.2-dkms-clang.patch 1857 bytes
DIST cachyos-kernel-patches-a40b85abdcb9f4ba653e2e1ea89d3d1f0cf563ba-7.2-handheld.patch 1511830 bytes
DIST cachyos-kernel-patches-a40b85abdcb9f4ba653e2e1ea89d3d1f0cf563ba-7.2-muqss.patch 678061 bytes
DIST cachyos-kernel-patches-a40b85abdcb9f4ba653e2e1ea89d3d1f0cf563ba-7.2-prjc.patch 481679 bytes
DIST cachyos-kernel-patches-a40b85abdcb9f4ba653e2e1ea89d3d1f0cf563ba-7.2-rt-i915.patch 13011 bytes
DIST cachyos-kernel-patches-c3555d2ea83e22259652d5ad4b42036fd57b94f4-7.2-acpi-call.patch 15975 bytes
DIST cachyos-kernel-patches-c3555d2ea83e22259652d5ad4b42036fd57b94f4-7.2-bore.patch 40750 bytes
DIST cachyos-kernel-patches-c3555d2ea83e22259652d5ad4b42036fd57b94f4-7.2-dkms-clang.patch 1857 bytes
DIST cachyos-kernel-patches-c3555d2ea83e22259652d5ad4b42036fd57b94f4-7.2-handheld.patch 1511830 bytes
DIST cachyos-kernel-patches-c3555d2ea83e22259652d5ad4b42036fd57b94f4-7.2-muqss.patch 678061 bytes
DIST cachyos-kernel-patches-c3555d2ea83e22259652d5ad4b42036fd57b94f4-7.2-prjc.patch 481679 bytes
DIST cachyos-kernel-patches-c3555d2ea83e22259652d5ad4b42036fd57b94f4-7.2-rt-i915.patch 13011 bytes
DIST cachyos-kernel-patches-d5db2a953637445998d2b0e5ab52ea9c04860a24-6.18-dkms-clang.patch 2012 bytes
DIST cachyos-kernel-patches-d5db2a953637445998d2b0e5ab52ea9c04860a24-6.18-rt-i915.patch 13012 bytes
DIST cachyos-kernels-127c70edf723c471e99963e2a61923e2025feeda-6.18.48-bore.patch 37020 bytes
DIST cachyos-kernels-127c70edf723c471e99963e2a61923e2025feeda-6.18.48-hardened-sysctl.patch 698 bytes
DIST cachyos-kernels-127c70edf723c471e99963e2a61923e2025feeda-6.18.48-hardened.patch 83429 bytes
DIST cachyos-kernels-127c70edf723c471e99963e2a61923e2025feeda-6.18.48-prjc.patch 311981 bytes
DIST genpatches-6.18-57.base.tar.xz 3710308 bytes
DIST genpatches-6.18-57.extras.tar.xz 2176 bytes
DIST genpatches-7.1-11.base.tar.xz 1270928 bytes
DIST genpatches-7.1-11.extras.tar.xz 3932 bytes
DIST genpatches-7.2-3.base.tar.xz 40296 bytes
DIST genpatches-7.2-3.extras.tar.xz 2176 bytes
DIST genpatches-7.2-4.base.tar.xz 70808 bytes
DIST genpatches-7.2-4.extras.tar.xz 2176 bytes
DIST genpatches-7.2-5.base.tar.xz 290200 bytes
DIST genpatches-7.2-5.extras.tar.xz 2176 bytes
DIST linux-cachyos-bd8a07da314743eede668d999d37253c1a77c186-config 293816 bytes
DIST linux-cachyos-bf83c8e65c1e801fb6ed4734824dbee4a73031be-config 293816 bytes
DIST linux-cachyos-lts-fed1a01462a4a26a23acbb095ec6cd3b5c9df19c-config 290653 bytes
DIST zfs-71a9f9578616a90c3c14bb59629fb4d31bfd68d1.tar.gz 33808411 bytes
DIST zfs-c681af76c5a6a15caada25eb13090e41218c7831.tar.gz 33780256 bytes