More Steam Link performance optimizations

This commit is contained in:
Cameron Gutman
2019-04-28 15:57:57 -07:00
parent 4f00f62674
commit dfb006d264
3 changed files with 17 additions and 4 deletions

View File

@@ -5,5 +5,9 @@
# pairing data will be lost each reboot.
HOME=/usr/local/moonlight
# Renice PE_Single_CPU which seems to host A/V stuff
renice -10 -p $(pidof PE_Single_CPU)
# Renice Moonlight itself to avoid preemption by background tasks
# Write output to a logfile in /tmp
exec ./bin/moonlight > /tmp/moonlight.log
exec nice -n -10 ./bin/moonlight > /tmp/moonlight.log