Re: [LAU] jackd thinks it's got realtime priority, but it doesn't

From: Paul Coccoli <pcoccoli@email-addr-hidden>
Date: Sat Mar 16 2013 - 15:08:05 EET

On Sat, Mar 16, 2013 at 9:03 AM, Paul Davis <paul@email-addr-hidden> wrote:
> you've fallen for a classic mistake when using ps(1) on multithreaded
> applications.
>
>> [paul@email-addr-hidden ~]$ ps -p 20370 -o cmd,class,pri,rtprio
>> CMD CLS PRI RTPRIO
>> /usr/bin/jackd --realtime - TS 19 -
>
>
> jackd runs more than one thread. your use of ps(1) shows only the initial
> thread, which is not RT.
>
> --p
>

D'oh! I knew I was doing something wrong.

[paul@email-addr-hidden ~]$ ps -Tp 20597 -o cmd,class,pri,rtprio
CMD CLS PRI RTPRIO
/usr/bin/jackd --realtime - TS 19 -
/usr/bin/jackd --realtime - TS 19 -
/usr/bin/jackd --realtime - FF 60 20
/usr/bin/jackd --realtime - TS 19 -

Pretty embarrassing since I work on a realtime multithreaded app every
day. Sorry for the noise. I'll go get more coffee.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat Mar 16 16:15:03 2013

This archive was generated by hypermail 2.1.8 : Sat Mar 16 2013 - 16:15:03 EET