Skip to content

Instantly share code, notes, and snippets.

@rooty
Created April 15, 2018 13:18
Show Gist options
  • Save rooty/3283a5d30f444eab0a3246da03ae268f to your computer and use it in GitHub Desktop.
Save rooty/3283a5d30f444eab0a3246da03ae268f to your computer and use it in GitHub Desktop.
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor;
do
[ -f $CPUFREQ ] || continue
echo -n performance > $CPUFREQ
done
https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment