User avatar
jwzumwalt
Posts: 44
Joined: Sun Aug 04, 2013 4:00 pm

How to overclock Raspbian

Mon Sep 30, 2013 4:09 am

I have a new ver 2 board loaded with Raspbian. I have tried all the setting that I have seen on posts about overclocking.
I have set the proper values in /boot/config.txt.

However when I run
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
it always shows 700000 and there is no apparent increase in speed.

Is there some trick to overclocking the Raspbian release?

shuckle
Posts: 565
Joined: Sun Aug 26, 2012 11:49 am
Location: Finland

Re: How to overclock Raspbian

Mon Sep 30, 2013 5:15 am

You need to have load on your system to see speed increase as the overclock is dynamic.

Through this to the background ans test again:
nice yes >/dev/null &

User avatar
jwzumwalt
Posts: 44
Joined: Sun Aug 04, 2013 4:00 pm

Re: How to overclock Raspbian

Mon Sep 30, 2013 5:19 am

Geat! That did it. Is there a way to force the cpu to not idle at a lower frequency?

shuckle
Posts: 565
Joined: Sun Aug 26, 2012 11:49 am
Location: Finland

Re: How to overclock Raspbian

Mon Sep 30, 2013 5:32 am

I believe this still works although I have not tried it for a while:
add
force_turbo=1
to config.txt and reboot. (it won't set warranty bit if over_voltage=0).


I typically just tune when the dynamic overclock starts:
echo -n 75 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
=> start OC when cpu load is 75% or higher.

echo -n 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
=> Test the load slower so that it stays in high speed longer.

Return to “Advanced users”