Created
July 17, 2016 19:05
-
-
Save lukas-buergi/a7df6c07d871cfe2c0465e5c85f7b657 to your computer and use it in GitHub Desktop.
Ardour start up and clean up routine
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
#!/bin/bash | |
# basic Ardour wrapping script | |
# sets correct cpu governors | |
for cpu in $(seq 0 $(($(nproc) -1))) ; do | |
sudo -A cpufreq-set -c $cpu -g performance | |
done | |
Ardour4 | |
# problem: if governor already was performance (or something else), this sets it back wrong | |
for cpu in $(seq 0 $(($(nproc) -1))) ; do | |
sudo -A cpufreq-set -c $cpu -g powersave | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment