Skip to content

Instantly share code, notes, and snippets.

@hornos
Created February 25, 2013 10:39
Show Gist options
  • Select an option

  • Save hornos/5029024 to your computer and use it in GitHub Desktop.

Select an option

Save hornos/5029024 to your computer and use it in GitHub Desktop.
Switch on Intel Turbo Boost on SGI UV
#!/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