Skip to content

Instantly share code, notes, and snippets.

@lomkju
Last active April 3, 2020 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lomkju/6a65905bd7e3750f393b19d58626cd5c to your computer and use it in GitHub Desktop.
Save lomkju/6a65905bd7e3750f393b19d58626cd5c to your computer and use it in GitHub Desktop.
CPU Performance Parameters For Ubuntu
/*
This is how to speed up you linux machine.
https://askubuntu.com/questions/604720/setting-to-high-performance
*/
#Available modes
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
#Check processor mode
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
#Change to performance
echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
/*
Intel Turbo Boost Settings
*/
#See turbo settings
cat /sys/devices/system/cpu/intel_pstate/no_turbo
#Check max CPU MHz
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#Check Current CPU MHz
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment