To see what cpu scaling governor you are currently using, run:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
To see the available cpu scaling governors:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
To see what else you can see,
Code:
ls /sys/devices/system/cpu/cpu0/cpufreq
To change the scaling governor to "performance" (though I don't recommend this in general. See http://mjg59.livejournal.com/88608.html):
Code:
echo performance | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
To watch your cpu clock speed:
Code:
watch -n 1 cat /sys/devices/system/cpu/*/cpufreq/scaling_cur_freq
If you have two CPUs, change cpu0 to cpu1 in the commands above to look at your second cpu.
Bookmarks