145
linux centos7设置CPU的performance高性能模式避免降频

首先确定计算机处于最大性能模式(max performance):主要是让CPU处于全速工作模式

方法一:在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


这条帮助是否解决了您的问题? 已解决 未解决

提交成功!非常感谢您的反馈,我们会继续努力做到更好! 很抱歉未能解决您的疑问。我们已收到您的反馈意见,同时会及时作出反馈处理!