运行后:
$ lscpu | grep MH
我在 Fedora 38 上运行的 1280p Intel 处理器返回:
CPU(s) scaling MHz: 91%
CPU max MHz: 1800.0000
CPU min MHz: 400.0000
所以我跑:
grep MH /proc/cpuinfo
我的输出是:
cpu MHz : 444.752
cpu MHz : 400.000
cpu MHz : 920.638
cpu MHz : 2000.000
cpu MHz : 400.060
cpu MHz : 2000.000
cpu MHz : 400.256
cpu MHz : 2000.000
cpu MHz : 707.552
cpu MHz : 2000.000
cpu MHz : 1078.017
cpu MHz : 2000.000
cpu MHz : 820.163
cpu MHz : 2000.000
cpu MHz : 481.877
cpu MHz : 2000.000
cpu MHz : 2000.000
cpu MHz : 2000.000
cpu MHz : 2000.000
cpu MHz : 2000.000
---为什么这么多高?我假设“intel_pstate=passive”将是此问题的修正,但我似乎无法应用它。我已通过以下方式验证我确实拥有该技术:
猫 /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
我读错了什么或做错了什么,因为每当我跑步时:
cpupower 频率信息
它返回:
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: 400 MHz - 1.80 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 400 MHz and 400 MHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 418 MHz (asserted by call to kernel)
boost state support:
Supported: no - diabled in UEFI
Active: no - diabled in UEFI
它只显示 CPU 0 的信息吗?我已经更正了可调参数并使用“Tuned-utils”调整了节能功能,例如:
$sudo cpupower frequency-set --governor powersave
$tuned-adm profile powersave
$sudo powertop2tuned superpowersave -e --f
以及使用“superpowersave”重新运行最后一个命令,以可能绕过任何冲突并确保启用 pwofiles,因为尝试仅使用节能实际上重新调整了这个:
Running PowerTOP, please wait...
Generating shell script /etc/tuned/powersave/script.sh
Generating TuneD config file /etc/tuned/powersave/tuned.conf
New profile has same name as active profile, not including active profile (avoiding circular deps).
我读过:内核.org&Access.Redhat.com关于 pstate 和电源配置,但仍在寻求更专业的指导或支持,请谢谢。