Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1657374rwp; Thu, 13 Jul 2023 14:31:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlG7nWPTb28HvA57/lQjlFvY3ZB4X5a9SxcD/NZdBoIxUzEwPNUJLv4zoh6kCF9n128BKa7T X-Received: by 2002:a05:6a20:d4:b0:12e:f6e6:882a with SMTP id 20-20020a056a2000d400b0012ef6e6882amr1920206pzh.32.1689283870962; Thu, 13 Jul 2023 14:31:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689283870; cv=none; d=google.com; s=arc-20160816; b=shgqraFG5KE6dNRRRxRrnD5W+Aqy3u/Kf3ukMD+LMn6QRWYugreZN7lpi9DlpZaL/d DkMlFuGK8ii+6aJ5QZXg88fJAmITcs0rf3ghbsLtclWebQTsrGrJdDkOjmfSX5DafZ4u HQGD9pWrsYbFp3QaocGHIbi4ELJinPxTbTDx69tmqjFGUCP5CBAiowGw6xpqOTnrhgNT OVdxe2jayXHDgfGR/S5D1zBlNCfXSTL0tqrmL1/JV76BPKvQiXX7u3id5wBNYpRXrfzF WHDbNeduLXt7lyDnPvR4UOinVOg68ob6lh7R1aLAJ7KT3aTuJxcjIF2ekOSKh9i1zOgk MuHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Z/IttjsBze5ahuFwJsEnZFfpYxMZScxw6nh+nXzlVRs=; fh=imt2nKUmSXkaNxA6IvwAOQp7Zx/Coe3nLD0Q3A2BPRQ=; b=Sh3/Wljatpv/ViX1pTVCuDhA1GgNq3M43tRVf5wDauR/wbyVSNqybLEUutmIsQxKT1 Ef0mcTGdkfBy/gTTm2UsgRW0fjusQp5QzI3IgD1Fw2SPDXzeg0SSiwmxjEcjNlbWqIAo 8WMdZ1M9QixBMEhnJk/Sh4LRdJ9dwO0DHCvo/ClGiUZkY8fjWEMQrCywxzUIO5k9sFLV dQIlYC09xWrM7BlQUk/aVTa77gTz9UFvTJvMiQSZdmI5Nv5IPTlEKNS6Uk7WtRl6YJfn +G4pZ/RIt9Of30u65d+ucF/8rM9wFzJ+jR70CQZofeT2WuRjObXg+rZcvvQ6rt2ln+Yo z7fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rcfugwaV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t33-20020a634461000000b005582ab00bedsi5841388pgk.387.2023.07.13.14.30.58; Thu, 13 Jul 2023 14:31:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rcfugwaV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234079AbjGMUje (ORCPT + 99 others); Thu, 13 Jul 2023 16:39:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231360AbjGMUjd (ORCPT ); Thu, 13 Jul 2023 16:39:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AAF01FD6; Thu, 13 Jul 2023 13:39:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6D5C861B43; Thu, 13 Jul 2023 20:39:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABC1AC433C8; Thu, 13 Jul 2023 20:39:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689280770; bh=bcGCwRJVwrgQUmowpebv9sF2MjE/I2LXNBy02Hig+sk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rcfugwaVYPELK2MrNRSx1ol4j53EGpoLc200cGY57A6R/HfhrpbktcU4PxE6Iqtu+ sQw6kTkRNBWbwj9j/jbsiR5rWTOUuMBeD9kNScMy7QIuyFniTsw+CWYdpqcqe9/NcF RDGDp04aRybvBEiSrAxAx+GETRHGBYlF1UXRBX6mTteq61Qx3d5WnolNFNs0ivtZOS 7Y68fMqEdQt08f8+NJDJwuTCFzwgiAYVhIW4WK1UAZK537A/gKhXRU8OHTw8yWC2bg vDvKkwxhvrYw5X+cIdpHKkhUWG8un420SxdISXhX12RwOYDFcAXHcp7MbQdJ5BK3h6 Knpqv23eRuZaw== Date: Thu, 13 Jul 2023 21:39:25 +0100 From: Mark Brown To: Takashi Iwai Cc: =?iso-8859-1?B?Ik7tY29sYXMgRi4gUi4gQS4i?= Prado , Jaroslav Kysela , kernel@collabora.com, AngeloGioacchino Del Regno , Shuah Khan , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 2/2] kselftest/alsa: pcm-test: Decrease stream duration from 4 to 2 seconds Message-ID: <66c81c16-737d-4ec6-b590-a6b1070b991b@sirena.org.uk> References: <443f697b-fecf-6e8e-0b76-65257aff7da8@perex.cz> <9069ad0c-d166-4620-a3de-a36ab233cab0@sirena.org.uk> <5c2d5213-5299-44f1-9611-26002c8a5d3a@notapiano> <87352krcz5.wl-tiwai@suse.de> <87wmzwptu0.wl-tiwai@suse.de> <06b8bfde-e4f1-48ea-aa3e-35d2fe5df046@sirena.org.uk> <87wmz8i746.wl-tiwai@suse.de> <87ef1544-c1aa-4cce-82f2-60c6f1c2b1c8@sirena.org.uk> <87ilaofb9s.wl-tiwai@suse.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rajlGC2kTISHyIRr" Content-Disposition: inline In-Reply-To: <87ilaofb9s.wl-tiwai@suse.de> X-Cookie: MOUNT TAPE U1439 ON B3, NO RING X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --rajlGC2kTISHyIRr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jul 13, 2023 at 10:47:43AM +0200, Takashi Iwai wrote: > Mark Brown wrote: > > # default.time3.0.0.0.PLAYBACK - 44.1kHz stereo large periods > > # default.time3.0.0.0.PLAYBACK hw_params.RW_INTERLEAVED.S16_LE.44100.2.16383.131064 sw_params.131064 > > not ok 10 default.time3.0.0.0.PLAYBACK > > # time mismatch: expected 2000ms got 2229 > > reliably (the actual time drifts by a few ms). The other boards I've > > got coverage of seem fine, and I didn't check any broader CI yet. > Interesting. With the current patch, we rather extended the margin in > proportion; formerly 4 sec +/- 0.1s, now 2 sec +/- 0.1s. And it > exceeded out of sudden. Right. > I guess this rather caught a problem of the driver itself. Well, there's doubtless something driver/hardware related going on but I'm not sure if it's a problem there or not. The results from the 4s runtime were: # default.time3.0.0.0.PLAYBACK - 44.1kHz stereo large periods # default.time3.0.0.0.PLAYBACK hw_params.RW_INTERLEAVED.S16_LE.44100.2.16383.131064 sw_params.131064 ok 10 default.time3.0.0.0.PLAYBACK so the same buffer sizes and so on, and the period size is only 10ms unless I miscalculated which should be quite a long way off from the 100ms of margin we give ourselves. It does seem a little suspect that it's the large periods test that's falling over though. --rajlGC2kTISHyIRr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmSwYPwACgkQJNaLcl1U h9AAjAf9G1zzfng/beUy+UkABu6GsH4CgzFwfSum/wi7FgrnLo8yNYSH8M5RU/qf dxoSuJF2Jf7glSBeBxFI+1lBUoEI0YmTuYez1QFQcdaOybZ1R0SgfrPFZ9sj6+14 vdSgMfk98QkgcnU0V0HHnUrSNkXP6Nd2y9hkukv6tTzEsICWnBLC8w4WS3qu92fQ Z65B7dti1tOCTydBPjirhzybNy8qm3xOgw+tdIBPvEM1HMgSSYcZQIm3r2Mk3+EK fEjhT0ol+azg2AvW/V78L/JaaeapItkoWfvB8VtI3IWFt1JjbjL0l3PoXQR4ZNGy Pc4j3nYqATnS6J9OsLLgMBWzYKt6xg== =9JRd -----END PGP SIGNATURE----- --rajlGC2kTISHyIRr--