Intel Turbo Boost 不会因“Powersave”调节器而启动。
它确实在“性能”调节器上起作用,但即使 CPU 处于空闲状态,它也会将频率锁定在涡轮增压上。
“绩效”州长:
- CPU 频率始终锁定在 Turbo Boost 模式 (3.2Ghz)。
- 从而使 CPU 无缘无故地发热。
“Powersave” 州长:
- CPU 频率在空闲时为 800Mhz,这是理想的,但在 100% 使用率时最高为 2.6Ghz。这意味着英特尔 Turbo Boost 从未激活。
我想要实现的目标:
我希望在使用“省电”调节器时 Intel Turbo Boost 能够启动,这样我就可以在空闲时获得低频率,并在接近 100% CPU 使用率时获得最大性能。我不想将调节器锁定为“性能”模式,因为我喜欢“省电”给我的空闲时的低频率。
细节:
- 中央处理器:英特尔(R) 酷睿(TM) i7-6700HQ CPU @ 2.60GHz
- Turbo Boost 最大频率:3.20GHz
- 操作系统:Ubuntu 18.04.4 LTS
- 核心:5.3.0-46-通用
使用“powersave”调节器进行压力测试时的频率信息:
[lucas:~/local/box] bfdd3ffb(+1/-1)* ± cpupower frequency-info
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 800 MHz - 3.50 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 800 MHz and 3.50 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 2.90 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
并与“性能”调节器配合使用:
θ78° [lucas:~/local/box] bfdd3ffb(+1/-1)* ± cpupower frequency-info
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 800 MHz - 3.50 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 800 MHz and 3.50 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 3.32 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
在这两种调速器下,涡轮增压都处于活动状态,并且min_perf_pct
和max_perf_pct
相同:
cat /sys/devices/system/cpu/intel_pstate/no_turbo
0
cat /sys/devices/system/cpu/intel_pstate/min_perf_pct
22
cat /sys/devices/system/cpu/intel_pstate/max_perf_pct
100