Created
March 15, 2016 17:37
-
-
Save bprosnitz/3c1ca15beae189f22c5e to your computer and use it in GitHub Desktop.
Reset the CPU speed to "ondemand" after benchmarks
This file contains 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 | |
# sudo apt-get install cpufrequtils | |
sudo cpufreq-set -c 0 -g ondemand | |
sudo cpufreq-set -c 1 -g ondemand | |
sudo cpufreq-set -c 2 -g ondemand | |
sudo cpufreq-set -c 3 -g ondemand | |
sudo cpufreq-set -c 4 -g ondemand | |
sudo cpufreq-set -c 5 -g ondemand | |
sudo cpufreq-set -c 6 -g ondemand | |
sudo cpufreq-set -c 7 -g ondemand | |
sudo cpufreq-set -c 8 -g ondemand | |
sudo cpufreq-set -c 9 -g ondemand | |
sudo cpufreq-set -c 10 -g ondemand | |
sudo cpufreq-set -c 11 -g ondemand |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment