Skip to content

Instantly share code, notes, and snippets.

@lukas-buergi
Created July 17, 2016 19:05
Show Gist options
  • Save lukas-buergi/a7df6c07d871cfe2c0465e5c85f7b657 to your computer and use it in GitHub Desktop.
Save lukas-buergi/a7df6c07d871cfe2c0465e5c85f7b657 to your computer and use it in GitHub Desktop.
Ardour start up and clean up routine
#!/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