[ardour-users] Jack RT and watchdog thread

David Causse nomoa at wanadoo.fr
Mon Aug 28 08:46:46 PDT 2006


Hi,

I recently switched to a patched version PAM able to use rt_priority in
limits.conf.
I launched jack and got a warning that it was unable to set priority
(this value was X+10 with -P X).
I looked at the code and I found that a whatchdog thread is started
like that but if it failed to set the priority this thread has normal prio
and jack doesn't failed isn't it dangerous?

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
5272 moino     19   0 22604  22m 4820 S    0  2.2   0:00.01 jackd
5273 moino     18   0 22604  22m 4820 S    0  2.2   0:00.00 jackd
5274 moino     16   0 22604  22m 4820 S    0  2.2   0:00.00 jackd
5275 moino     16   0 22604  22m 4820 S    0  2.2   0:00.00 jackd
5276 moino    -71   0 22604  22m 4820 S    0  2.2   0:00.98 jackd

this was done with rt_priority set to 70 in limits.conf and jackd
started like this : jackd -R -P 70 -d alsa.

PS.
LD_ASSUME_KERNEL=2.4.19 does not work anymore on my
system. How can I check if I'm affected by the bug with
SCHED_FIFO threads? It seems to work...

Sorry for posting to this mailing but I cannot subscribe to jack mailing.

Thank you.

David.




More information about the Ardour-Users mailing list