diff options
author | Timo Wilken | 2023-03-01 16:52:44 +0100 |
---|---|---|
committer | Timo Wilken | 2023-03-04 19:24:12 +0100 |
commit | 02b1345113a4cccf7394eb74eb7955e8c2a1a8f8 (patch) | |
tree | 80e17865ba45e3e4e7b6f5a61c5bcc2b324e2e61 /tw/system | |
parent | 3b8f0f6dd006f41276ae3c6d93c90e01747f4244 (diff) |
Control max CPU frequency with tlp
Diffstat (limited to 'tw/system')
-rw-r--r-- | tw/system/cern.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tw/system/cern.scm b/tw/system/cern.scm index df99225b..0c05b822 100644 --- a/tw/system/cern.scm +++ b/tw/system/cern.scm @@ -165,6 +165,15 @@ (default-domain "cern.ch") (kdc "cerndc.cern.ch")))))) + ;; At high CPU frequencies, the fan is very loud, starting around 3.5 GHz. + (service tlp-service-type + (tlp-configuration + (energy-perf-policy-on-ac "balance_power") + (cpu-scaling-governor-on-ac '("powersave")) + (cpu-scaling-max-freq-on-ac 3600000) ; kHz + (cpu-boost-on-ac? #f) + (sched-powersave-on-ac? #t))) + (service thermald-service-type (thermald-configuration (adaptive? #t))) |