From nobody Tue Aug 20 16:33:20 2024 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WpFQL38c0z5TQHD for ; Tue, 20 Aug 2024 16:33:30 +0000 (UTC) (envelope-from dev@submerge.ch) Received: from pianosa.iway.ch (pianosa.iway.ch [IPv6:2001:8e0:40:325::37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WpFQK2w73z4Bj3 for ; Tue, 20 Aug 2024 16:33:29 +0000 (UTC) (envelope-from dev@submerge.ch) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of dev@submerge.ch designates 2001:8e0:40:325::37 as permitted sender) smtp.mailfrom=dev@submerge.ch Received: from pianosa.iway.ch (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 6A06BE07D5 for ; Tue, 20 Aug 2024 18:33:21 +0200 (CEST) X-Iway-Path: 0 Received: from localhost (localhost [127.0.0.1]) by localhost (ACF/11471.5077); Tue, 20 Aug 2024 18:33:21 +0200 (CEST) Received: from interway.li (sendai-sued.iway.ch [212.25.24.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pianosa.iway.ch (Postfix) with ESMTPS for ; Tue, 20 Aug 2024 18:33:21 +0200 (CEST) Received: from [145.40.196.39] (account fw@submerge.ch HELO z240.localnet) by sendai-sued.interway.li (CommuniGate Pro SMTP 7.1.0) with ESMTPSA id 248249408 for freebsd-multimedia@freebsd.org; Tue, 20 Aug 2024 18:33:21 +0200 From: Florian Walpen To: freebsd-multimedia@freebsd.org Subject: Re: Making OSSO default JACK option Date: Tue, 20 Aug 2024 18:33:20 +0200 Message-ID: <3171426.ZmR5Pbtf01@z240> In-Reply-To: References: List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@FreeBSD.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.90)[-0.901]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:8e0::/32]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:8758, ipnet:2001:8e0::/32, country:CH]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[submerge.ch]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-multimedia@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-multimedia@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4WpFQK2w73z4Bj3 Hi Meka, On Monday, August 19, 2024 3:42:42 PM CEST Goran Meki=C4=87 wrote: > Hello, >=20 > First and most important, all kudos go to Florian for doing amazing work > on JACK and his new audio library: OSSO. Before building JACK with this > option, Ardour showed DSP 90ish percent busy. With OSSO, it's around > 12%. Naturally, I am more than interested in making it a default port > option, so I just wanted to report my findings. Nice to hear that it's working! The option is called SOSSO BTW, but OSSO(BU= CO)=20 would sound yummy too. Just to clarify, the high DSP busy percentage was=20 probably not due to CPU load, but caused by timing difference between playb= ack=20 and recording channel IO, and OSS buffer restrictions. One of the achievements in the new JACK sosso backend is the decoupling of= =20 JACK period from the OSS processing interval. The mmap'ed IO and a rigorous= =20 progress measurement let JACK and OSS process at their own pace, without a= =20 huge buffer that hurts latency. This way it also gets rid of the timing=20 dependencies between playback and recording. With some assistance from the kernel it should be possible to simplify the= =20 progress measurements and implement the decoupling method in other sound=20 servers and applications on FreeBSD. We'll see how that goes. As for JACK, I'd like to get some more feedback before we turn SOSSO into t= he=20 default option. But I did hear you ;-) > I would like to thank > you for the timing, too, as I have a album recording that's waiting for > me. :o) Good luck and success with your album recording! =46lorian