Skip to content

Instantly share code, notes, and snippets.

@felipsmartins
Created December 14, 2018 20:21
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 felipsmartins/6561c81ae55dab47b5834b6693323099 to your computer and use it in GitHub Desktop.
Save felipsmartins/6561c81ae55dab47b5834b6693323099 to your computer and use it in GitHub Desktop.
boost GPU&CPU
# /etc/rc.local
# GPU no máximo
nvidia-settings -a GPUPowerMizerMode=1
# CPU GOV
# performance ou powersave
G_SWITCH=performance
cpufreq-set -g $G_SWITCH -c 0
cpufreq-set -g $G_SWITCH -c 1
cpufreq-set -g $G_SWITCH -c 2
cpufreq-set -g $G_SWITCH -c 3
echo "CPU governor foi alterando para $G_SWITCH" > /tmp/log_cpufreq.log
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment