我已/etc/default/tlp
设置好,当使用电池供电时,CPU 的运行速度将在 30% 到 60% 之间。运行tlp-stat -p
(输出如下)时,我可以看到这些设置已被识别。但是,实际显示的 CPU 范围是 1170MHz 和 2340MHz。这是为什么?
--- TLP 1.0 --------------------------------------------
+++ Processor
CPU model = Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 1170000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2340000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 1170000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2340000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 1170000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2340000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 1170000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2340000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/intel_pstate/min_perf_pct = 30 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct = 60 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo = 1
/sys/devices/system/cpu/intel_pstate/turbo_pct = 34 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates = 36
x86_energy_perf_policy.cpu0 = powersave
x86_energy_perf_policy.cpu1 = powersave
x86_energy_perf_policy.cpu2 = powersave
x86_energy_perf_policy.cpu3 = powersave
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
+++ Undervolting
PHC kernel not available.
答案1
您的处理器显示为 Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz,其最大睿频为 3.90 GHz。由于启用了睿频,3.90 GHz 等于 100% CPU 频率,并且:
3.90 * 60% = 2.34 GHz。3.90
* 30% = 1.17 GHz。