Re: A surprisingly stupid RT priority question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On Sat, Dec 8, 2012 at 2:19 PM, Paul Coccoli <pcoccoli@xxxxxxxxx> wrote:
On Sun, Dec 2, 2012 at 8:01 PM, Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> wrote:
> nice has absolutely nothing to do with this, and if it has any effect, it is
> accidental and should not be relied on.

I know that's your stock answer whenever someone mentions nice, but if
the OP is talking about SCHED_OTHER processes, nice does play a role.

nice alters the behaviour of scheduler with respect to SCHED_OTHER tasks using an algorithm that is (almost) completely irrelevant for programs that do very little interaction with the user and use most of their CPU time streaming media.

applications that stream media should either (a) use enough buffering that they do not run into xruns with respect to the delivery endpoint or (b) use SCHED_FIFO/SCHED_RR (c) both. using nice is a bandaid that simply masks design problems, if in fact it has the right effect at all.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux