12-10-2018, 07:32 PM
(12-10-2018, 04:14 PM)mactolinux Wrote: Just a note:
#Reduce MPD and OS latency
chrt -f -p 81 $(pidof mpd)
taskset -c -p 1 $(pidof mpd)
These strings doesn't work on startup, until you set pid of MPD correctly.
You don't "set pid", at least not without an awful low-level hack that I won't mention.
The system assigns the pid (process id) to mpd when it starts, after which this tweak could be applied. If mpd dies for some reason and is restarted by the watchdog, the assigned pid likely will be different, requiring the tweak to be reapplied.
Regards,
Kent