CPU Frequency Scaling in Ubuntu

I’ve got a really noisy laptop with a really noisy CPU fan. It gets right on my nerves!

After doing a bit of reading I found that CPU frequency scaling is quite easy to implement in Ubuntu. I’m using a Pentium 4 Mobile CPU, but I believe you should get the same results with the Celeron Mobile chip.

Insert the p4_clockmod module:

sudo modprobe p4_clockmod

This shouldn’t return any output.

Add the line

p4_clockmod

to /etc/modules to ensure the CPU clock scaling module starts with the system.

Adding the CPU frequency scaling monitor applet to the panel (right click ‘add to panel’) will show the CPU frequency now. Reboot your laptop if it doesn’t seem to be working immediately.

Finally, if you (like I did) get miffed off with the laptop ‘lagging’ when needing a quick boost of power, you can manually set the frequency you want it to run at. Sometimes 250Mhz just isn’t enough!

sudo cpufreq-selector -f 1000000

Would set the CPU frequency to 1GHz – Easy eh?

Posted by Chris

Post to del.icio.us Post to del.icio.us

Post to Slashdot Post to Slashdot

Digg this Digg this

This entry was posted on Monday, July 23rd, 2007 at 8:33 pm and is filed under . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “CPU Frequency Scaling in Ubuntu”

  1. Terence Simpson Says:

    I’ve been trying to get scaling to work for ages on my laptop, but I didn’t know the module to load. I remember loading all the “cpufreq*” modules with no effect. So thanks to you I now can use scaling and I’m a happy bunny :)

  2. Chris Says:

    I’m glad my post helped someone :)

Leave a Reply