背景:DELL R230服务器 E3-1230V5 8G 256G SSD 安装centos7.6,出现降频现象
查看CPU信息 cat /proc/cpuinfo
E3-1230V5 主频3.4GHz,但开机后发现实际的频率为1.9GHz

BIOS-PROCESS设置如下

原来centos7系统默认为节能模式,节省电能,副作用则是CPU频率降低
查看当前CPU生效的策略
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
结果为performance powersave
查看当前CPU生效的策略
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
结果为powersave
恍然大悟!
那就修改为最高频率
cpupower frequency-set -g performance
再设置开机自动执行
cpupower frequency-set -g performance >/dev/null” >>/root/.bashrc
浙公网安备 33010602011771号