设置 CPU 频率准则

xra*_*alf 5 cpu hardware power-management cpu-frequency

由于风扇噪音,我正在更改 CPU 频率。

我用于sudo cpufreq-selector -g powersave此目的,但我用 Lubuntu 替换了我的 Linux 系统 Xubuntu,因为它利用了更好的资源。我的版本是 11.10,我不使用 GNOME、KDE、Xfce 或 LXDE(仅 xmonad)。

有问题 cpufreq-selector

$ cpufreq-selector

Failed to acquire org.gnome.CPUFreqSelector: Connection ":1.35" is not
allowed to own the service "org.gnome.CPUFreqSelector" due to
security policies in the configuration file
Run Code Online (Sandbox Code Playgroud)

cpufreq-info 显示:

$ cpufreq-info

cpufrequtils 007: cpufreq-info (C) Dominik
Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, 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: 600 MHz - 1.60 GHz
available frequency steps: 1.60 GHz, 1.40 GHz, 1.20 GHz, 800 MHz, 600 MHz
available cpufreq governors: conservative, ondemand, userspace, powersave,
performance   current policy: frequency should be within 1.60 GHz and 1.60 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1.60 GHz.
cpufreq stats: 1.60 GHz:98.40%, 1.40 GHz:0.02%, 1.20 GHz:1.58%, 800
MHz:0.01%, 600 MHz:0.00% (38)
Run Code Online (Sandbox Code Playgroud)

我也试过这个指南,因为我的处理器是一样的(只有频率是 1.6 而不是 1.73)。我不确定之后是否发生了什么

sudo modprobe speedstep_centrino 命令。

你能帮我弄清楚这里出了什么问题,为什么我不能降低频率?

sr_*_*sr_ 2

org.gnome.CPUFreqSelector听起来像 DBus,但谷歌搜索显示这可能是一个 PolicyKit 问题。 也许这会有所帮助,授予小程序 CPUFreq 更改

我认为你不需要该cpufreq-selector工具,你可以直接使用cpufreq-set(也许与sudo,我不确定)。(或者前端,在这里cpupowerutils活着)

编辑以匹配您更新的问题)

  • modprobe不输出任何内容表明一切顺利(echo $?在 后尝试modprobe,它应该0指示成功;也dmesg可以包含某些内容;lsmod之后也的输出应该有所不同,表明模块已加载)。
  • 您是否尝试modprobe过真正的州长,即modprobe cpufreq_powersavemodprobe在您的之后speedstep_centrino)?cpufreq-set -g powersave(然后相应的应该可以工作。)