Ubuntu CPU睿频 性能模式设置

查看当前睿频情况(0:enable 1:disable)

1
cat /sys/devices/system/cpu/intel_pstate/no_turbo

cpu工作模式,powersave代表省电模式,performance代表性能模式。

查看当前策略

1
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

更改为性能模式

1
sudo cpupower -c all frequency-set -g performance

查看当前频率

1
watch -n 0 "cat /proc/cpuinfo | grep -i mhz"

设置开机自动设置性能模式

安装sysfsutils

1
sudo apt-get install sysfsutils

编辑/etc/sysfs.conf

1
devices/system/cpu/cpu0/cpufreq/scaling_governor = performance