Created
February 25, 2013 10:39
-
-
Save hornos/5029024 to your computer and use it in GitHub Desktop.
Switch on Intel Turbo Boost on SGI UV
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 | |
| # remove the following line in /etc/modprobe.d/acpi-cpufreq | |
| # install acpi-cpufreq /bin/true | |
| read -p "Enable Intel Turbo Boost?" | |
| modprobe -v acpi-cpufreq | |
| sleep 2 | |
| maxcpu=$(grep processor /proc/cpuinfo | awk '{print $3}' | tail -1) | |
| for cpu in $(seq 0 $maxcpu) ; do | |
| cpufreq-set -c $cpu -g performance | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment