Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1176309rdb; Fri, 20 Oct 2023 10:23:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESfjTXmrCH+ORPcxoqoimbbERC6nRSNV1d1BJ6iUXQ0b7zPVu7q3nEbc7JDUWM1lL/ERFx X-Received: by 2002:a05:6a00:158d:b0:693:3783:4a29 with SMTP id u13-20020a056a00158d00b0069337834a29mr2429929pfk.20.1697822628927; Fri, 20 Oct 2023 10:23:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697822628; cv=none; d=google.com; s=arc-20160816; b=B+Lipla4Feg3lpUbAivGNZ/PI6dy4Ir+dmM+wnXSkazfmCixHk3wJQ8QXPEV2zpCt2 3nwQ6OE53kwp6hHCLgw7mjyDu7AcMP6tt77Ayr7BI7eMdFmr4tX7Amu7rd3Grc5WhNW9 9ENP6G4A8DidWyeTduwhWIN075a6dVUI5YhWB+j8QVKttAdGem2LvvskojqQpJupA4lP sZvjXY1A67u12YDpk+4rKJUTqF+veY9Jf1LRPVbnZdAyhfR1eW7ASPgnIPfogc6x1/gD 2LoncwDGp4yVtrXR7eJ2nPCx/QxFN9StOwnFDdYTXLsAHJnJ/YoJ+9y0Gb8qcnwk+eVU qepQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=bZExr3HakSu/t70XqjHC6rrKDB2IMk8Lwf9XEJ5+nuo=; fh=bZb8zhzLumFKl1U84u3RB7h2DUVc7OFlsKHP697rgHc=; b=SCkYTLPHxXrC9QcafIQJ/l09qJuKE5LROR2PktW+1EnvaNnXPbYQULCoo6gTypWwpt GNlHmqXmEtDaR1XoVOXog4hq0VkEBjcLOCfl/1S3IlYv4s8Lk4KSQKGu1FQEbfD4ve8o sTutSfYs4vVR17fTNc1TVl8KCPWhea7dBtX86QtysMp1po4DY+WbOQ1k+bWBcOi+ABtp 8N4hf8hZBPRrQNHHqJuFtf8gHAPKF0+Ua7HjMONiWoAqBBiuTrxFv2gy2CX6ROJkfowC Un9YC94E4gSsWtXN4Qi9Soo+nFgA+wYHGUnnx76LNXxsiXt2JpURGNU27MU9Ygie3GQ9 fiKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=CI82VHtc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h7-20020a636c07000000b005b3b86ab19csi2262490pgc.107.2023.10.20.10.23.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 10:23:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=CI82VHtc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 528248311BC7; Fri, 20 Oct 2023 10:23:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377972AbjJTRXi (ORCPT + 99 others); Fri, 20 Oct 2023 13:23:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377927AbjJTRXc (ORCPT ); Fri, 20 Oct 2023 13:23:32 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DFF3D6F for ; Fri, 20 Oct 2023 10:23:29 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1c9c145bb5bso7675ad.1 for ; Fri, 20 Oct 2023 10:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1697822609; x=1698427409; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bZExr3HakSu/t70XqjHC6rrKDB2IMk8Lwf9XEJ5+nuo=; b=CI82VHtcbHQz1eluwUb+gNbXVXCSsdxOESmINb/FvOWZ+zA/Ouuw2s6JcjSU0voXs8 +W6POwmug/ybwurWHHa7HzNWPgf5Q2OL4piXwjh+4cliEZeKtVTVD0F9pkrF603Yd59J NK8T51kQ/2UGd9/gjI9ETIsC1SnXNuMs9Qct2Sk8oFNKodpUCQPZF2y9KcyQYa/eXFlO Dmkhdr2HaZ49iD4/Ndisy7tUI0G3EAr2aJGMb1yjvD7Plma124MDklD7ELrtJq/mFGk6 tauF2Gko514Zg9jxDGHN2KKXp5IyQEhSOn6u1OSxcbAXUBg+WaPYeJ+INOGC6TvJylsh y7ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697822609; x=1698427409; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bZExr3HakSu/t70XqjHC6rrKDB2IMk8Lwf9XEJ5+nuo=; b=IomdnP2quE4p32ddY7sUJvS6AYHL+AFg72KiKy/3P7zMhLC25ehKenH5rwIBFnu/RJ YSIaFkwf6jREguWkblfVWK59iPMMW5JLCPJzn5yBRc3qYuYMJXW+/zkVw5AVotdnUJye 6RteODNzh2+UUybR5LPpyoYE+Uag1eLEP0O7+oy0wpy9LLHIHEdurSaSF8YoBHAL9tjn zGebb89WdLMCM9lyL+kU/zoQ3Udsvqqx1KU2pLFpC4mI9F/bP1tdF48ejRhOk+Al1j4m NJYQG+fuwofDlocdZwGWSEuyNobtYVS58ps0sW4mc8Hye6v1DM/E2SjChKViFWgTPxyP 1CYA== X-Gm-Message-State: AOJu0YyHETR3AyUomSOKaDQwmoG/07Wpv2oBQdo8b1qrLdlz0/H4Wexn FPRa/8OftEghsnDhfOLtJmz0B3sYaKAeyT6/nbJqAQ== X-Received: by 2002:a17:902:e949:b0:1c1:efe5:ccf8 with SMTP id b9-20020a170902e94900b001c1efe5ccf8mr256373pll.17.1697822608688; Fri, 20 Oct 2023 10:23:28 -0700 (PDT) MIME-Version: 1.0 References: <20231010032117.1577496-4-yosryahmed@google.com> <202310202303.c68e7639-oliver.sang@intel.com> In-Reply-To: <202310202303.c68e7639-oliver.sang@intel.com> From: Shakeel Butt Date: Fri, 20 Oct 2023 10:23:16 -0700 Message-ID: Subject: Re: [PATCH v2 3/5] mm: memcg: make stats flushing threshold per-memcg To: kernel test robot Cc: Yosry Ahmed , oe-lkp@lists.linux.dev, lkp@intel.com, cgroups@vger.kernel.org, linux-mm@kvack.org, ying.huang@intel.com, feng.tang@intel.com, fengwei.yin@intel.com, Andrew Morton , Johannes Weiner , Michal Hocko , Roman Gushchin , Muchun Song , Ivan Babrou , Tejun Heo , =?UTF-8?Q?Michal_Koutn=C3=BD?= , Waiman Long , kernel-team@cloudflare.com, Wei Xu , Greg Thelen , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 20 Oct 2023 10:23:47 -0700 (PDT) On Fri, Oct 20, 2023 at 9:18=E2=80=AFAM kernel test robot wrote: > > > > Hello, > > kernel test robot noticed a -25.8% regression of will-it-scale.per_thread= _ops on: > > > commit: 51d74c18a9c61e7ee33bc90b522dd7f6e5b80bb5 ("[PATCH v2 3/5] mm: mem= cg: make stats flushing threshold per-memcg") > url: https://github.com/intel-lab-lkp/linux/commits/Yosry-Ahmed/mm-memcg-= change-flush_next_time-to-flush_last_time/20231010-112257 > base: https://git.kernel.org/cgit/linux/kernel/git/akpm/mm.git mm-everyth= ing > patch link: https://lore.kernel.org/all/20231010032117.1577496-4-yosryahm= ed@google.com/ > patch subject: [PATCH v2 3/5] mm: memcg: make stats flushing threshold pe= r-memcg > > testcase: will-it-scale > test machine: 104 threads 2 sockets (Skylake) with 192G memory > parameters: > > nr_task: 100% > mode: thread > test: fallocate1 > cpufreq_governor: performance > > > In addition to that, the commit also has significant impact on the follow= ing tests: > > +------------------+-----------------------------------------------------= ----------+ > | testcase: change | will-it-scale: will-it-scale.per_thread_ops -30.0% r= egression | > | test machine | 104 threads 2 sockets (Skylake) with 192G memory = | > | test parameters | cpufreq_governor=3Dperformance = | > | | mode=3Dthread = | > | | nr_task=3D50% = | > | | test=3Dfallocate1 = | > +------------------+-----------------------------------------------------= ----------+ > Yosry, I don't think 25% to 30% regression can be ignored. Unless there is a quick fix, IMO this series should be skipped for the upcoming kernel open window.