Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3258419pxj; Mon, 24 May 2021 02:26:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDskM3jz5qd41IN9q+/gDKgktyQn/ZbbjUhbdyZw33KAXFbFt3mKLTVhdPnMWymIvLnNVB X-Received: by 2002:a17:906:3615:: with SMTP id q21mr22584697ejb.414.1621848406560; Mon, 24 May 2021 02:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621848406; cv=none; d=google.com; s=arc-20160816; b=MCBEcLlshnhNxSul73Cdh1kM6VsVarZORr5BmYw/6ymJZlWVKNsTZlVW1r4lIUWhCc z9YhoPiuDg0LlMm6e6Qqw3uMDLZfns/k0Jk2lu+s4DRNiRfW3DUeu9xmxsTDuviBB0BN /GsZZIU6WZbdljjc1ANGS3bOUqAv2/Lbh3MJND0l79b1c647DgTgjB3zL56PVPcqcI41 aScT6shsIFak9sArD+VW2RSjLaErnlg9MMjGXBjmbYeGvb2pS26ivLTEcKBJq0CqQy7P 9RWMJLi2mktSdJ1jF1QLyHj/lY+3cLV2cr3S9QojOJhqe6pCwjj1wxjR6ToEHTDNG6j2 Ybew== 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=sfxcZmVtufK2QwR8vYxEw/HF1VXO/1ioLkapvElUdjc=; b=kito5OdKSlahru71EQaRgevJ2d5MyICVwJd8yupzRzx2FeqhB4qQYPzijCj7246qEp f7L3yU7f09B0+ilKnQK0ObBzAxTPL1SqAjgefWDjytK0q/SSb7W5zhPGiNyjKjJ6jqIf 6c5aq2Jx8lNDs9DHPfrvioOBNnsC3Q2am/VSXGXWdCIkb0mcxL4cMdaSBoQdgUyEE63a ujwF0OVyW0cWhMIdi1m9ZFxJSwLNLHToWk/BuWCgtfuxPOi1Buq0avBCd28EsAYnOeMZ jQ1eqElznoGYziidk8ihLUObTC53zpi7zyatZ9pz1+hddlab/zjTKbgEDLoFdhROuTF9 hv/g== 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 j10si11930201ejd.87.2021.05.24.02.26.23; Mon, 24 May 2021 02:26:46 -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 S232442AbhEXJ1C (ORCPT + 99 others); Mon, 24 May 2021 05:27:02 -0400 Received: from outbound-smtp46.blacknight.com ([46.22.136.58]:60141 "EHLO outbound-smtp46.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232318AbhEXJ1B (ORCPT ); Mon, 24 May 2021 05:27:01 -0400 Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp46.blacknight.com (Postfix) with ESMTPS id 7FF62FA8A2 for ; Mon, 24 May 2021 10:25:32 +0100 (IST) Received: (qmail 26618 invoked from network); 24 May 2021 09:25:32 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.23.168]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 24 May 2021 09:25:32 -0000 Date: Mon, 24 May 2021 10:25:30 +0100 From: Mel Gorman To: Dave Hansen Cc: Linux-MM , Dave Hansen , Matthew Wilcox , Vlastimil Babka , Michal Hocko , Nicholas Piggin , LKML Subject: Re: [PATCH 6/6] mm/page_alloc: Introduce vm.percpu_pagelist_high_fraction Message-ID: <20210524092530.GE30378@techsingularity.net> References: <20210521102826.28552-1-mgorman@techsingularity.net> <20210521102826.28552-7-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 21, 2021 at 03:57:20PM -0700, Dave Hansen wrote: > On 5/21/21 3:28 AM, Mel Gorman wrote: > > This introduces a new sysctl vm.percpu_pagelist_high_fraction. It is > > similar to the old vm.percpu_pagelist_fraction except it only adjusts > > pcp->high to potentially reduce zone->lock contention while preserving > > allocation latency when PCP lists have to be refilled. > > Look at me... Five patches later and I already forgot what the old one > did and why it stinks. I wonder if you might do a wee bit of compare > and contrast. Something like: > > The old vm.percpu_pagelist_fraction increased both the batch and > high limits for the per-cpu page allocator. Its worst feature > was that it led to absurdly large batch sizes that incurred > nasty worst-case allocation latency. > > This new sysctl in comparison... > > Anyway, the approach looks sound to me. The batch size isn't important > now, especially given the auto-scaling in patch 4. > > Acked-by: Dave Hansen Thanks, I updated the changelog and hopefully it is better. -- Mel Gorman SUSE Labs