Enable CPU frequency scaling in Ubuntu 2

Thursday, November 24

I’ve been using the CPU frequency monitor applet in Gnome to see the speed at which my Pentium-M chip is running, and noticed that it rarely gets up to the 1.6Ghz that it’s capable of. While I tend to prefer the dynamic scaling behaviour when running on batteries, when I’m plugged in I want top processor performance.

I did a little digging and found the answer (where else), in the README (/usr/share/doc/gnome-applets-data/README.Debian). It turns out that the cpufreq applet ships with the SUID bit unset (for security reasons), but you can enable it using by reconfiguring using dpkg-reconfigure:

$ sudo dpkg-reconfigure gnome-applets

Just choose ‘Yes’ to set the SUID bit for the cpufreq-selector executable and you’ll be able to left-click on the applet and set the the CPU frequency manually.

Comments

Leave a response

  1. TraceyNovember 24, 2005 @ 03:16 AM

    Thanks for this! I was puzzled 7 months ago when I first installed Ubuntu Hoary and I could’nt do this with the panel applet in Gnome.

    My laptop contains a mobile P4 2.66GHz that hangs out around 1.6GHz with normal use and scales up when something intensive comes along.

    I hate it when it switches to 2.66 because the loud fans kick on.

    Also, nice blog – you keep alot of useful info here. later

  2. FilipApril 22, 2007 @ 12:56 AM

    This is one of the most useful Ubuntu tweaks as far as I’m concerned. Thanks ;)

Comment