[lkml]   [2005]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFD] 'nice' attribute for executable files
On Tue, 2005-03-29 at 21:55 +0200, Wiktor wrote:
> Hi all,
> recently i had to run some program (xmms) with lowered nice value as
> normal user. to do that i had to su to the root account and then execute
> nice --5 xmms.

Let me guess, the sound skips unless you run at a low nice value.
That's bad design on the part of XMMS.

nice is the wrong way to handle RT constraints. You need a proper
design (ie multithreaded).

See JACK for an example of how to do it right.

Or, since you don't need low latency, use a bigger buffer.

Proper handling of RT constraints has been discussed to death on LKML
and other lists (executive summary: almost no one does it right.
mplayer is one of the most egregious offenders).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-04-06 13:31    [W:0.052 / U:2.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site