Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp750509lqb; Wed, 17 Apr 2024 09:36:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV9udbebFUWbENJ8Kdmm+gWWGHv4J6e/L0EvAXqurY7XYsn0NnMJyqj6Q6c9gDuf03Rx9zm59vy1DZUqMAh0/J42ezXSVh29O3jQDViPQ== X-Google-Smtp-Source: AGHT+IHUhiKfSQU1A4pKAolWaISEWuhwYZFet7P3bGZD+1lrKvYnzCxRDAh3jZBcCBTMAvc6F3u3 X-Received: by 2002:a05:6a20:1053:b0:1aa:584f:31b1 with SMTP id gt19-20020a056a20105300b001aa584f31b1mr183110pzc.17.1713371764603; Wed, 17 Apr 2024 09:36:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713371764; cv=pass; d=google.com; s=arc-20160816; b=a6MTz8bJdgyPmK0C3k29/d9px8JjahOrFn845HNhgoWfDgXUWl5TFT5LVM16sAiOvy Jou3P6Xth0cNM+Ck8LQa5t5h6iv6ntGfsAUPUESViKxUZnRNOjemiPbW4jv9u9pwpmbF NKl+cXs/VICL4bEQAJRhTIrSWF8zX//yWSLyRuPQiTWYblLl9x2bXtWhNcr8j1LTuCit MlaP14qfMaKU2PlQqortvzqfW0B+WTY4/pGnz4tfZUkLCx1em7BRGu+7SR2zX6Ajcrzt vZWlcoYFKPOOUaNMevYiPiHls3ktupV6dydUIW4OPCd8GlI3xbfyYl1SQz52Irqs8vDe SsFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sBgO1HeGfnf4t8gDpreueBBw9AVGfTA+fEO+Fmmc/so=; fh=zrMhEy+22gx81vrxX7JauKEh5q0ak/OGhhAUKkuFF04=; b=nU2W7wyIz4EHjBsji+fVtNK2Gc7Tt3bVpjqrnp2Giz8z1yPaoQ3ujgOwF91WJiOHuu vQ6JFLZOp6QEYkHyXeU4tW0F2zpypHHJOceTInGd+c4zeYuFTrMbuCar0ioG/Xw1BQ5z nJfySoaW1kWc78F7yxifcdxtcVB608Wk/3ebeXn9pIZgRSxjqSZ37oHnn7S1XXp6Ouya ScRp1e4eLEK5AUMXRJOVbdsTXMOjMIbfTAJSbyYiDivQPL43QPPlUeKuP1E9mCsRxxEF +FzqY6Ci8stlFyVEWM9f8aB5jU3VX+xoxHqy5dn3TyY4e4k3y15s6DEAWmhIlP4iKbhe bQEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K4yCazdG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148891-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148891-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j12-20020a63ec0c000000b005f7537009e7si7453087pgh.770.2024.04.17.09.36.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 09:36:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148891-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K4yCazdG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148891-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148891-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4BD1DB24F90 for ; Wed, 17 Apr 2024 16:15:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 40A79148839; Wed, 17 Apr 2024 16:15:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="K4yCazdG" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6571F1487E2; Wed, 17 Apr 2024 16:15:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713370537; cv=none; b=LF4xZ0b0wqVjgiVErIZ0cS+iLEPmzusjKsw2MI49gGEFfXWh/oEGbBh8K5q+gHX4XfMxjL87wnxnirzl/th8pTTVv18KpYobuiB2ELWD/uZ0GmBTQ8Xv6CQUI380jSmTV7NoUwpbTcqqhv9OGKSQaG9qFr/zh34k8qiVtXYJ2B8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713370537; c=relaxed/simple; bh=FTzmG7MPyh44PqEdk5C7BCbIh1HKSVVdYFoDXul9zXo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=erxSDky6oJhoEMR+aM5Xra2ujpWNDw5H925w4JW+OJKHmcBDjtFXczQSZOUxJGdDHk+kmK++rWB/KQCBgw7lA8zJRdtYZdkEuBcnD79T34bhAg+Y56que4t50HRgdvkpHFpUlCvg39V81ubgmdyU7J9GbJnwR2SMLIXj+/t853E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=K4yCazdG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FDA6C072AA; Wed, 17 Apr 2024 16:15:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713370536; bh=FTzmG7MPyh44PqEdk5C7BCbIh1HKSVVdYFoDXul9zXo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K4yCazdGVtfBCjw8wIQJhHOx9X8gjbUTqm4NTsff6F+5rsMIhth6BK/sGLfu43Gk6 lJ011ARgfnxYojR/y86+K0q05tGYTGvUV2KyMQWP00Lnu4pNKcbrdYJPWTC6/QUyE0 xtdA/vyTDZ9R7jnEZL61wfx8UStwZwWr/WIadeC4hon79+bkk8BcYq+N46YVyXIheW +Qm92vbyG2duolQ9RIHp0rr/fGDEjAvTK7jHUHfEtYj2wrg9r4tkhj0gVFeYGjtolr 3Heyb9pFOU7Xf9RtmyTpM6ut68keRoVigGHBUvd0hWw9MOzxApzWf4TdNxloGW5Edc XPFe0g7i9LAvg== Date: Wed, 17 Apr 2024 13:15:33 -0300 From: Arnaldo Carvalho de Melo To: Anshuman Khandual Cc: James Clark , linux-perf-users@vger.kernel.org, Mike Leach , Peter Zijlstra , Ingo Molnar , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf test: Increase buffer size for Coresight basic tests Message-ID: References: <20240326113749.257250-1-james.clark@arm.com> <5a4023aa-af9b-48d2-84f3-a0b9b30dc54e@arm.com> <7f5c32dd-edc6-4b53-9cdd-780756f5536c@arm.com> <369b29bf-66d8-4876-ae0c-a35f3c46973e@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <369b29bf-66d8-4876-ae0c-a35f3c46973e@arm.com> On Mon, Apr 15, 2024 at 01:55:25PM +0530, Anshuman Khandual wrote: > > > On 4/12/24 13:52, James Clark wrote: > > > > > > On 12/04/2024 08:04, Anshuman Khandual wrote: > >> > >> > >> On 3/26/24 17:07, James Clark wrote: > >>> These tests record in a mode that includes kernel trace but look for > >>> samples of a userspace process. This makes them sensitive to any kernel > >>> compilation options that increase the amount of time spent in the > >>> kernel. If the trace buffer is completely filled before userspace is > >>> reached then the test will fail. Double the buffer size to fix this. > >> > >> This is a valid concern to address, but just wondering how did we arrive > >> at the conclusion that doubling the buffer size i.e making that 8M will > >> solve the problem positively for vast number of kerne build scenarios ? > >> > > > > Nobody else has reported anything yet, if it happens again we can always > > increase it again if that is what the issue is. I had most of the kernel > > debugging stuff turned on like memory debugging etc, which is probably > > why I ran into it and 8MB fixed it for me. So I'm not sure if there is > > much more that could be added. > > Makes sense, > > Reviewed-by: Anshuman Khandual Thanks, applied to perf-tools-next, - Arnaldo