[LAU] unable to set scheduling priority with rt kernel

Chuckk Hubbard badmuthahubbard at gmail.com
Thu Oct 25 04:06:19 EDT 2007


On 10/25/07, Florian Schmidt <mista.tapas at gmx.net> wrote:
>
> On Wednesday 24 October 2007, Chuckk Hubbard wrote:
> > On 10/24/07, Florian Schmidt <mista.tapas at gmx.net> wrote:
> > > On Wednesday 24 October 2007, Chuckk Hubbard wrote:
> > > > sudo chrt -fp 82 `pidof "IRQ-16"`
> > > > jackd --realtime -P 70 -dalsa -P -p256 -n2 -r44100 &
> > > > sudo chrt -fp 70 `pidof "jackd"`
> > > > chrt -p `pidof "IRQ-16"`
> > > > chrt -p `pidof "jackd"`
> > > > exit
> > >
> > > if you run
> > >
> > > sudo chrt -fp 70 `pidof "jackd"`
> > >
> > > as non root without using sudo
> > >
> > > chrt -fp 70 `pidof "jackd"`
> > >
> > > do you get an error?
> >
> > Why no I don't!  And it changes priority.  I swore it didn't work before
> > when I tried it.  I've just now added "session required
> > /lib/security/pam_limits.so" to /etc/pam.d/common-session, as others
> > suggested, maybe that did something?
> > So does that mean the -P flag can never set priority 70?  I got it from
> > your site!
>
> Well, if chrt works now without sudo, try running
>
> jackd -R -P 70 -d alsa ...
>
> again. It should work now, too..


Believe it or not, I thought of that.  It doesn't work.  I also tried with
Csound, no luck.  chrt -fp 70 `pidof "jackd"` works, jackd -R -P 70 -dalsa
etc doesn't (it starts jackd with all the appropriate options except
realtime).  Is it possible for realtime not to be compiled into jackd?  I
have 0.103.0 from Debian testing.

-Chuckk

-- 
http://www.badmuthahubbard.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20071025/03c6a1c0/attachment.htm 


More information about the Linux-audio-user mailing list