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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 16, 2013 at 9:03 AM, Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> wrote:
> you've fallen for a classic mistake when using ps(1) on multithreaded
> applications.
>
>> [paul@watt ~]$ 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@watt ~]$ 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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux