Created
December 14, 2018 20:21
-
-
Save felipsmartins/6561c81ae55dab47b5834b6693323099 to your computer and use it in GitHub Desktop.
boost GPU&CPU
This file contains 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
# /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