Got slightly insane when my cpu got stuck with 1.6 ghz (under heavy load)
So I installed cpufreq-utils from fedora16 beacuse it wasnt there for 17. GRR
Well when I got it working I needed a init script. And because of systemd. I needed to do,
create this file
put this into it..
systemctl enable rc-local.service
got some errors but it worked anyways....
systemctl start rc-local.servce
Im sure that it could be done another way. But I dont know how.
Hope it helped.
EDIT: also created the /etc/rc.local and put some stuff in it..
cpufreq-set -g performance
cpufreq-set -c 1 -g performance
EDIT2: updated my system and cpupower replaced cpufreq-utils
so one line works good.
cpupower frequency-set -g performance &