![在 Natty 中充分利用我的 Core 2 Duo 的速度](https://linux22.com/image/809050/%E5%9C%A8%20Natty%20%E4%B8%AD%E5%85%85%E5%88%86%E5%88%A9%E7%94%A8%E6%88%91%E7%9A%84%20Core%202%20Duo%20%E7%9A%84%E9%80%9F%E5%BA%A6.png)
我注意到我的电脑有时运行 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.