CPU frequency scaling problem - laptop users, please check this

A. Kromic akromic at gmail.com
Thu May 26 10:11:43 UTC 2011


On 05/26/2011 07:18 AM, Ric Moore wrote:
> On Tue, 2011-05-24 at 13:00 +0200, A. Kromic wrote:
>> In ccommandline you can try: 
>>
>> sudo cpufreq-set -g performance 
> I thought I had this remedied, but just by doing as you suggested, I
> found myself running at 1000 instead of 2000. Doing the above fixed
> that. I'm baffled that I am having to do this again. Yep, it sure pays
> to check, thank you. Ric
>
>
You actually have no problems - frequency scaling obviously works, but
Ubuntu uses the 'ondemand' CPU governor which sets an unloaded CPU to
its lowest frequency and increases it as the load rises. Setting the
governor to 'performance' will get your CPU frequency high immediately
which will improve CPU performance a bit, but will drain batteries
faster when off the plug. If you install the gnome CPU Frequency applet
you can watch the frequency being changed on the fly when using
'ondemand' governor.

However, the change you did is not permanent, on the next boot the
governor will return to 'ondemand'. If you want to switch it permanently
to another one like 'performance', you must edit an initscript. However,
a much better solution would be to install a CPU frequency like
cpufreqd, powernowd etc; with most of them you can configure when to use
which governor (e.g. 'powersave' on battery, 'performance' on AC etc.)

-- 
A.Kromic
-
No trees were harmed in the sending of this message;
however, a large number of electrons were terribly inconvenienced.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3642 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110526/4fa9ffa3/attachment.bin>


More information about the ubuntu-users mailing list