Created
August 27, 2015 19:40
-
-
Save jschaub30/dbb46e9949ec4cb2fd2f to your computer and use it in GitHub Desktop.
shell script to set cpu frequency to max on power machines
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo Setting CPU to performance | |
for c in $(seq 0 8 192) | |
do | |
sudo cpufreq-set -c $c -r -g performance | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment