Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp819303rdb; Thu, 15 Feb 2024 17:15:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXl0zr9Kl4GIuyb63KqMoYtiK7sOjlvsnanDdlZililk8Jvk8LrNea6BtbD1+lP8kHc3hrtEY7KjbCOv2hkANMylg6sYrp2PvmwJUo/5w== X-Google-Smtp-Source: AGHT+IF4gM9lF2nK9vCGH6sbGe0fZm0sYlL8c5RHXB/F64g6toZzJHQuISsCJ6ADUzWNHxargHtN X-Received: by 2002:a17:906:2791:b0:a3d:b150:2145 with SMTP id j17-20020a170906279100b00a3db1502145mr1463930ejc.40.1708046117087; Thu, 15 Feb 2024 17:15:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708046117; cv=pass; d=google.com; s=arc-20160816; b=IMgSD2EX83nb3V6thFqFCuKGs7U7ASr0tJGItb8q15rPqwMv38Eww9Bp9TjUldL9QD 8N0+BsaqFdwPAjxFisrq047PYFTs+vXXLzw+ltFSMmlJTdHoxs1S+qyyz4dW/rAmhYbY Fc9guB8D/mnLIn73PNhcCMRk138lOYrbRthL7YIkj8bVm4fajZFQGht2O7kfU/9Jx/BS 9Qk6e4XyscxPH65s2fm0wHgoTzOfZmnTPo0jy33zwoYN/WfpSiAxiYJ2iwyS7q5atlnf i4CH+FRYB6lRNqhFBrSIv6L1Z0/R1/d4KqWco6qaBg24XFcXXnNpiLIFRtCn9WeC1cEk pQLA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=lEO1Oc9FM3ZOYbA0NQJh7K+ek6qTDi64NW3cYNWhgBc=; fh=yAsR8mz6OHt7FqUIcMxTq2xSLRkYQrfOXi2SdkYqlko=; b=imkZLMCJ+eU/1X8XKG189pYZMCam/O3i0d8qrgslw5LstL0tUxMUGgmMWMfcJHaaSX /HRfWnsar5nArAqZQwciSun0q6lQ0i4XzNhopEMWFjrF9/3XgX3T6QH/ARku/FQSx23x vAZMPC5MEZW8C8A5rwTu0dVwU88gtPEpD3gf0FiwWHgKawheae5zxaxNVPIrZ56okqD5 ir3et/QzxI2XqnnaaqkOAv2CqFsAjywUuglGj+hsOTPuY1Mv/RZX7j6ByiK3HiP2u8fZ eE/RttB1NLVBVqvQmWf0Vwj8rNWEMIQuGrQm8N69FJ71L7Yo0Eu0J4n0hQtbAFKElxrt jyDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-67934-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67934-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id rh13-20020a17090720ed00b00a3cf0dd60f1si1132815ejb.107.2024.02.15.17.15.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 17:15:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67934-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-67934-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67934-linux.lists.archive=gmail.com@vger.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 am.mirrors.kernel.org (Postfix) with ESMTPS id CC1971F21617 for ; Fri, 16 Feb 2024 01:15:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88B70179AF; Fri, 16 Feb 2024 01:11:13 +0000 (UTC) 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 E175817991; Fri, 16 Feb 2024 01:11:12 +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=1708045873; cv=none; b=uWpHVoY4jRHcWz5DQf9bWm4ZtslKyYuSPHqOusEzweptyQIKri2FxjYGmH+NAriFTim8SXwG5VM5xuNKbvhRPrnf08HbNKk1hkDqf7vp8RnzMoGbOUb7eD3o/hmjn8h+F9K+HTlXVvZmFFQlOrXdqpLpFYuVHqDoJFuaSDtgbPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708045873; c=relaxed/simple; bh=oztQecXN6o6vKFvgQ7Cw0FO8kgeZTEB225WAZJbSFVc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=d2DYsxpCOnHXhOKOv5BbVWqN4iDTUYiwbiIUaKzPBzbbklhKpOcot0MqFJ70KACSSrXupx7OpYD5StI96JjM2nUWFy5/TBqbUDLE5NS9dFysp38yGo95cVjekkZIxmppTqs19P3b/qJrLNlD++9hav529QCWBogXD8+UsCVeXg8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C847C433F1; Fri, 16 Feb 2024 01:11:05 +0000 (UTC) Date: Thu, 15 Feb 2024 20:12:39 -0500 From: Steven Rostedt To: Kent Overstreet 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: <20240215201239.30ea2ca8@gandalf.local.home> In-Reply-To: References: <320cd134-b767-4f29-869b-d219793ba8a1@suse.cz> <20240215180742.34470209@gandalf.local.home> <20240215192141.03421b85@gandalf.local.home> <20240215193915.2d457718@gandalf.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit 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? -- Steve