Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1170938ybm; Tue, 21 May 2019 09:39:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyT5XmNqYwxOnqM5lp6iwu4qAAbrkSDCvDdFIC5y8eyW3973Vp1MWCZfaOLkNIpMFvTfHIy X-Received: by 2002:aa7:9159:: with SMTP id 25mr57944006pfi.64.1558456794350; Tue, 21 May 2019 09:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558456794; cv=none; d=google.com; s=arc-20160816; b=POsxnSBuF7aGg0PEWub0sTu0rXwkpks/15AhdJewSMgyE4+1QJAQBKkBgeaZWQZLlX /GIRYOoQGI7I7e2QeOv9go+EQh98bwtt1RpxP21gweQA0JmispT6SA0EoyrpedAdGL83 Op3OsXtW5A6UMs+lS4YEBW4YfoeG7DETvpmWcutrwwvXaqwIGcy2B8+/yahcMq96Jzbo sEnzmTjikr9U22C1MRf0ZDkbE+kqw8nPNAxnZzDL2CRsNfjoBf7Bvm67odVieHNmWpBP iMsJzsdHgKJEfC1V5/A6vAzqkt5VV2rPob4OkN2a3zgmE0jV69ftnLhYqm0T8H7b49g9 IdTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6Cne2bRYNPxMo5lmC9R59wEbEO25DcAAnjTK4xwTSsw=; b=OjJLYOBnR8T9bvp36yhiVUb0DQw3ihKXKcQJwvuE1Zavjw/Yfx/sMG48rHUrCWVtSw HhQf/SB7MrttVYzWepuvNev5n5fIEM3Fzzb8Kn4vWhwjA1PtuShtOHJHyYs+vCu9E6Wx M51pScEaqDXoSIc7a8XXrzhSXO5ozUEBoydz++SN41xajROepc2DgZNAGpQyIiS0N1gz +l3AdzKBt9etzHajCQ9t5H2HPnW2tIDqZdaKi9I7MjwNrOaddKFMapaJpHL4P0Gfmhoj j6UueAvwg/5j3SLjlxSVv60RJ4vIjZ5ePewYVn5rZYFkqsR4aupuM6Gp9dZj9F/9eFsg X80Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=vvF2ly7Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14si14319902pgj.377.2019.05.21.09.39.38; Tue, 21 May 2019 09:39:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=vvF2ly7Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728515AbfEUPN7 (ORCPT + 99 others); Tue, 21 May 2019 11:13:59 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:35836 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727969AbfEUPN6 (ORCPT ); Tue, 21 May 2019 11:13:58 -0400 Received: by mail-pg1-f195.google.com with SMTP id t1so7327222pgc.2 for ; Tue, 21 May 2019 08:13:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=6Cne2bRYNPxMo5lmC9R59wEbEO25DcAAnjTK4xwTSsw=; b=vvF2ly7Y0wh8rEKGoM/nP1Sr+IzMtLX6R8YZKQNaoZMuxDzWF30t1pjXXrwMnFWtYU YPWEZdFYsOK4jjKc7lSLLpkq6Yolzu8OeeVDtpOjFeEHbWwXnwS0tZF71Ehoz7SRP8JH cd/7Q7FGWBLP3qUx2SyBht7VsbmWCvyoNSx+VI3mtX2xszi2+EnRY7//0hd08r3oxfsd d5HYrRPLE/yGLtVUYPvR4RO9dwirfQf+IZ9Q3KgZuTre9w+IWg9nzYLAFViv+/hhiILl zgxCceVehFZmIea/bZtgKWoXByvQJpPyneRLY+kqq9XWyno/AUFyx3TJ/SsxpZHg7Lqc WOBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=6Cne2bRYNPxMo5lmC9R59wEbEO25DcAAnjTK4xwTSsw=; b=QSkAqQU5/lLwzAg0MAZxEysHG+NAiM3No1nbMb8A7Q7hI5T2hMSwiv5A04PHgPHhJb tbRgBrTyMXGXvjUUZMrdU441o8DXHMzZ2J4Rhuw/wDG/SYQB6vmRWB2mcVaJZKyBJ0ke Ieo1AW7nAuCEHKmxApKIMZx7s76903XmcKZJQxGEvzhr1WXY3Q0ibtDU52ZnnCLjIUYt v5vYi79lQA3/+5ePWNSxsrbew4OnMS1dYGRps2eRNXN/KuxDdmGKLVV4yfFkRbjUGQsu +CxzlSPqUK5abkFrVn61xv/19HpNXFL7wfFjlCMaGFbsG0Pla/1aBq7LXJ/Ze6f8wxPm jNMQ== X-Gm-Message-State: APjAAAVx5EnfAISK+O8mig4ByhEkTx5LB/yTRoO0JTrhztKGMz74p8cH Jfl43bA00CeiDoP8MMJI8KsQZg== X-Received: by 2002:a62:cdc6:: with SMTP id o189mr61458362pfg.74.1558451638227; Tue, 21 May 2019 08:13:58 -0700 (PDT) Received: from localhost ([2620:10d:c091:500::2:5a76]) by smtp.gmail.com with ESMTPSA id v1sm22978952pgb.85.2019.05.21.08.13.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 May 2019 08:13:57 -0700 (PDT) Date: Tue, 21 May 2019 11:13:55 -0400 From: Johannes Weiner To: kernel test robot Cc: lkp@01.org, LKML , Michal Hocko , Shakeel Butt , Andrew Morton , Linus Torvalds , Roman Gushchin Subject: Re: [LKP] [mm] 42a3003535: will-it-scale.per_process_ops -25.9% regression Message-ID: <20190521151355.GA2870@cmpxchg.org> References: <20190520063534.GB19312@shao2-debian> <20190520215328.GA1186@cmpxchg.org> <20190521134646.GE19312@shao2-debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190521134646.GE19312@shao2-debian> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 21, 2019 at 09:46:46PM +0800, kernel test robot wrote: > On Mon, May 20, 2019 at 05:53:28PM -0400, Johannes Weiner wrote: > > Hello, > > > > On Mon, May 20, 2019 at 02:35:34PM +0800, kernel test robot wrote: > > > Greeting, > > > > > > FYI, we noticed a -25.9% regression of will-it-scale.per_process_ops due to commit: > > > > > > > > > commit: 42a300353577ccc17ecc627b8570a89fa1678bec ("mm: memcontrol: fix recursive statistics correctness & scalabilty") > > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > > > > > > in testcase: will-it-scale > > > on test machine: 192 threads Skylake-SP with 256G memory > > > with following parameters: > > > > Ouch. That has to be the additional cache footprint of the split > > local/recursive stat counters, rather than the extra instructions. > > > > Could you please try re-running the test on that host with the below > > patch applied? > > Hi, > > The patch can fix the regression. > > tests: 1 > testcase/path_params/tbox_group/run: will-it-scale/performance-process-100%-page_fault3/lkp-skl-4sp1 > > db9adbcbe7 ("mm: memcontrol: move stat/event counting functions out-of-line") > 8d8245997d ("mm: memcontrol: don't batch updates of local VM stats and events") > > db9adbcbe740e098 8d8245997dbd17c5056094f15c > ---------------- -------------------------- > %stddev change %stddev > \ | \ > 87819982 85307742 will-it-scale.workload > 457395 444310 will-it-scale.per_process_ops Fantastic, thank you for verifying! I'm going to take that as a Tested-by.