ubuntu
ubuntu 22.04 用的tuned 工具开启的所有的内核在高睿频模式,sudo apt update
apt-get install tuned #安装
systemctl start tuned # 启动tuned服务
systemctl stop tuned # 停止tunedsystemctl enable --now tuned
systemctl enable tuned # 自启动/禁止自启动
tuned-adm profile throughput-performance # 开启高性能
tuned-adm active # 显示当前性能模式
tuned-adm off # 关闭
CPUpower 不能使用
修改BIOS设置
BIOS—Socket Configuration—Advanced Power Management Configuration
Hardware PM State Control 默认为Disable 更改为Native mode。
保存BIOS配置,重启服务器,运行cpupower frequency-info检查,结果可以正常睿频到2.80G:
我们核对以下配置,复合厂家的要求。
服务器制造商工程师建议检查BIOS的几个配置。
BIOS—Socket Configuration—Advanced Power Management Configuration—CPU P StateControl
SpeedStep(Pstates)—Enable
Turbo Ratio Boost—Enable
Turbo Mode—Enable
BIOS—Socket Configuration—Advanced Power Management Configuration—CPU C StateControl
Autonomous Core C-State—Disabled
CPU C6 report—Disabled
Enhanced Halt State(C1E)—DisabledMonitor/Mwait—Disable