方法一:在bios(cpu 选项,或者电源管理选项)直接配置为max performance(我的系统无法设置),重启即可;
方法二:yum install cpupowerutils
cpupower -c all frequency-set -g performance (不用安装,自带cpupower 命令)
或者cpupower frequency-set -g performance
方法三:service cpuspeed stop
重启系统!!!
查看当前governor
1、cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave或者performance
2、cat /proc/cpuinfo | grep -i "cpu mhz"
显示每个CPU的当前运行频率
3、cpupower frequency-info