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-bin, 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.1 8 ~amd64
7.3.0 8 ~amd64
7.2.11 8 ~amd64
6.18.55 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="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.1 7.3.0 7.2.11 6.18.55
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 ✓ ✓ ✓ ✓
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.1, 7.3.0
Unmatched Entries
Type File Size
DIST cachyos-6.18.55-1.tar.gz 255880400 bytes
DIST cachyos-7.2.11-1.tar.gz 265944822 bytes
DIST cachyos-7.3.0-4.tar.gz 269678818 bytes
DIST cachyos-7.3.1-1.tar.gz 269676681 bytes
DIST cachyos-kernel-patches-333b9269015584d1b31f75af9e23d838d7b3d0fe-7.2-acpi-call.patch 15975 bytes
DIST cachyos-kernel-patches-333b9269015584d1b31f75af9e23d838d7b3d0fe-7.2-aufs.patch 1003019 bytes
DIST cachyos-kernel-patches-333b9269015584d1b31f75af9e23d838d7b3d0fe-7.2-bore.patch 40750 bytes
DIST cachyos-kernel-patches-333b9269015584d1b31f75af9e23d838d7b3d0fe-7.2-dkms-clang.patch 1857 bytes
DIST cachyos-kernel-patches-333b9269015584d1b31f75af9e23d838d7b3d0fe-7.2-handheld.patch 1489921 bytes
DIST cachyos-kernel-patches-333b9269015584d1b31f75af9e23d838d7b3d0fe-7.2-hardened.patch 109305 bytes
DIST cachyos-kernel-patches-333b9269015584d1b31f75af9e23d838d7b3d0fe-7.2-muqss.patch 680886 bytes
DIST cachyos-kernel-patches-333b9269015584d1b31f75af9e23d838d7b3d0fe-7.2-prjc.patch 481679 bytes
DIST cachyos-kernel-patches-333b9269015584d1b31f75af9e23d838d7b3d0fe-7.2-rt-i915.patch 13011 bytes
DIST cachyos-kernel-patches-89bb22dec944d4d5b31332f2affbc740665cf0d9-7.3-acpi-call.patch 15975 bytes
DIST cachyos-kernel-patches-89bb22dec944d4d5b31332f2affbc740665cf0d9-7.3-aufs.patch 1002621 bytes
DIST cachyos-kernel-patches-89bb22dec944d4d5b31332f2affbc740665cf0d9-7.3-bore.patch 44784 bytes
DIST cachyos-kernel-patches-89bb22dec944d4d5b31332f2affbc740665cf0d9-7.3-dkms-clang.patch 1857 bytes
DIST cachyos-kernel-patches-89bb22dec944d4d5b31332f2affbc740665cf0d9-7.3-handheld.patch 1363533 bytes
DIST cachyos-kernel-patches-89bb22dec944d4d5b31332f2affbc740665cf0d9-7.3-prjc.patch 421884 bytes
DIST cachyos-kernel-patches-89bb22dec944d4d5b31332f2affbc740665cf0d9-7.3-rt-i915.patch 13011 bytes
DIST cachyos-kernel-patches-a8efcb97a509c3d36f839451dacb896ab48581c5-6.18-bore.patch 41188 bytes
DIST cachyos-kernel-patches-a8efcb97a509c3d36f839451dacb896ab48581c5-6.18-dkms-clang.patch 2012 bytes
DIST cachyos-kernel-patches-a8efcb97a509c3d36f839451dacb896ab48581c5-6.18-hardened.patch 107754 bytes
DIST cachyos-kernel-patches-a8efcb97a509c3d36f839451dacb896ab48581c5-6.18-prjc-lfbmq.patch 327290 bytes
DIST cachyos-kernel-patches-a8efcb97a509c3d36f839451dacb896ab48581c5-6.18-prjc.patch 324786 bytes
DIST cachyos-kernel-patches-a8efcb97a509c3d36f839451dacb896ab48581c5-6.18-rt-i915.patch 13012 bytes
DIST genpatches-6.18-63.base.tar.xz 5063784 bytes
DIST genpatches-6.18-63.extras.tar.xz 2176 bytes
DIST genpatches-7.2-12.base.tar.xz 1815156 bytes
DIST genpatches-7.2-12.extras.tar.xz 2176 bytes
DIST genpatches-7.3-1.base.tar.xz 10956 bytes
DIST genpatches-7.3-1.extras.tar.xz 2176 bytes
DIST genpatches-7.3-2.base.tar.xz 24628 bytes
DIST genpatches-7.3-2.extras.tar.xz 2176 bytes
DIST linux-cachyos-4a8d2ec8509d0da7d5fd5293f42251ea99d5ea3c-config 293816 bytes
DIST linux-cachyos-4a8d2ec8509d0da7d5fd5293f42251ea99d5ea3c-deckify-config 294035 bytes
DIST linux-cachyos-4a8d2ec8509d0da7d5fd5293f42251ea99d5ea3c-hardened-config 287889 bytes
DIST linux-cachyos-523baf9cc1e37b7f8079064447f1418702c45154-config 296471 bytes
DIST linux-cachyos-523baf9cc1e37b7f8079064447f1418702c45154-deckify-config 296471 bytes
DIST linux-cachyos-66666177b78f29c32670ba4f78f882bc0b9cc03d-config 296471 bytes
DIST linux-cachyos-66666177b78f29c32670ba4f78f882bc0b9cc03d-deckify-config 296471 bytes
DIST linux-cachyos-lts-ee39638ff003ef2def73671ec1677d48218e7c03-config 290653 bytes
DIST zfs-71a9f9578616a90c3c14bb59629fb4d31bfd68d1.tar.gz 33808411 bytes
DIST zfs-fb48c76e17d3e0092fbba430a9eec1960e1b9961.tar.gz 33808104 bytes