Skip to content

Instantly share code, notes, and snippets.

@jschaub30
Created August 27, 2015 19:40
Show Gist options
  • Save jschaub30/dbb46e9949ec4cb2fd2f to your computer and use it in GitHub Desktop.
Save jschaub30/dbb46e9949ec4cb2fd2f to your computer and use it in GitHub Desktop.
shell script to set cpu frequency to max on power machines
#!/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