View Single Post
Old 06-07-2022, 07:26 PM   #79
rtiangha
Evangelist
rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.
 
Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
Well, for those who just want to copy/paste, here's a simple nickelmenu entry to change the governor on one CPU core:

Code:
menu_item :main  :CPU Governor :cmd_spawn :quiet : echo governor > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
where governor can be one of:

Code:
interactive
ondemand
conservative
powersave
performance
interactive is default. Here's what they do.

However, it looks like Elipsa and Sage are quad core devices, so that may not work because you should apply the same governor to all cores. You may be better off creating a script (I'll call it governor.sh):

Code:
#!/bin/sh

echo governor > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo governor > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo governor > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo governor > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
And use nickelmenu to call the script instead:

Code:
menu_item :main  :CPU Governor :cmd_spawn :quiet : /path/to/governor.sh

Last edited by rtiangha; 06-07-2022 at 07:33 PM.
rtiangha is offline   Reply With Quote