我试图让我的 CPU 保持在 2.0GHz(为了保持 CPU 凉爽 XD)或更高,并使用保守的调速器,为此尝试使用以下方法为我的 CPU 配置最低频率cpu频率设置
使用按需调节器时,我需要获得正确的频率,以将所有 CPU 限制为最低 2.00 GHz
以下是收集的一些信息:
cpufreq-info -g
conservative ondemand userspace powersave performance
所有 CPU 都从 coufreq-info 返回相同的信息
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to [email protected], please.
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.20 GHz - 2.67 GHz
available frequency steps: 2.67 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, 1.20 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 1.20 GHz and 2.67 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1.20 GHz.
cpufreq stats: 2.67 GHz:19.00%, 2.67 GHz:0.00%, 2.53 GHz:1.78%, 2.40 GHz:0.74%, 2.27 GHz:1.23%, 2.13 GHz:1.24%, 2.00 GHz:1.26%, 1.87 GHz:1.68%, 1.73 GHz:2.11%, 1.60 GHz:2.06%, 1.47 GHz:3.66%, 1.33 GHz:9.65%, 1.20 GHz:55.58% (2217)
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 1
CPUs which need to have their frequency coordinated by software: 1
maximum transition latency: 10.0 us.
hardware limits: 1.20 GHz - 2.67 GHz
available frequency steps: 2.67 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, 1.20 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 1.20 GHz and 2.67 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1.20 GHz.
cpufreq stats: 2.67 GHz:10.48%, 2.67 GHz:0.00%, 2.53 GHz:0.80%, 2.40 GHz:0.72%, 2.27 GHz:0.69%, 2.13 GHz:0.80%, 2.00 GHz:1.20%, 1.87 GHz:1.10%, 1.73 GHz:1.50%, 1.60 GHz:2.08%, 1.47 GHz:4.91%, 1.33 GHz:9.12%, 1.20 GHz:66.61% (1858)
答案1
使用提供的值cpu频率设置
cpufreq-set -d 2.00 GHz
笔记 :
这对我来说不起作用,但手册页上是这么说的