Echo performance save

Hello all! May i ask how i can save:

echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo performance > /sys/devices/system/cpu/cpufreq/policy1/scaling_governor
...
echo performance > /sys/devices/system/cpu/cpufreq/policy7/scaling_governor

when i type it - it work well. after reboot it become not working, it also does not saves in config archive.
not working i mean - it become basic clock.

You can put it in startup - Luci > System > Startup > Local Startup or etc/rc.local in cli.

@mike nailed the location, but another tip is to make it easier on yourself (and for a cleaner rc.local file) just set performance for all cores with a one-liner like this:

# Set the CPU governor
echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

(Adjust the actual pathing as needed for your specific CPU)

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.