thorgal is right, the quick and dirty way to do it is to add the command to the /etc/rc.local file - this script is ran at boot time.
There is a cleaner way to do it, though. depending of the distro you use, it might be a bit different, but here is the idea.
I said cpufreq is a daemon. With every daemon usually comes a config file. On my archlinux system, it goes this way :
/etc/conf.d/cpufreq
- Code: Select all
#configuration for cpufreq control
# valid governors:
# ondemand, performance, powersave,
# conservative, userspace
governor="ondemand"
# valid suffixes: Hz, kHz (default), MHz, GHz, THz
min_freq="600MHz"
max_freq="1.2GHz"
Obviously, all you have to do is to replace "ondemand" with "performance"
On debian/ubuntu systems, it might be stored somewhere else - but there is probably something equivalent.
~ tori