Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp787540pxu; Wed, 14 Oct 2020 13:50:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVEP5f/zxeGkQ+9ZwiotJxF1Mb9pgArabW3Iu5r568kiF5hoqNnN2T68RbTmVofBr8zql+ X-Received: by 2002:a17:907:2179:: with SMTP id rl25mr973267ejb.450.1602708609236; Wed, 14 Oct 2020 13:50:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602708609; cv=none; d=google.com; s=arc-20160816; b=HVFGGtBOp8lppYkTeWYfkMsdflhCmk7ms6saBIF9X3fjGPDcIRtLsoZMQJ/ZLQrfWz uQik5fdwdlqMK224Y6LlNr/gHher84MedeEXYjjGonWcRXeR4/GArPOep4i0Y3/uz5rq ds1JdjH10g62S4QH0dul0yQTUGWSt63KVnqKcb+9xJLDIF9Y7IUiyC0X+81/DScPhHvJ IIez5AmkQ1N+zYU7cnmFQtERFyofa514gKXhWm8wEO6Yd/OpWcz6bRY8SHGWUAaThAGi myWXRx60JN84A1OovNuzUP5HLB3bqjwJMDNR28+e6eviHHjTFUxoKDxrooFzVFgsAMYp 6i3Q== 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; bh=wFo8mBHZYf0UMDeOwkmKho9l8eJuk/1YXUdCqbTin3g=; b=wddBQEc3CwpP7BHGdhNVT2TntbcGXaGuvNf5JRQ4ebAxOfN7hsuHqpnxkZIXfRAfWE O2Bn1QU1/i5QISV69FeZk+YW/AIfg+O5qiP4oy2EnfKzbvnhLnD5ffhGNYc/gzYQNs96 64+S//gaZc2IdwgteRA7UzEZvCu9Q35EO/jQ5WPXJ8xA5QytCtPxrjU7aV90bmSPgyKp 23eLxR4WyvtM/BeLp6apfYTZl7X2td54Czdjh0ZXghJOe9zH32u9pbD+Bk9c0Eqb80qC rWV0ndoHh2GnMCkdVlY97VyVU20nbszwEV1t8kShZnA5xozFa99xl8E9lr589vuFPYQu 9oEg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z9si436676edr.522.2020.10.14.13.49.46; Wed, 14 Oct 2020 13:50:09 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728982AbgJNKTG (ORCPT + 99 others); Wed, 14 Oct 2020 06:19:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:50732 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726439AbgJNKTG (ORCPT ); Wed, 14 Oct 2020 06:19:06 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id EC59BABA2; Wed, 14 Oct 2020 10:19:04 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 643371E1338; Wed, 14 Oct 2020 12:19:04 +0200 (CEST) Date: Wed, 14 Oct 2020 12:19:04 +0200 From: Jan Kara To: kernel test robot Cc: NeilBrown , Linus Torvalds , Andrew Morton , Jan Kara , Christoph Hellwig , Trond Myklebust , Chuck Lever , LKML , lkp@lists.01.org, lkp@intel.com, ying.huang@intel.com, feng.tang@intel.com, zhengjun.xing@intel.com Subject: Re: [mm/writeback] 8d92890bd6: will-it-scale.per_process_ops -15.3% regression Message-ID: <20201014101904.GA11144@quack2.suse.cz> References: <20201014084706.GB11647@shao2-debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201014084706.GB11647@shao2-debian> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 14-10-20 16:47:06, kernel test robot wrote: > Greeting, > > FYI, we noticed a -15.3% regression of will-it-scale.per_process_ops due > to commit: > > commit: 8d92890bd6b8502d6aee4b37430ae6444ade7a8c ("mm/writeback: discard > NR_UNSTABLE_NFS, use NR_WRITEBACK instead") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master Thanks for report but it doesn't quite make sense to me. If we omit reporting & NFS changes in that commit (which is code not excercised by this benchmark), what remains are changes like: nr_pages += node_page_state(pgdat, NR_FILE_DIRTY); - nr_pages += node_page_state(pgdat, NR_UNSTABLE_NFS); nr_pages += node_page_state(pgdat, NR_WRITEBACK); ... - nr_reclaimable = global_node_page_state(NR_FILE_DIRTY) + - global_node_page_state(NR_UNSTABLE_NFS); + nr_reclaimable = global_node_page_state(NR_FILE_DIRTY); ... - gdtc->dirty = global_node_page_state(NR_FILE_DIRTY) + - global_node_page_state(NR_UNSTABLE_NFS); + gdtc->dirty = global_node_page_state(NR_FILE_DIRTY); So if there's any negative performance impact of these changes, they're likely due to code alignment changes or something like that... So I don't think there's much to do here since optimal code alignment is highly specific to a particular CPU etc. Honza -- Jan Kara SUSE Labs, CR