[LAU] unable to set scheduling priority with rt kernel

Chuckk Hubbard badmuthahubbard at gmail.com
Mon Oct 29 17:54:25 EDT 2007


On 10/29/07, Florian Schmidt <mista.tapas at gmx.net> wrote:
>
> On Monday 29 October 2007, Chuckk Hubbard wrote:
> > On 10/25/07, Florian Schmidt <mista.tapas at gmx.net> wrote:
> > > Well, if chrt works now without sudo, try running
> > >
> > > jackd -R -P 70 -d alsa ...
> > >
> > > again. It should work now, too..
> >
> > Update: I just discovered that running jackd -R -P 70 -dalsa -P -p256
> -n2
> > -r44100 as ROOT doesn't even set priority 70.  jackd then runs as a root
> > process with priority 20, according to both chrt and top.
> > Apparently my system is not able to run anything higher than 20
> priority;
> > does this mean my kernel is misconfigured, or might it be something
> else?
> > -Chuckk
>
> install htop
>
> run it
>
> press f2 [setup]
> -> Display Options
>   -> uncheck "Hide userland threads"
>   -> uncheck "Hide kernel threads"
>
> Do you see all 4 jack threads now?


Woop, there it is.  Thanks.  I see 5 actually, one -71, one -81 (watchdog?),
and the rest 20.  Running Csound with its --sched=N flag, I also see two
csound processes, one of which is -70 and the other 20, no matter what value
I put... time to take that up with the Csound list I guess.

Thanks guys.

-Chuckk

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


More information about the Linux-audio-user mailing list