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

Search

Notice: This package is in a virtual group: virtual/linux-sources
Equivalents: 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.3.5 8 ~amd64
7.3.4 8 ~amd64
6.18.64 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="pds">Project C Priority and Deadline based Skip list scheduler</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; retains the upstream config default for the CachyOS POC idle CPU selector (where available)</flag>
		<flag name="muqss">MuQSS scheduler (official standalone CK port on 7.3; CachyOS kernel-patches on older releases)</flag>
		<flag name="server">Disable CONFIG_CACHY kernel tweaks; scheduler and tuning options remain independently selectable</flag>
		<flag name="deckify">Apply the CachyOS handheld configuration and patches with the BORE scheduler</flag>
		<flag name="aufs">Enable the AUFS union filesystem as a module</flag>
		<flag name="clang">Build the kernel using Clang/LLVM toolchain instead of GCC (required for LTO, KCFI and Polly)</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="rust">Enable Rust support (CONFIG_RUST) and the DRM panic QR code screen; requires the Rust kernel toolchain</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">Stage pinned ZFS sources and a manual build helper; does not build or install ZFS modules</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">Force transparent huge pages to always. On server-capable versions, disabling both hugepage flags uses madvise with server and always otherwise.</flag>
		<flag name="hugepage_madvise">Force transparent huge pages to madvise. On server-capable versions, disabling both hugepage flags uses madvise with server and always otherwise.</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.3.5 7.3.4 6.18.64
aufs Enable the AUFS union filesystem as a module ✓ ✓ ✗
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, KCFI and Polly) ⊕ ⊕ ⊕
debug Enable debug-friendly optimizations and disable various debug features ✓ ✓ ✓
deckify Apply the CachyOS handheld configuration and patches with the BORE scheduler ✓ ✓ ✗
eevdf Linux EEVDF scheduler; retains the upstream config default for the CachyOS POC idle CPU selector (where available) ✓ ✓ ⊕
hugepage_always Force transparent huge pages to always. On server-capable versions, disabling both hugepage flags uses madvise with server and always otherwise. ✓ ✓ ⊕
hugepage_madvise Force transparent huge pages to madvise. On server-capable versions, disabling both hugepage flags uses madvise with server and always otherwise. ✓ ✓ ✓
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 Stage pinned ZFS sources and a manual build helper; does not build or install ZFS modules ✓ ✓ ✓
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 (official standalone CK port on 7.3; CachyOS kernel-patches on older releases) ✓ ✓ ✗
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 ✓ ✓ ✓
pds Project C Priority and Deadline based Skip list scheduler ✓ ✓ ✓
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 ✓ ✓ ✓
rust Enable Rust support (CONFIG_RUST) and the DRM panic QR code screen; requires the Rust kernel toolchain ⊕ ⊕ ✗
server Disable CONFIG_CACHY kernel tweaks; scheduler and tuning options remain independently selectable ✓ ✓ ✗
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
DIST linux-ck-4ceaa4d07af63d9d495f4cbb570547feb39d1236-muqss.patch 376928 bytes 7.3.5, 7.3.4
Unmatched Entries
Type File Size
DIST cachyos-6.18.64-1.tar.gz 256617963 bytes
DIST cachyos-7.3.4-1.tar.gz 269754070 bytes
DIST cachyos-7.3.5-2.tar.gz 269820095 bytes
DIST cachyos-kernel-patches-21d721415790e6717b2ece16e82e08eb98d16c00-7.3-acpi-call.patch 15975 bytes
DIST cachyos-kernel-patches-21d721415790e6717b2ece16e82e08eb98d16c00-7.3-aufs.patch 1002621 bytes
DIST cachyos-kernel-patches-21d721415790e6717b2ece16e82e08eb98d16c00-7.3-bore.patch 45273 bytes
DIST cachyos-kernel-patches-21d721415790e6717b2ece16e82e08eb98d16c00-7.3-dkms-clang.patch 1857 bytes
DIST cachyos-kernel-patches-21d721415790e6717b2ece16e82e08eb98d16c00-7.3-handheld.patch 1361467 bytes
DIST cachyos-kernel-patches-21d721415790e6717b2ece16e82e08eb98d16c00-7.3-prjc.patch 336798 bytes
DIST cachyos-kernel-patches-21d721415790e6717b2ece16e82e08eb98d16c00-7.3-rt-i915.patch 13011 bytes
DIST cachyos-kernel-patches-f3770b16d069a1bce8dfa63841042137f8b43434-6.18-bore.patch 41188 bytes
DIST cachyos-kernel-patches-f3770b16d069a1bce8dfa63841042137f8b43434-6.18-dkms-clang.patch 2012 bytes
DIST cachyos-kernel-patches-f3770b16d069a1bce8dfa63841042137f8b43434-6.18-hardened.patch 107754 bytes
DIST cachyos-kernel-patches-f3770b16d069a1bce8dfa63841042137f8b43434-6.18-prjc-lfbmq.patch 327290 bytes
DIST cachyos-kernel-patches-f3770b16d069a1bce8dfa63841042137f8b43434-6.18-prjc.patch 324786 bytes
DIST cachyos-kernel-patches-f3770b16d069a1bce8dfa63841042137f8b43434-6.18-rt-i915.patch 13012 bytes
DIST genpatches-6.18-72.base.tar.xz 6572024 bytes
DIST genpatches-6.18-72.extras.tar.xz 2176 bytes
DIST genpatches-7.3-5.base.tar.xz 588008 bytes
DIST genpatches-7.3-5.extras.tar.xz 2176 bytes
DIST genpatches-7.3-6.base.tar.xz 752360 bytes
DIST genpatches-7.3-6.extras.tar.xz 2176 bytes
DIST linux-cachyos-271d7782ac4854255aec73370aa0e142afb5d3ba-config 297479 bytes
DIST linux-cachyos-271d7782ac4854255aec73370aa0e142afb5d3ba-deckify-config 297479 bytes
DIST linux-cachyos-8e308d0a3895dbc741381fb61b9a9a8603be793d-config 296471 bytes
DIST linux-cachyos-8e308d0a3895dbc741381fb61b9a9a8603be793d-deckify-config 296471 bytes
DIST linux-cachyos-lts-84d5b02e346b0900ce58c1d73bf083b937c09cbb-config 290653 bytes
DIST zfs-fb48c76e17d3e0092fbba430a9eec1960e1b9961.tar.gz 33808104 bytes