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

From: Chuckk Hubbard <badmuthahubbard@email-addr-hidden>
Date: Mon Oct 29 2007 - 18:21:06 EET

On 10/29/07, Lee Revell <rlrevell@email-addr-hidden-job.com> wrote:
>
> On 10/29/07, Chuckk Hubbard <badmuthahubbard@email-addr-hidden> wrote:
> > 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?
>
> jackd is a multithreaded process, you can't just look at the priority
> of the main thread, you have to check all of them. It should have
> some SCHED_FIFO threads and some SCHED_NORMAL threads.

Interesting, I'll have to keep reading until I find out how to do that.
But is it normal, then, that chrt -p 70 `pidof "jackd"` would set rtprio 70
but jackd -R -P 70 etc. wouldn't?
Which is to say, if chrt can set the main thread priority, why not the -P
flag?

-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 Mon Oct 29 20:15:07 2007

This archive was generated by hypermail 2.1.8 : Mon Oct 29 2007 - 20:15:07 EET