How to change the default CPU governer (CPU Frequency) in Ubuntu Karmic (might work for other versions as well)

The problem is that no matter what, when I change the CPU governer using the “CPU Frequency Scaling” gnome applet in my Ubuntu Karmic, it always defaults to “ondemand”, I searched in some forums and finally developed a nice and easy way:

  1. Set the frequency you need via the CPU Frequency Scaling applet (per CPU core)
  2. Rename or remove the “/etc/init.d/ondemand” file, I prefer you rename it, much safer I guess :), i.e. “sudo mv /etc/init.d/ondemand /etc/init.d/ondemand.bak”
  3. Reboot and see it working yourself 🙂

About SoCRaT

Systems Engineer, OSS & Linux Geek
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s