Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2541798pxj; Mon, 31 May 2021 05:02:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSZdsQgsZDrj0exV9JjXykhJ8L9Pq7ReGUfGOvMZYT6Bj6320vcQBHm6cMjp6BpzI48Wqg X-Received: by 2002:aa7:c91a:: with SMTP id b26mr25333479edt.350.1622462521017; Mon, 31 May 2021 05:02:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622462521; cv=none; d=google.com; s=arc-20160816; b=yYPdcas65+bdXyDHmoRDa57OVrMsoL8UmHfxmWGPK49uSTG5rfAvf9Y6wdCoSITd/D AMQFaRtNEHZeR3n1IdizW9zSdo0ryTyvW4rJFxeyJLtoPKQ5YRwji59r5cL+lTL7XPBL mLVPZkQs6FNxE9Uaz905J4mlhUz7i0PxvpZ/MgWaKjDzxDEkztJAUfKQa53qOh/qBFwD 1+QX1ZuaUwI3rsL5SnN84viWgaMQ6ur0trRd9m/EqnHoJ27NXRKhElS1GSqZCM7zX0KD mJLSXIYnmHD/zLn8iyTFlLLFky+ryzjPLH7dJsHnyepYhV+V1qt/UTqjiarWvOrHxFtq OJLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=lD6XPx5rSCQHKX0UX17qJIsmZwl81SdhBBSBxCl3jzE=; b=ckm5t6oeQD1tuAPyx0rGQHn+VZ41D8mU6xJoGBHwMcYZCKQ1HYV+BcgH+iJkFRXnqR yC+Q8CiYp7D5VeSwfeuMRXccrXesE+jUwoiZnB0AN+5S0PoqTC9aeeK8RBluEeMuO177 QP0m//2ukbPlJrEoGVnOlfObpNsm9DNWiBBJpnQtVvA33DSvuBVj55vExscXz7NvA/8X Ki3AgG5KxrKBzOBpMKnKNpAlp4KReeWIKu9vpRr3Zci4tttFI7lAPbnoit8N9YXLKmLL vJwN67PtRkmbHPKTd5Q+X+N6aF3tEXgoTZQnjz+HCFZmPEoFQp5GISWnDLmLFsb9K08Y Ztqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si12566831eji.457.2021.05.31.05.01.37; Mon, 31 May 2021 05:02:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231450AbhEaMCB (ORCPT + 99 others); Mon, 31 May 2021 08:02:01 -0400 Received: from mga07.intel.com ([134.134.136.100]:51793 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231330AbhEaMB7 (ORCPT ); Mon, 31 May 2021 08:01:59 -0400 IronPort-SDR: L5HwMnADhLPS0or+/BEJ85gFe8+bg1RAFU46GVDUfQ4ERwayAa5nkXw67YS6QsvF0s28AH8auK Y/MXD4XquJqg== X-IronPort-AV: E=McAfee;i="6200,9189,10000"; a="267226421" X-IronPort-AV: E=Sophos;i="5.83,237,1616482800"; d="scan'208";a="267226421" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2021 05:00:18 -0700 IronPort-SDR: sd6FdtwMraf70eTCVTU1yYqcag/9eY/X+xxAd5R8c4vJbWY25pYynp4SlC2Mb53cImsdcPAihy GkEfNIDDp30Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,237,1616482800"; d="scan'208";a="482069253" Received: from shbuild999.sh.intel.com (HELO localhost) ([10.239.147.94]) by fmsmga002.fm.intel.com with ESMTP; 31 May 2021 05:00:15 -0700 Date: Mon, 31 May 2021 20:00:15 +0800 From: Feng Tang To: Dave Hansen Cc: Mel Gorman , Andrew Morton , Hillf Danton , Dave Hansen , Vlastimil Babka , Michal Hocko , LKML , Linux-MM Subject: Re: [PATCH 0/6 v2] Calculate pcp->high based on zone sizes and active CPUs Message-ID: <20210531120015.GA89301@shbuild999.sh.intel.com> References: <20210525080119.5455-1-mgorman@techsingularity.net> <7177f59b-dc05-daff-7dc6-5815b539a790@intel.com> <20210528085545.GJ30378@techsingularity.net> <893ce8ed-df14-612b-693f-48c9dac0eb19@intel.com> <20210528151834.GR30378@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 28, 2021 at 09:17:41AM -0700, Dave Hansen wrote: > On 5/28/21 8:18 AM, Mel Gorman wrote: > >> BTW, to do some of this testing, Feng was doing a plain old kernel > >> build. On the one system where this got run, he noted a ~2% regression > >> in build times. Nothing major, but you might want to be on the lookout > >> in case 0day or the other test harnesses find something similar once > >> this series gets to them. > >> > > What type of system was it? > > > > I noticed minor differences for some thread counts on kernel compilations > > but for CascadeLake at least, it was mostly neutral. Below is an old test > > result based on a previous revision. > > It's a Cascade Lake as well. But, I never trust hardware at a hardware > company. These could be preproduction CPUs or BIOS or both, or have > some bonkers configuration knob flipped. > > It's also got a bunch of PMEM plugged and onlined, including the > _possibility_ of kernel data structures ended up on PMEM. They *mostly* > don't end up there, but it does happen on occasion. > > Anyway, I'll see if we can do some more runs with your latest version. > It looks like it's been picked up for -mm so 0day should be pounding on > it soon enough. Yes, usually 0day has more benchmark test covering -mm tree. As for the kbuild test run for v2, after more runs, the previous 2% longer kbuild time turns to 1% shorter time, seems to be in normal deviation range. Also I checked Mel's v3 branch which has the fix for cpuless node, the pcp 'high' looks normal on PMEM node: pagesets cpu: 0 count: 67 high: 724 batch: 63 vm stats threshold: 125 Thanks, Feng