我注意到我的电脑有时运行 Unity 很慢,但我无法使用 Gnome 面板的 Cpu Applet,因为 natty 面板有限制。有没有办法告诉系统使用整个 1.86 Ghz 的速度?两个核心独立工作。
答案1
默认情况下,您的 CPU 应该在“ondemand”调节器下运行,这意味着当它需要时它就会扩大规模。
如果您只是希望 CPU 始终以 1.86Ghz 运行,请cpufreq-selector -c 0 -g performance
运行cpufreq-selector -c 1 -g performance
。
如果您使用cpufreq-info
,您可以验证 governor 是否运行正常:
$ cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to [email protected], please.
analyzing CPU 0:
[…snip…]
hardware limits: 800 MHz - 2.10 GHz
available frequency steps: 2.10 GHz, 2.10 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 800 MHz and 2.10 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 2.10 GHz.
[…snip…]
analyzing CPU 1:
[…snip…]
hardware limits: 800 MHz - 2.10 GHz
available frequency steps: 2.10 GHz, 2.10 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 800 MHz and 2.10 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 800 MHz.