Code: Select all
#!/bin/sh
( sleep 20
echo 60 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
)&
Code: Select all
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
Code: Select all
sudo nano /etc/rc.local
Code: Select all
/storage/.config/autostart.sh
Code: Select all
#!/bin/sh
(sleep 20
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
)&
So, essentially IT IS better to set a low idling speed via the config.txt file rather than doing the following:xbs wrote:Afaik the RPi only has two speeds, the 'non turbo' and the turbo.
When the trigger is reached it enters turbo mode, so having a low non turbo will kick turbo in with little effort.
????xbs wrote:I have the script inYou need to make it execCode: Select all
/storage/.config/autostart.sh
Code: Select all
#!/bin/sh (sleep 20 echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold )&
Now 2 days solid.munklefish wrote:Yes.
Got a new 512mb board yesterday, and popped it on their. So been running for 23.5hrs, now.
Im not sure what your point is sorry. Surely jumping from idle to turbo is a good thing, since the cpu is either idle or running at turbo whenever in use. EG: In use = Turbo, Not in use = Idle.doveman wrote:Isn't there an issue with just setting the idle speed to something low like 300Mhz, as if the OC value is left at 95%, it might jump from idle to Turbo mode as soon as the user does something but then it will soon fall below 95% and drop back down again, to idle speed I guess, so there'll constantly be this pin-ponging?
Changing the OC value to 50-60% instead (or as well) should prevent this as mostly the CPU is above this when the user is operating XBMC.
Try it. It either idles at 300mhz or runs in turbo.doveman wrote:The point I was trying to make is that it will constantly be jumping from idle to turbo speeds, which doesn't sound ideal and it would be better if it would mostly stay at turbo speeds when being used (i.e. CPU over 50-60%) which can be achieved by changing the up_threshold.