我的目标是使用 CentOS 7 强制所有 CPU 核心以最大睿频频率 (4 x 3.9 GHz) 运行。以下是输出cpupower frequency-info
:
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us
hardware limits: 1.60 GHz - 3.50 GHz
available frequency steps: 3.50 GHz, 3.50 GHz, 3.30 GHz, 3.10 GHz, 2.90 GHz, 2.70 GHz, 2.50 GHz, 2.30 GHz, 2.10 GHz, 1.90 GHz, 1.70 GHz, 1.60 GHz
available cpufreq governors: conservative userspace powersave ondemand performance
current policy: frequency should be within 1.60 GHz and 3.50 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: 3.50 GHz (asserted by call to hardware)
boost state support:
Supported: yes
Active: yes
3600 MHz max turbo 4 active cores
3700 MHz max turbo 3 active cores
3800 MHz max turbo 2 active cores
3900 MHz max turbo 1 active cores
睿频加速按预期工作 - 所有 4 个满载核心均达到 3.6 GHz。但最好有3900 MHz max turbo 4 active cores
或更少(至少 4 x 3.7 GHz)。如何控制呢?是否可以?
答案1
简而言之,不,这是不可能的。从输出中可以看出cpupower
,您的 CPU 仅支持最大 3,600Mhz,且有 4 个核心处于活动状态。当它以 3,900Mhz 运行时,只有 1 个核心处于活动状态。
这些是 CPU 制造商设置的限制。如果您想要更高的性能,超频是一种选择,但这可能会带来稳定性问题,并且您需要确保有足够的冷却。