Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3103500pxj; Mon, 10 May 2021 18:59:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBrRYMW0TFNEW/snQ6PkuIQ30w61OhqQqfArYv/3H95ytr9MGkVYtgF6my6GIJlek8o50k X-Received: by 2002:a17:906:5a96:: with SMTP id l22mr28962607ejq.450.1620698357848; Mon, 10 May 2021 18:59:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620698357; cv=none; d=google.com; s=arc-20160816; b=F5A8PZFHP2Zg8yTunhurY1sQAwdWcGqfyUGOdU62nhTvFhEIhrrY33TmGr8Pzx8k9x mg/FoFkGwsO6cENjBWqkWbRy2ouz6a1/6y0T80Wb01pwgexMMnICj7ZgT/9my07GNord r6LLDpjR7aotYt+nbw53C6/Xt1g91v+wDZXDGdK1btS4z1RV9tbcUnDO/UhBpFGX6v8a zTIA3Eh3FpsskOTUVOxq1yb63W2gG+w77zxwIp5vPG/E/iMVlmhnvXihe62P98vo/Ozn +heOu/D/GoenQCxxmA/sxV+5duQaLvCy7P61NlRB5wlFXsPMLR+bB6x7/qlXFEavR3Kn ZYLA== 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=TedA5cl/2MvaLRxoFyT+2bvSaXOflhuy7DR2l7zsoEU=; b=I/BjGgVg2hYuEE+njXPwQYF/3nzBjAETFBYp9/LI9TqaxnXcrGvL+CYzAzvnybVpC7 vGZkj9SbytV4tSc/E1nD6qO3wtN00Mt4/IXKDX8aqkYzS8+3nlJ3WOsaxgpQn391ssf/ Nk8T0W+p1yXlUlhX3rkh9xqQnkVv2l3CXjCoIEwFuVAKoc4c3iuLKTek+tw8cFYnnl5g q5lmktd9nfLqN70h3N/ArTiczo4yuJWlylMfY9VtK4UDre/G6Mhl9XXcUXnvV8wqJ6Sl twI6yql6SvVZE3m6znOGta3jXYWYkcSWOLjs1iO4gMvW6wvwTb1+ee/CZ9LkSS4okQ0M WYww== 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 ha1si14983342ejb.743.2021.05.10.18.58.54; Mon, 10 May 2021 18:59:17 -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 S230338AbhEKB5u (ORCPT + 99 others); Mon, 10 May 2021 21:57:50 -0400 Received: from mga05.intel.com ([192.55.52.43]:35576 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229948AbhEKB5u (ORCPT ); Mon, 10 May 2021 21:57:50 -0400 IronPort-SDR: BavRm09k8GY8b8cFjrzN7FflLn3ceHCUnjI/asrcpQMhRUnAgsMKe8qU70i3nbyA3lKTmbxBEs xp6e+z1gqOpA== X-IronPort-AV: E=McAfee;i="6200,9189,9980"; a="284819771" X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="284819771" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2021 18:56:41 -0700 IronPort-SDR: SQphaNSnTY+2ExKDYQSdheFzJeELZxKuiRd2Zuof1+nV40+Ch5d0Fe3AqcdEJnUJYq8CqqOMZe XvlU9aCf0KFQ== X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="470975445" Received: from xsang-optiplex-9020.sh.intel.com (HELO xsang-OptiPlex-9020) ([10.239.159.140]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2021 18:56:11 -0700 Date: Tue, 11 May 2021 10:13:06 +0800 From: Oliver Sang To: Roman Gushchin Cc: Dennis Zhou , Pratik Sampat , LKML , "lkp@lists.01.org" , "lkp@intel.com" , "ying.huang@intel.com" , "feng.tang@intel.com" , "zhengjun.xing@intel.com" Subject: Re: [percpu] ace7e70901: aim9.sync_disk_rw.ops_per_sec -2.3% regression Message-ID: <20210511021306.GA8539@xsang-OptiPlex-9020> References: <20210427073448.GD32408@xsang-OptiPlex-9020> <40632FBD-8874-4B6C-A945-F2EBC96CF12B@fb.com> <20210507030606.GA27263@xsang-OptiPlex-9020> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Roman, On Fri, May 07, 2021 at 10:52:22AM -0700, Roman Gushchin wrote: > On Fri, May 07, 2021 at 11:06:06AM +0800, Oliver Sang wrote: > > hi Roman, > > > > On Thu, May 06, 2021 at 12:54:59AM +0000, Roman Gushchin wrote: > > > Ping > > > > sorry for late. > > > > the new patch makes the performance a little better but still has > > 1.9% regression comparing to > > f183324133 ("percpu: implement partial chunk depopulation") > > Hi Oliver! > > Thank you for testing it! > > Btw, can you, please, confirm that the regression is coming specifically > from ace7e70901 ("percpu: use reclaim threshold instead of running for every page")? > I do see *some* regression in my setup, but the data is very noisy, so I'm not sure > I can confirm it. > > Thanks! sorry for late. according to our tests, the answer seems be yes. let me explain our test a little, we found the KPI (here is aim9) droped, then an automatic bisection was triggered. the ace7e70901 was finally recognized as the commit introduced the change. since it's a bisection result, we have test data for both parent and this commit. (BTW, we make sure the config for both kernels are same) for this bisect, we tested 6 times for both parent and ace7e70901, and the data is stable, as below: parent: f183324133ea535db4127f9fad3e19725ca88bf3/avg.json: "aim9.sync_disk_rw.ops_per_sec": 103531.76166666666, f183324133ea535db4127f9fad3e19725ca88bf3/matrix.json: "aim9.sync_disk_rw.ops_per_sec": [ f183324133ea535db4127f9fad3e19725ca88bf3/matrix.json- 103673.09, f183324133ea535db4127f9fad3e19725ca88bf3/matrix.json- 102188.39, f183324133ea535db4127f9fad3e19725ca88bf3/matrix.json- 104325.06, f183324133ea535db4127f9fad3e19725ca88bf3/matrix.json- 104038.4, f183324133ea535db4127f9fad3e19725ca88bf3/matrix.json- 102908.57, f183324133ea535db4127f9fad3e19725ca88bf3/matrix.json- 104057.06 f183324133ea535db4127f9fad3e19725ca88bf3/matrix.json- ], ace7e70901: ace7e7090137ee996757eb5eebc94439b0e2803a/avg.json: "aim9.sync_disk_rw.ops_per_sec": 101102.73857142858, ace7e7090137ee996757eb5eebc94439b0e2803a/matrix.json: "aim9.sync_disk_rw.ops_per_sec": [ ace7e7090137ee996757eb5eebc94439b0e2803a/matrix.json- 101193.43, ace7e7090137ee996757eb5eebc94439b0e2803a/matrix.json- 100689.98, ace7e7090137ee996757eb5eebc94439b0e2803a/matrix.json- 100988.63, ace7e7090137ee996757eb5eebc94439b0e2803a/matrix.json- 100732.64, ace7e7090137ee996757eb5eebc94439b0e2803a/matrix.json- 101389.69, ace7e7090137ee996757eb5eebc94439b0e2803a/matrix.json- 101662.74, ace7e7090137ee996757eb5eebc94439b0e2803a/matrix.json- 101062.06 ace7e7090137ee996757eb5eebc94439b0e2803a/matrix.json- ],