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 🙂
Unknown's avatar

About Ahmed Tawfik

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

Leave a comment