11-07-2018, 02:10 PM
(11-04-2018, 11:36 PM)Tim Curtis Wrote: Enjoy some new out-of-the-box MPD optimizations coming with moOde 4.4 courtesy of the newly released MPD 0.21 series :-) Kudos to Max Kellermann for his wonderful software engineering.
Code:Authenticated to rp3 ([192.168.1.157]:22).
Linux kernel 4.14.78-v7+ running on armv7l architecture
____ __
__ _ ___ / __ \___/ /__
/ ' \/ _ \/ /_/ / _ / -_)
/_/_/_/\___/\____/\_,_/\__/
moOde audio player
(C) 2014 Tim Curtis
The programs included with Moode are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright.
Moode comes with absolutely no warranties expressed or
implied, or any other guarantees.
pi@rp3:~ $ ps H -q `pidof -s mpd` -o 'pid,tid,cls,rtprio,comm'
PID TID CLS RTPRIO COMMAND
805 805 TS - mpd
805 809 TS - io
805 810 FF 50 rtio
805 1068 TS - player
805 1069 TS - decoder:mad
805 1094 FF 50 output:ALSA def
pi@rp3:~ $
Woot! Real-time scheduling "for some threads that benefit from it" [a quote from the MPD manual], in this case the rtio and output threads.
There's an important note about this in the MPD manual:
Quote:Note
There is a rumor that real-time scheduling improves audio quality. That is not true. All it does is reduce the probability of skipping (audio buffer xruns) when the computer is under heavy load.
Regards,
Kent