Re: [LAU] unable to set scheduling priority with rt kernel

From: Chuckk Hubbard <badmuthahubbard@email-addr-hidden>
Date: Wed Oct 24 2007 - 21:20:43 EEST

On 10/24/07, Fernando Lopez-Lezcano <nando@email-addr-hidden> 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

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Thu Oct 25 00:15:02 2007

This archive was generated by hypermail 2.1.8 : Thu Oct 25 2007 - 00:15:02 EEST