Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2503594rwa; Mon, 22 Aug 2022 08:42:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR6jzn8L9Tue9qfX0c4Lc0RXMPLLXcRlbulqlF7WyzSAfpOxhNEWM7PyaIWVVgJd+b88bCj/ X-Received: by 2002:a05:6402:5208:b0:446:a318:5338 with SMTP id s8-20020a056402520800b00446a3185338mr6496190edd.343.1661182970344; Mon, 22 Aug 2022 08:42:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661182970; cv=none; d=google.com; s=arc-20160816; b=0m3+NHpetE4VccZjggUdepWsT+eJnJxRmxCpISE7kyU6n79VgnVVPRLKUvmKqzg5Kv e+jQF8VWcw8+ButnTE+dNv5TVF/bxdV3cGG8SZAXYFyEFvsw5FxHL0TxY8O5MnrMfZqm qO+agJ/I3S5iAQNB84S1qZ0s68j2/IOoCNqd2deQQo7nj61eqCpcgwlHfa2vIWJWaQjI T0KOFan93AjI1+PBsJMO+qkla+lWwnv7l0mE9856vQ0CLX0y3dwUkmb7uA7CoTCqkZng PpeUhktuetLuuXxsW2UH6ckpK00L0sxT10F4pFUvFBQiDIJNrJPoNH/bpOGmhENk8uoY 376w== 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=IOL95PlZNCLCsOY6utFi2W/Xy/Ym149lDYmmjkIy+6w=; b=RkJQ9fDkvMwefS2+SN0udicgPljRDBFRpBHH+XS9HXQuUt6KV019LUyTJ2QiyCJKBM Br4Ji9ERYNxJDoO00WNc35CFGxkpfpg/n1NRLICaql5XoBpfHCuxRBHTRKtMbyGWouCz oTGi2x/hIJ1dBHHjTBkFtZ/kQhr/69XWeU9D/CKxxSXOKlC9vzoiyfyGvuppyUkfI+R7 w1No1tIJMkuVZm8AyU6GAImjW5wyiVWJ7mFUwUHKL1tokwbqwjrwU1Nafw9NoUgOh8J/ zstFyLJdhfW8IVIQuwqxA5H63yp8OT+Px+EjlUFAo8MrzSCXbEL2FL6Ln0eoWONR0im5 gBNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=IyPmTXek; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb29-20020a1709077e9d00b006fe8b1baec0si10140403ejc.709.2022.08.22.08.42.21; Mon, 22 Aug 2022 08:42:50 -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=@suse.com header.s=susede1 header.b=IyPmTXek; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235136AbiHVPZy (ORCPT + 99 others); Mon, 22 Aug 2022 11:25:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236666AbiHVPZO (ORCPT ); Mon, 22 Aug 2022 11:25:14 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AA34165A0; Mon, 22 Aug 2022 08:22:41 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3EA0234EC1; Mon, 22 Aug 2022 15:22:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1661181760; h=from:from:reply-to: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=IOL95PlZNCLCsOY6utFi2W/Xy/Ym149lDYmmjkIy+6w=; b=IyPmTXekZSgWSkO6Ocsaaa4F+Y02G7+M18vOfVuoh4O3uhBJCD8ZH+1cqZlJvU4jdFniPV 9+6meGNjoDCFPRwnCdenjrggEsrFSguaiYkCMCf7WB5JEZeWwxuWtvsr/QLy/Rh9Ra7NOj 1bM9pHRZwOq3dMJhfmvKE6DStQ+y0DI= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1B6551332D; Mon, 22 Aug 2022 15:22:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id hvFvBECfA2PAFgAAMHmgww (envelope-from ); Mon, 22 Aug 2022 15:22:40 +0000 Date: Mon, 22 Aug 2022 17:22:39 +0200 From: Michal Hocko To: Shakeel Butt Cc: Johannes Weiner , Roman Gushchin , Muchun Song , Michal =?iso-8859-1?Q?Koutn=FD?= , Eric Dumazet , Soheil Hassas Yeganeh , Feng Tang , Oliver Sang , Andrew Morton , lkp@lists.01.org, Cgroups , Linux MM , netdev , LKML Subject: Re: [PATCH 3/3] memcg: increase MEMCG_CHARGE_BATCH to 64 Message-ID: References: <20220822001737.4120417-1-shakeelb@google.com> <20220822001737.4120417-4-shakeelb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 On Mon 22-08-22 08:09:01, Shakeel Butt wrote: > On Mon, Aug 22, 2022 at 3:47 AM Michal Hocko wrote: > > > [...] > > > > > To evaluate the impact of this optimization, on a 72 CPUs machine, we > > > ran the following workload in a three level of cgroup hierarchy with top > > > level having min and low setup appropriately. More specifically > > > memory.min equal to size of netperf binary and memory.low double of > > > that. > > > > a similar feedback to the test case description as with other patches. > > What more info should I add to the description? Why did I set up min > and low or something else? I do see why you wanted to keep the test consistent over those three patches. I would just drop the reference to the protection configuration because it likely doesn't make much of an impact, does it? It is the multi cpu setup and false sharing that makes the real difference. Or am I wrong in assuming that? -- Michal Hocko SUSE Labs