[Jack-Devel] shm registry full errors

Paul Davis paul at linuxaudiosystems.com
Fri Jun 10 16:39:15 CEST 2016

client limits: i will leave the developer(s) of jack2 to comment on the
specifics. jack2 hard-codes more values than jack1.

the shared memory registry: you can't make its configuration a run-time
thing, because you'd have to ensure that the library and the server are
both given the same value.

MAX_SHM_ID is an operating system constant.

you are hitting the limit almost certainly because you are running far more
clients than JACK was designed to support.

every client with a process callback implies at least 1 extra context
switch during the process cycle. this does not and cannot scale with
contemporary operating systems and processors. context switches are cheap
but not free. doing hundreds of them per process cycle steals significant
amounts of time from what is available for actual signal processing.

On Fri, Jun 10, 2016 at 9:46 AM, marcin at saepia.net <marcin at saepia.net>

> Well I understand but what I observe is that JACK has unpredictable amount
> of total clients which is an issue, regardless if it's closer to 10 than
> 1000.
> I have found out at least 3 conditions that affect this:
> - compilation flags, which by the way may cause jack to segfault if they
> are set too high
> - parameter to jackd
> I suggest integrating this into one runtime command line parameter.
> M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.linuxaudio.org/archives/jackaudio/attachments/20160610/2f6d55db/attachment.html>

More information about the Jackaudio mailing list