[LEDE-DEV] LEDE new image on gw5520
Koen Vandeputte
koen.vandeputte at ncentric.com
Fri Nov 10 04:24:25 PST 2017
On 2017-11-10 12:57, Outback Dingo wrote:
> Yeah i can do tthat, as a side note, do you know anything about
> cpu_scaling or thermal management on this board maybe ? it runs
> terribly hot
<snip>
I haven't tested it before, but setting it seems to alter the frequency
(at least cosmetically ..)
Only setting cpu0 seems to also set the other cpu's
[ Node 20 | node-20 ] cd /
[ Node 20 | node-20 ] echo performance >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[ Node 20 | node-20 ] cat
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
[ Node 20 | node-20 ] cat
/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
792000
[ Node 20 | node-20 ] cat
/sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq
792000
[ Node 20 | node-20 ] echo powersave >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[ Node 20 | node-20 ] cat
/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
396000
[ Node 20 | node-20 ] cat
/sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq
396000
Available governors:
- performance (default. selected in kernel config)
- powersave
- ondemand
- userspace
- conservative
"ondemand" seems the interesting for practical use as it *should*
dynamically alter clock freq on the fly ..
You could also throw a bone at Gateworks Support if they ever tested
this in-depth. :)
Koen
More information about the Lede-dev
mailing list