meta data for this page
cpufrequtils
Deprecated in D13 Trixie. Use linux-cpupower instead.
It provides:
/etc/init.d/cpufrequtils- disabled by default (no file ``/etc/default/cpufrequtils``)/etc/init.d/loadcpufreq- loads kernel modulescpufreq-setcpufreq-infocpufreq-aperf
utilities to deal with the cpufreq Linux kernel feature
This package contains two utilities for inspecting and setting the
CPU frequency through both the sysfs and procfs CPUFreq kernel
interfaces.
.
By default, it also enables CPUFreq at boot time if the correct CPU
driver is found.
/etc/default/cpufrequtils
change governor for all cpus
for ((i=0;i<$(nproc);i++)); do cpufreq-set -c $i -r -g powersave; done
Ansible one liner:
(cd .. && ansible pves -i $INVENTORY -a "bash -c 'for ((i=0;i<\$(nproc);i++)); do cpufreq-set -c \$i -r -g powersave; done'" --become)