RHEL默认安装后会将CPU设置为performance性能模式导致CPU温度过高
解决方法:
1查看当前CPU模式
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
cpupower frequency-info
2修改配置文件
cat /etc/sysconfig/cpupower
#See 'cpupower help' and cpupower(1) for more info
#CPUPOWER_START_OPTS="frequency-set -g performance"
CPUPOWER_STOP_OPTS="frequency-set -g ondemand"
#CPUPOWER_START_OPTS="frequency-set -g powersave"
3手动修改当前模式
sudo cpupower frequency-set -g powersave
查看是否设置成功:
cat /sys/devices/system/cpu/cpu0/cpufreq/base_frequency
1900000
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
4800000
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
400000
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
1309812
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。