Page 1 of 1

How to diable CPU frequency Scaling

Posted: Wed May 03, 2017 7:35 am
by meisam
Dear All
Any way to disable the frequency scaling due to cpu load and set to maximum for better performance ?

I used "echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" in "/etc/rc.local"
but it will be changed to it`s default at the next boot.

Re: How to diable CPU frequency Scaling

Posted: Thu May 04, 2017 9:35 am
by chensy
Hi
You can try in this way:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

Thanks!

Re: How to diable CPU frequency Scaling

Posted: Fri May 05, 2017 9:35 am
by meisam
chensy wrote:
Hi
You can try in this way:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

Thanks!


Hi
Thanks for your advise , but i want to permanently fix the cpu frequentcy to MAX.
seems that the kernel set the default value after every reboot.

Thanks.