Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


System optimizations?
#56
(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
Reply


Messages In This Thread
System optimizations? - by Mullet - 04-19-2018, 02:16 PM
RE: System optimizations? - by swizzle - 04-20-2018, 08:49 PM
RE: System optimizations? - by moodenigo - 06-06-2018, 12:53 PM
RE: System optimizations? - by TheOldPresbyope - 06-06-2018, 01:49 PM
RE: System optimizations? - by Bento - 08-14-2018, 09:09 PM
RE: System optimizations? - by moodenigo - 08-20-2018, 09:15 AM
RE: System optimizations? - by hifix - 08-20-2018, 02:45 PM
RE: System optimizations? - by Mullet - 04-24-2018, 11:37 PM
RE: System optimizations? - by Skip Pack - 04-25-2018, 05:21 PM
RE: System optimizations? - by rhizomusicosmos - 04-25-2018, 11:23 PM
RE: System optimizations? - by Skip Pack - 04-26-2018, 02:52 AM
RE: System optimizations? - by hifix - 05-01-2018, 08:08 AM
RE: System optimizations? - by Mullet - 05-01-2018, 02:12 AM
RE: System optimizations? - by rhizomusicosmos - 05-01-2018, 05:48 AM
RE: System optimizations? - by yannig - 04-28-2018, 02:38 AM
RE: System optimizations? - by moodenigo - 06-07-2018, 08:37 AM
RE: System optimizations? - by barryso - 08-05-2018, 11:48 PM
RE: System optimizations? - by hifix - 08-18-2018, 05:25 PM
RE: System optimizations? - by JST1963 - 08-18-2018, 09:19 PM
RE: System optimizations? - by hifix - 08-18-2018, 11:18 PM
RE: System optimizations? - by kvik2 - 08-20-2018, 12:39 PM
RE: System optimizations? - by swizzle - 08-25-2018, 12:18 AM
RE: System optimizations? - by jayce996 - 09-04-2018, 08:49 AM
RE: System optimizations? - by Deenoo - 09-06-2018, 03:51 PM
RE: System optimizations? - by jayce996 - 09-05-2018, 04:22 PM
RE: System optimizations? - by Tim Curtis - 09-05-2018, 09:56 PM
RE: System optimizations? - by swizzle - 09-06-2018, 02:35 AM
RE: System optimizations? - by jayce996 - 09-07-2018, 06:59 PM
RE: System optimizations? - by Tim Curtis - 09-07-2018, 07:16 PM
RE: System optimizations? - by Vhond - 09-24-2018, 12:54 PM
RE: System optimizations? - by hifix - 09-25-2018, 05:23 PM
RE: System optimizations? - by Vhond - 10-28-2018, 12:00 PM
RE: System optimizations? - by mactolinux - 10-08-2018, 10:37 AM
RE: System optimizations? - by rikardo1979 - 10-08-2018, 12:31 PM
RE: System optimizations? - by jonners - 10-08-2018, 12:50 PM
RE: System optimizations? - by rikardo1979 - 10-08-2018, 01:47 PM
RE: System optimizations? - by mactolinux - 10-08-2018, 04:46 PM
RE: System optimizations? - by Strider - 11-15-2018, 03:12 PM
RE: System optimizations? - by jonners - 10-09-2018, 06:59 PM
RE: System optimizations? - by mactolinux - 10-10-2018, 07:24 AM
RE: System optimizations? - by rikardo1979 - 10-10-2018, 08:33 AM
RE: System optimizations? - by mactolinux - 10-10-2018, 09:28 AM
RE: System optimizations? - by mactolinux - 10-10-2018, 09:31 AM
RE: System optimizations? - by rikardo1979 - 10-10-2018, 10:17 AM
RE: System optimizations? - by mactolinux - 10-10-2018, 10:08 AM
RE: System optimizations? - by mactolinux - 10-10-2018, 10:49 AM
RE: System optimizations? - by rikardo1979 - 10-10-2018, 10:56 AM
RE: System optimizations? - by mactolinux - 10-10-2018, 11:03 AM
RE: System optimizations? - by Gervasutti - 10-14-2018, 12:27 PM
RE: System optimizations? - by mactolinux - 10-15-2018, 08:10 AM
RE: System optimizations? - by Gervasutti - 10-15-2018, 01:14 PM
RE: System optimizations? - by mactolinux - 10-15-2018, 01:17 PM
RE: System optimizations? - by Gervasutti - 10-15-2018, 02:49 PM
RE: System optimizations? - by Tim Curtis - 11-04-2018, 11:36 PM
RE: System optimizations? - by TheOldPresbyope - 11-07-2018, 02:10 PM
RE: System optimizations? - by mactolinux - 11-06-2018, 03:31 PM
RE: System optimizations? - by Vhond - 11-07-2018, 01:51 PM
RE: System optimizations? - by swizzle - 11-09-2018, 10:00 PM
RE: System optimizations? - by Tim Curtis - 11-10-2018, 02:07 AM
RE: System optimizations? - by mactolinux - 11-15-2018, 03:13 PM
RE: System optimizations? - by Strider - 11-15-2018, 03:17 PM
RE: System optimizations? - by 4mayday - 11-16-2018, 09:16 AM
RE: System optimizations? - by DRONE7 - 11-16-2018, 10:06 AM
RE: System optimizations? - by 4mayday - 11-16-2018, 10:12 AM
RE: System optimizations? - by energyi - 09-14-2021, 02:51 AM
RE: System optimizations? - by the_bertrum - 09-14-2021, 08:23 AM
RE: System optimizations? - by vinnn - 09-20-2021, 02:50 PM
RE: System optimizations? - by Gekel - 09-29-2021, 07:42 AM
RE: System optimizations? - by Tim Curtis - 01-31-2022, 11:53 PM
RE: System optimizations? - by Tim Curtis - 02-01-2022, 04:18 AM
RE: System optimizations? - by cryptout - 02-15-2022, 05:51 AM

Forum Jump: