From 0b7786987ae955362ec83a3dc017f4eda9afa7b6 Mon Sep 17 00:00:00 2001 From: fortuneteller2k Date: Tue, 1 Nov 2022 05:49:18 +0000 Subject: [PATCH] linux_xanmod: add additional kconfig options --- pkgs/os-specific/linux/kernel/xanmod-kernels.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix index d4c31e555f42..2ac516175f02 100644 --- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix +++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix @@ -33,6 +33,10 @@ let TCP_CONG_BBR2 = yes; DEFAULT_BBR2 = yes; + # Google's Multigenerational LRU framework + LRU_GEN = yes; + LRU_GEN_ENABLED = yes; + # FQ-PIE Packet Scheduling NET_SCH_DEFAULT = yes; DEFAULT_FQ_PIE = yes; @@ -43,6 +47,11 @@ let # WineSync driver for fast kernel-backed Wine WINESYNC = module; + + # Preemptive Full Tickless Kernel at 500Hz + HZ = freeform "500"; + HZ_500 = yes; + HZ_1000 = no; }; extraMeta = {