[LAU] unable to set scheduling priority with rt kernel
Chuckk Hubbard
badmuthahubbard at gmail.com
Wed Oct 24 14:20:43 EDT 2007
On 10/24/07, Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> wrote:
>
> On Wed, 2007-10-24 at 15:59 +0300, Chuckk Hubbard wrote:
> > Hi doc, thanks for the guess. sudo chrt does work, though. I'm
> > supposed to not need it with the rt-patched kernel, which allows
> > non-root users to set high priorities.
>
> Not exactly right. The rt-patched kernel (Ingo's patches) only optimizes
> the max latency paths in the kernel. Other software is what allows
> non-root users to use SCHED_FIFO scheduling. There are several options,
> the current one is /etc/security/limits.conf through PAM, there are
> others.
I see; that makes more sense now.
Any idea why Linux wouldn't honor /etc/security/limits.conf?
> > /etc/security/limits.conf has:
> > > @audio - nice -10
> > > @audio - rtprio 99
> > > @audio - memlock 4000000 (someone on the
> > jack list
> > > suggested that my previous value "unlimited" was not
> > recognized, so I
> > > stuck this in but no change)
> > >
> > > and user "chuckk" is in group "audio".
>
Still true.
-Chuckk
--
http://www.badmuthahubbard.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20071024/5835c4d9/attachment.htm
More information about the Linux-audio-user
mailing list