Friday, March 5, 2010

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 :)

No comments: