Skip to content

Instantly share code, notes, and snippets.

@Arie
Last active July 12, 2023 18:43
Show Gist options
  • Save Arie/7305f1b4c18d7eb51339ca830aace308 to your computer and use it in GitHub Desktop.
Save Arie/7305f1b4c18d7eb51339ca830aace308 to your computer and use it in GitHub Desktop.
NanoPi R6S governor
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo performance > /sys/devices/system/cpu/cpufreq/policy4/scaling_governor
echo performance > /sys/devices/system/cpu/cpufreq/policy6/scaling_governor
######
echo ondemand > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpufreq/policy4/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpufreq/policy6/scaling_governor
echo 10 > /sys/devices/system/cpu/cpufreq/policy0/ondemand/up_threshold
echo 10 > /sys/devices/system/cpu/cpufreq/policy0/ondemand/sampling_down_factor
echo 10 > /sys/devices/system/cpu/cpufreq/policy4/ondemand/up_threshold
echo 10 > /sys/devices/system/cpu/cpufreq/policy4/ondemand/sampling_down_factor
echo 10 > /sys/devices/system/cpu/cpufreq/policy6/ondemand/up_threshold
echo 10 > /sys/devices/system/cpu/cpufreq/policy6/ondemand/sampling_down_factor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment