Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers

up vote 1 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
    
thanks +Eliah Kagan, one day I will get the hang of formatting on this site :) –  duffydack Jul 7 '12 at 18:14
add comment

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
add comment

Your Answer

 
discard

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.