Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF16DC0044D for ; Mon, 16 Mar 2020 10:59:07 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4362D20719 for ; Mon, 16 Mar 2020 10:59:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="VE1yL3ef" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4362D20719 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8D11A18AE; Mon, 16 Mar 2020 11:58:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8D11A18AE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1584356345; bh=wHy7kVu7tHJBbLB/pS1QYiy/VwvJpHAXx6myoo5+gqU=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VE1yL3eftCoBewteBATmHmikEwm1GXXPCWl/rJM0Q1ngnU65duDP6ggRerW/1H2e+ s60LlSphBOYpQcSGyEyf6SFuozF7EOAXm8ULkgX7X+nEX3CC+RXwIf4VgkbME9b89B XdkERRCl5zpRkdT2A1BKiBOjUAW9wK+wug3Z+TxY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 05089F800D2; Mon, 16 Mar 2020 11:58:15 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0AAABF8015B; Mon, 16 Mar 2020 11:58:13 +0100 (CET) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BB36FF800D2 for ; Mon, 16 Mar 2020 11:58:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BB36FF800D2 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E2B47AD79; Mon, 16 Mar 2020 10:58:09 +0000 (UTC) Date: Mon, 16 Mar 2020 11:58:09 +0100 Message-ID: From: Takashi Iwai To: Andreas Steinmetz Subject: Re: [PATCH 0/3] ALSA USB MIDI: Predictable low latency for USB MIDI output In-Reply-To: <294a0fe8277587a815b6b54abe539c94c8f5b11b.camel@domdv.de> References: <42a9a862efbc9cfdacc783f816f93340ccc58cec.camel@domdv.de> <294a0fe8277587a815b6b54abe539c94c8f5b11b.camel@domdv.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: alsa-devel@alsa-project.org, clemens@ladisch.de X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Mon, 16 Mar 2020 11:45:41 +0100, Andreas Steinmetz wrote: > > On Mon, 2020-03-16 at 09:42 +0100, Takashi Iwai wrote: > > Thanks for the patches and the analysis. > > > > So, judging from the experiments above, outqueue=1 has no measurable > > performance regression? For 4 ports, it's even an improvement. > > Then we may change the default value. > > > > I guess you kept the old value just to be conservative, but if the > > number tells a better story and it's no part or ABI, we may consider > > changing the default for a better performance. > > > > Or, is there any other potential risk by changing this? > > > I'm very careful here. MIDI based equipment (and that includes MIDI > interfaces) is typically very long lived (I do have equipment that is > more than 20 years old). Thus I cannot guarantee that changed defaults > will not harm performance of older equipment. > > I do prefer to keep the current defaults and allow users to, well, > experiment if modifications to the defaults do work and actually help > for their hardware. I would not want to break usability of older > hardware. OK. Unless Clemens has any objection, I'm going to take your patches as-is, then. thanks, Takashi