Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2505368pxb; Sun, 5 Sep 2021 21:36:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzwhB7MzlWlWRwuZ0DIjPIk5iQ7fxYBU31bYWNnphy9oL/ng3UzXuBZRPa4w4iiOqdGSIf X-Received: by 2002:a17:906:38c8:: with SMTP id r8mr11701007ejd.172.1630902960148; Sun, 05 Sep 2021 21:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630902960; cv=none; d=google.com; s=arc-20160816; b=CFYzcchKxjk8kpiht/oEHSFuLAOJZDW85+Yq0RDRQd5GXT//uL6KygERtZwUjAPofH Cp01o38lM6lV/+8nMtJZia8hRQqIj1TQAVKyrFba2DndZQqIRiUHfIfGb5PUqN5y6gKy jNamgB58SxwFfXMyPz2oPlEmaARr8hJxjV44sFOF2sSSDQPFfi0ECqBHuXEbZegruHRZ w44cm5YjcTiOTzXct7CGfou7XG1tt4x+FKYXSVKoCbOtJmjY1Z9x/uv8Vc4QoDRutMmh GZCXdI5mhytxYNxM5S5viu1/sXjxasCutn6DCdOvT+pLicMMZ+SNOst94q9fIPwT5Ei+ xCBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=eXBHU6Xs2uhydisMWRQr8CW3/1wclUQsRvST/kMR8Ok=; b=xN0oI6517nvXEtFXLz2IratLuWeZmNDoOQcaseKR70BXx8bAyFs5gMPc/HSP1Uqx6m kT8xa14c/OgOVag8ecA72meGZRHG5B66VpMw3ps83EGa3XUk6vJI/ySDHEHqtExIS+cs Qwn+vlpi2OhfTSb96viGMptpMnW0YnFq6VCgIy3sjs6R9p36Tsbn60gudiTLm79oBDPl /eGH6nfrVJxoRxha6mP76S0hCducSwJ8HGSr/uZS8+tNxs+NIsjvOmQVop2uJKCHR3Q1 bnQ3oUqoXWeylZTBErNyWFnipWhPGpK/UyQ3AysfoAbT5Hu69SqtJSojaCqBQA8DIkRR ArgQ== 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 t23si6998705edc.74.2021.09.05.21.35.37; Sun, 05 Sep 2021 21:36:00 -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 S238521AbhIFByw (ORCPT + 99 others); Sun, 5 Sep 2021 21:54:52 -0400 Received: from mga03.intel.com ([134.134.136.65]:63775 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238511AbhIFByv (ORCPT ); Sun, 5 Sep 2021 21:54:51 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10098"; a="219916175" X-IronPort-AV: E=Sophos;i="5.85,271,1624345200"; d="scan'208";a="219916175" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2021 18:53:47 -0700 X-IronPort-AV: E=Sophos;i="5.85,271,1624345200"; d="scan'208";a="536346047" Received: from yhuang6-desk2.sh.intel.com (HELO yhuang6-desk2.ccr.corp.intel.com) ([10.239.159.119]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2021 18:53:41 -0700 From: "Huang, Ying" To: kernel test robot , Rui Zhang , Chen Yu , Len Brown , "Rafael J. Wysocki" Cc: Andrew Morton , 0day robot , Yang Shi , Zi Yan , Michal Hocko , Wei Xu , Oscar Salvador , David Rientjes , Dan Williams , David Hildenbrand , Greg Thelen , Keith Busch , Yang Shi , LKML , , , , , , , Subject: Re: [mm/migrate] 9eeb73028c: stress-ng.memhotplug.ops_per_sec -53.8% regression References: <20210905135932.GE15026@xsang-OptiPlex-9020> Date: Mon, 06 Sep 2021 09:53:39 +0800 In-Reply-To: <20210905135932.GE15026@xsang-OptiPlex-9020> (kernel test robot's message of "Sun, 5 Sep 2021 21:59:33 +0800") Message-ID: <87y28aii58.fsf@yhuang6-desk2.ccr.corp.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kernel test robot writes: > Greeting, > > FYI, we noticed a -53.8% regression of stress-ng.memhotplug.ops_per_sec due to commit: > > > commit: 9eeb73028cfb54eb06efe87c50cc014d3f1ff43e ("[patch 174/212] mm/migrate: update node demotion order on hotplug events") > url: https://github.com/0day-ci/linux/commits/Andrew-Morton/ia64-fix-typo-in-a-comment/20210903-065028 > > > in testcase: stress-ng > on test machine: 96 threads 2 sockets Intel(R) Xeon(R) Gold 6252 CPU @ 2.10GHz with 192G memory > with following parameters: > > nr_threads: 10% > disk: 1HDD > testtime: 60s > fs: ext4 > class: os > test: memhotplug > cpufreq_governor: performance > ucode: 0x5003006 > Because we added some operations during online/offline CPU, it's expected that the performance of online/offline CPU will decrease. In most cases, the performance of CPU hotplug isn't a big problem. But then I remembers that the performance of the CPU hotplug may influence suspend/resume performance :-( It appears that it is easy and reasonable to enclose the added operations inside #ifdef CONFIG_NUMA. Is this sufficient to restore the performance of suspend/resume? Best Regards, Huang, Ying