From 26f4174b0be7dcddf417c01d5c300521e2d4207f Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Thu, 16 Jan 2025 21:51:00 +0100 Subject: [PATCH] challenger: set kernel params to prevent cpu hissy fits --- hosts/challenger/hardware-configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/challenger/hardware-configuration.nix b/hosts/challenger/hardware-configuration.nix index d8e555f..a9b26fb 100644 --- a/hosts/challenger/hardware-configuration.nix +++ b/hosts/challenger/hardware-configuration.nix @@ -12,6 +12,12 @@ boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; + boot.kernelParams = [ + # https://wiki.gentoo.org/wiki/Ryzen#Ryzen_Threadripper + "processor.max_cstate=1" + "rcu_nocbs=0-11" + "idle=nomwait" + ]; fileSystems."/" = { device = "/dev/disk/by-uuid/ea31d0ea-2949-420a-99ea-7f77c4b7091e";