Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Added remount /dev/shm and performance governor
Browse files Browse the repository at this point in the history
  • Loading branch information
autostatic committed Jun 9, 2013
1 parent f416a03 commit bdc3498
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion init_scripts/jackd
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ case "$1" in
log_failure_msg "jackd already running as user $USER; not starting."
exit 0
fi
log_begin_msg "Starting jackd audio server:" "jackd"
log_begin_msg "Starting jackd audio server:" "jackd"
/bin/mount -o remount,size=128M /dev/shm > /dev/null 2>&1
echo -n performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor > /dev/null 2>&1
if start-stop-daemon -b -S -o -q -x $DAEMON -u $USER -a /bin/su -- - $USER -c "$DAEMON $OPTIONS"; then
while ! pgrep -u $USER jackd > /dev/null 2>&1; do continue; done
pgrep -u $USER jackd > $PIDFILE
Expand Down

0 comments on commit bdc3498

Please sign in to comment.