Linux: cpu frequency
Revision as of 09:55, 7 November 2018 by Onnowpurbo (talk | contribs)
sudo su apt -y install linux-tools-common linux-tools-generic linux-cloud-tools-generic
cpupower frequency-set -g governor cpupower frequency-set -g powersave
Governor Description performance Run the CPU at the maximum frequency. powersave Run the CPU at the minimum frequency. userspace Run the CPU at user specified frequencies. ondemand Scales the frequency dynamically according to current load. Jumps to the highest frequency and then possibly back off as the idle time increases . conservative Scales the frequency dynamically according to current load. Scales the frequency more gradually than ondemand. schedutil Scheduler-driven CPU frequency selection [1], [2].
Cek
watch grep \"cpu MHz\" /proc/cpuinfo
Cara Lain
echo 'GOVERNOR="powersave"' | sudo tee /etc/default/cpufrequtils sudo /etc/init.d/cpufrequtils restart
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor