Re: [LAU] Jack 1 vs. 2

From: Peter P. <peterparker@email-addr-hidden>
Date: Fri Feb 05 2021 - 10:43:07 EET

* Fons Adriaensen <fons@linuxaudio.org> [2021-02-05 00:12]:
> On Thu, Feb 04, 2021 at 04:31:05PM -0600, Brent Busby wrote:
>
> > It's usually said that Jack 2 is optimized for SMP
>
> 'optimized for SMP' is somewhat misleading.
>
> If you parallel paths, e.g
>
> A -> X -> B
> A -> Y -> B
>
> or even as simple as
>
> X -> playback
> Y -> playback
>
> then Jack2 will run X and Y at the same time if you have 2
> or more CPUs, and Jack1 won't do that.
>
> Another difference is that Jack1 sometimes runs clients out
> of order - it uses the wrong algorithm to compute this.
> For the first example above it could e.g. run X before A.
> In many cases you won't notice the problem and that's why
> this remained undetected until it hit me. I wasted a lot of
> time trying to find the error in my code, until the only way
> to explain things was to assume that Jack1 was the problem.
> Patches to fix this (and some other problems) were rejected.
>
> Otoh, I never managed to get even a minimal understanding
> of Jack2's code, it's the sort of C++ that I prefer not to
> touch.

Thanks for this nice explanation Fons! Now which version are you using
in the end? Have you reported a bug report which I could read to
understand the problem better? Are you able to compile your own jack1
with your patch(es) applied and does it fix your problem?

cheers, P
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sun Feb 7 04:15:02 2021

This archive was generated by hypermail 2.1.8 : Sun Feb 07 2021 - 04:15:02 EET