Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I make the CPUs run at maximum frequency on startup/boot? Is there a script I can make or something?

share|improve this question
up vote 2 down vote accepted

I usually edit the /etc/init.d/ondemand file and change echo -n ondemand > $CPUFREQ to echo -n performance > $CPUFREQ.

The system uses performance during boot and then that script sets it to ondemand after boot.

Edit: You can also disable this script: sudo update-rc.d -f ondemand remove

share|improve this answer

Add this somewhere for each cpu:

echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

Having that said, I'm not quite sure if that's a good idea. ;)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.