Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp820620rdb; Thu, 15 Feb 2024 17:18:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX1GKF/FjYYrl+MgYMP7R2QJ//4uHw+13Y3D9aWLMQHfMGXytHC3r99k3653xpdvuuHtZxZ3cYpqn6Ti9tETj1fWxfu8DV5myN22GjQ4A== X-Google-Smtp-Source: AGHT+IGQUC7dnEGP6aSgZIDzjN6CXf0KTiP7ZfaqZ9KIyLW4eygJOSDbVj+QOQHvqu03MHfp3NNs X-Received: by 2002:a05:6870:164a:b0:21e:96e:504d with SMTP id c10-20020a056870164a00b0021e096e504dmr3893576oae.47.1708046315131; Thu, 15 Feb 2024 17:18:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708046315; cv=pass; d=google.com; s=arc-20160816; b=oiZOKaDtPghpyX5h9oabStLGe+Rnu02xCeR1CQ4bxWdswiXex0Hz1TSzUXKuBV1QBJ 19UuSIxyOiJpWZsZfgxqHABhOid0NH6tkpZe3TXhklYXHIsBEcjiqsZZqN4xKIE3RHbk io3MbWEEi8IpAMJOF+Tp0NJwuVRg2GxyC+7G8A9iTfWRtvrJRl5cZTQV3i1TZHEjItYk /s6O5+vSCHQt9x5J2U3TI1Jw0P71fZ0jyEqzFEVO4OS7AM6WMiN69t4o67nbZBadcRWo pWyF7fBpN6r2OsnmZv3XEwGo7s5krEJQm/g60XlMQyGj0EmFNZv6JeH1FIp2Uh7mBlhk KQmg== 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:dkim-signature:date; bh=bAMs9Q6+KFAg+NYYq7o0yZrwECRUxYPjpxPWeQP60LM=; fh=OiwBIvYIPHGDMdlNleqgT10F8L7VFJzUbQ6V59nSWw8=; b=LOHbQ5F1YI8zTf88qxU7kgvQMS6TTX+ZpmpGVtvpc2xPyweKGtCLf2+IgeZLVERuoT o9+1hnTHPhIJLrePPCZH7+syLf3Srr3EiI3C6K8wr4S4JhYeMaZq2BTBvSKkS+Qmf3Ez VUv26bHYgYNET+i7OCxI/WgnGSk0d48XvjAssoo1H8U2pqsSwut5KHLi72fp1I1/xa4w WemaSf8a+JoJYcPO51zveDb4nC1stZewJ0CaFm/+zqnLOT6Tvidr+rfIZ/2k1nGvCg6R 6Vp5GwXyPzyUbWmnTjyGUGeXVVglfci8IjT3KZUgLXlKwwkuVpH34Id7LXQVvELg/Xjb 8yvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=VvLy9G9e; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-67938-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67938-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e36-20020a631e24000000b005dc962cfb59si1973859pge.350.2024.02.15.17.18.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 17:18:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67938-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=VvLy9G9e; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-67938-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67938-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AA5462819B9 for ; Fri, 16 Feb 2024 01:18:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE2DBDDD5; Fri, 16 Feb 2024 01:18:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="VvLy9G9e" Received: from out-175.mta0.migadu.com (out-175.mta0.migadu.com [91.218.175.175]) (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 8BE5EC2ED for ; Fri, 16 Feb 2024 01:18:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708046306; cv=none; b=qmpDJw/qD4J5gypOnJ99WIDDLTPG2U7tRVihYVJBUMsV9ZCsFH2WjWBn1Nhv110ZELtGc1l5o/c9PRzBCI6LhTqBNjwUoC5j0rQsUvE6koDw0wSYCI1AnzdzkCSp5ZkDICnWkwhjQaCmz2JSgiuNCrj93F4q/BzEBPnyOpsayp8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708046306; c=relaxed/simple; bh=SImHmNOJ0uQjKIEfS74x0xc8FDTiX10aCgs9NMy9nsY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZcZdssCqF8CfSv9ye9xB3noqFfvSyEBG3th84+Sa5QJ9QoX0wGbS7vXYwQ94ZSHXIDcwd9uUKQptICuilPf8mMZtAV2QKDND+sqQhc6P0FM+l8618s5fY2b8VuiIyGRPDgrDPiUoCu6sTuOEtfHRKBvcuNm8Vk+b1aZpMR05Tq8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=VvLy9G9e; arc=none smtp.client-ip=91.218.175.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Thu, 15 Feb 2024 20:18:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1708046301; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bAMs9Q6+KFAg+NYYq7o0yZrwECRUxYPjpxPWeQP60LM=; b=VvLy9G9ezGuxGOd+eP1RYU4I0249ljs+D9z76x6+dgFg9CGUGAv2/TUEwSPhw6sps6gWmy i2lwoAFKg305ldYV+64iAQFT6IXMszfpijuEy7fIEEMnaOksDPcJWnmhp9kryevhjS0CXB JgOIZ/GAeqjz5/+7AuLvC8lRNIMvI3s= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Steven Rostedt Cc: Vlastimil Babka , Suren Baghdasaryan , Michal Hocko , akpm@linux-foundation.org, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, dennis@kernel.org, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, keescook@chromium.org, ndesaulniers@google.com, vvvvvv@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, shakeelb@google.com, songmuchun@bytedance.com, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org Subject: Re: [PATCH v3 31/35] lib: add memory allocations report in show_mem() Message-ID: References: <320cd134-b767-4f29-869b-d219793ba8a1@suse.cz> <20240215180742.34470209@gandalf.local.home> <20240215192141.03421b85@gandalf.local.home> <20240215193915.2d457718@gandalf.local.home> <20240215201239.30ea2ca8@gandalf.local.home> 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: <20240215201239.30ea2ca8@gandalf.local.home> X-Migadu-Flow: FLOW_OUT On Thu, Feb 15, 2024 at 08:12:39PM -0500, Steven Rostedt wrote: > On Thu, 15 Feb 2024 19:50:24 -0500 > Kent Overstreet wrote: > > > > All nice, but where are the benchmarks? This looks like it will have an > > > affect on cache and you can talk all you want about how it will not be an > > > issue, but without real world benchmarks, it's meaningless. Numbers talk. > > > > Steve, you're being demanding. We provided sufficient benchmarks to show > > the overhead is low enough for production, and then I gave you a > > detailed breakdown of where our overhead is and where it'll show up. I > > think that's reasonable. > > It's not unreasonable or demanding to ask for benchmarks. You showed only > micro-benchmarks that do not show how cache misses may affect the system. > Honestly, it sounds like you did run other benchmarks and didn't like the > results and are fighting to not have to produce them. Really, how hard is > it? There's lots of benchmarks you can run, like hackbench, stress-ng, > dbench. Why is this so difficult for you? Woah, this is verging into paranoid conspiracy territory. No, we haven't done other benchmarks, and if we had we'd be sharing them. And if I had more time to spend on performance of this patchset that's not where I'd be spending it; the next thing I'd be looking at would be assembly output of the hooking code and seeing if I could shave that down. But I already put a ton of work into shaving cycles on this patchset, I'm happy with the results, and I have other responsibilities and other things I need to be working on.