Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2854013pxb; Fri, 8 Oct 2021 17:23:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBgl4ovVhYw7RvH86phPZwD9cCjaJEQNJxIzzb0mnhkrBFL9sU6YaLmYn+lKOCwXhwM0uK X-Received: by 2002:a50:9347:: with SMTP id n7mr18721265eda.249.1633738992925; Fri, 08 Oct 2021 17:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633738992; cv=none; d=google.com; s=arc-20160816; b=wKPd/9my1t9E9zEd1AhYwxML0t6n0sSCZo6O+L5pv/Glx+mlPWS2h77waPHnTe3d7X Dc7nxndoZkqZrN0HBmpcH/owcBaEqxt0vdon+yvjrirhwATT4oFMw6ugcPV2PkqFzDie K/XOszcgqI/NBjXuQE4siDgbwOC4eGdKTVm4phCXFRCDaMpBhpCqnf17Zkgx+wEbOdJz TsKS76l3UQdKRgaHi/+DvfEsbv1rHnPKOplbsEaC1PzPMQC+oiZBr+ifxgoXv9KCjFZp BSbgb4MjMofRJUNjitAnq5XROvDyQEs/IGj8FDfYfRQ2d4mBtoFouqTHGqgcf2MUPUYI m8Aw== 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; bh=sMDf7hZDw/SLRTVYtmW3vIr0jBfWa0G7qeOSfdyWm5s=; b=GHilUg0C0JgMexjcF2xlKUhaORoRuliLQC+nQzorn0oiRFdaNlX4vgMTkiVouha0DJ hz9k11VF7lKPdknh7q0mAMomBL5d/r3HbRPfg1LdkR71QBzVdj6OTBsdigP8ONdlMzlL /aGwgNbdYxW6Lnl4ns4XSh+RfnUX3ukqpgv1bXyI7s0kW875zaCrx7T39Ux16EwZFEe2 JiUAU9qDLOUcxcq7ZO7/FeNW22k8Ary/tBllfVey+twnD6Pu/ARRPVN8G9PUAp3bAXy6 eE7SfHwTJ0m06wYbbBZDPk6h5G6hC5EDXTJvwc6riTk1UnD8TLt5kaCueVvkFBM6FXU/ W8LA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si1201367ejx.695.2021.10.08.17.22.50; Fri, 08 Oct 2021 17:23:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243980AbhJIAXa (ORCPT + 99 others); Fri, 8 Oct 2021 20:23:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243892AbhJIAX3 (ORCPT ); Fri, 8 Oct 2021 20:23:29 -0400 Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A881C061570 for ; Fri, 8 Oct 2021 17:21:33 -0700 (PDT) Received: from grubbs.orbis-terrarum.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 233063430EF for ; Sat, 9 Oct 2021 00:21:30 +0000 (UTC) Received: (qmail 561 invoked by uid 10000); 9 Oct 2021 00:21:29 -0000 Date: Sat, 9 Oct 2021 00:21:29 +0000 From: "Robin H. Johnson" To: Steven Rostedt Cc: "Robin H. Johnson" , Peter Zijlstra , linux-kernel@vger.kernel.org, mingo@redhat.com, rjohnson@digitalocean.com, Arnaldo Carvalho de Melo Subject: Re: [PATCH 1/2] tracing: show size of requested buffer Message-ID: References: <20210831043723.13481-1-robbat2@gentoo.org> <20210907212426.73ed81d1@rorschach.local.home> <20211007071151.GL174703@worktop.programming.kicks-ass.net> <20211007092358.65152792@gandalf.local.home> <20211008181348.4c2488b7@gandalf.local.home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kfJPulgMX8wmlwUv" Content-Disposition: inline In-Reply-To: <20211008181348.4c2488b7@gandalf.local.home> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --kfJPulgMX8wmlwUv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 08, 2021 at 06:13:48PM -0400, Steven Rostedt wrote: > On Thu, 7 Oct 2021 17:26:04 +0000 > "Robin H. Johnson" wrote: >=20 > > I was trying to think further what would make sense for the constant. > > - What are the negative impacts of a too-large value? > > - Is there demand for more reconfigurability?=20 > > - Should PERF_MAX_TRACE_SIZE be a knob in Kconfig? >=20 > One thing you haven't discussed was, have you hit this warning, and if so, > what were you doing? Ah, I covered that in patch 2/2 in the original series, which discussed why I was raising the limit, and how I came to the 8K value for PERF_MAX_TRACE_SIZE. https://lore.kernel.org/all/20210831043723.13481-2-robbat2@gentoo.org/ To summarize here: $work requires that all employees run endpoint security software from SentinalOne [1]. I can see that it uses trace/perf stuff to dig deeply into what's taking place on the system. Something in my personal setup/configuration, leads to SentinelOne getting large perf backlogs during heavy workloads, primarily when I'm doing deep things with containers (esp with tun devices inside containers). I haven't been able to narrow it down much more than that, and I don't have the source to SentinelOne at all. It does feel like SentinelOne either has a leak of some sort, or gets a backlog of work that takes a noticible amount of time to clean up. [1] https://www.sentinelone.com/ --=20 Robin Hugh Johnson Gentoo Linux: Dev, Infra Lead, Foundation Treasurer E-Mail : robbat2@gentoo.org GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136 --kfJPulgMX8wmlwUv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Robbat2 @ Orbis-Terrarum Networks - The text below is a digital signature. If it doesn't make any sense to you, ignore it. iQKTBAABCgB9FiEEveu2pS8Vb98xaNkRGTlfI8WIJsQFAmFg4IhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE RUJCNkE1MkYxNTZGREYzMTY4RDkxMTE5Mzk1RjIzQzU4ODI2QzQACgkQGTlfI8WI JsQkxg/9FGbga4N7gVcD8JEyxEfYtKNreVCaoc8FuLNZeDXb7c76pngLj/B55uYK ztbA4pR+jY4LnyC7xNRWQZ9H5EcqU8Q8WibS7ULKFk6W0Y3DwL7WOMZe5PFeJVkQ krwN5qlkTNeTDmKlvTMVRK/reRmz+Z2XjXAJCiYGAdXyb3H6dQKIlNgLbTpeUYA9 kZwAaZrZzkHlbF4kbhaKSFFXSeyoQvc8O6W8TzSXB2WmsO38a0Y/N33sUayHq2du PC/Xcd3QISHIsLt7LkL7QfWyLRDsTVdQXlvgK+wMa/HOwEyezjzZuDI3pWKVCBQJ T7gNJphwiz9a71mVZe5f5JEO8gk5cjFNOa28CtM/AKSUDwhRb62esZSzGwB0trne TfhJnymCg2MKimeEVUAbDp7LxyrjQckcr+O4/0bb5ivkns6QXRftFojsDLUPx4B2 whRW+ul0sYnl4DqgOdb6o2GXdf5xJdFo2DiJ9XQs8BZAPKBsjJLGjp6B6OOL6ZRp tNEbwyJn/hh7eibyhawwbPL+bPWHCg4vX2Qag7hJ7g8P0eGU/idil30SrBDD+sfY fk0SYGFWXKWGkiSHn09BkRUWrC6huDY5blPwj57YrQ1w2U5sE3pGD/gnlrxjNuu8 VVPp6rbU638MRBWgcTRky4v8CqrXp0/iGx8VEOnUV3bdedmfgRs= =G1v3 -----END PGP SIGNATURE----- --kfJPulgMX8wmlwUv--