Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp50409pxj; Wed, 26 May 2021 15:50:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9JMye5UXJ9vdx4a4/+sxuFyAL8dzSvnaRlIuNOCV3zzwBZBGVvYRGQlM+2aDhsh1gXQoR X-Received: by 2002:a05:6602:29d5:: with SMTP id z21mr452962ioq.0.1622069459300; Wed, 26 May 2021 15:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622069459; cv=none; d=google.com; s=arc-20160816; b=whLhQLg66LFd0v9Ot9f5zgeaPEGBgvdR4iBn/q2cqETb8mXdzEUsb6V3tQGBlCvE+z kuDIUpyOOqY0UEFSvNX145+E4BxPsjBft4K2rTiJ15JHXE4sduvuNhBSHbMqXuU78adj /zvvA8AqEn6wg+CbqcOxravWwkR8KDcYNKzparqoIhqyJZNPRH0Y9TIBaPpQ4O2eN79R jpoHOykccv9PbXyKQcTyDwbiWlGVBBrWg/93QJqcBtkfeAlynRwrQaHEPEPbIbqxxp+S YIy5Zju3X2Jn3A99cQtEyIyRqP8sANziXoCI/eB5sKX0sh9kKKNZv24hSXjy43NiamuC cDkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=ANZCgAVJTkGUpqDp4fC/2nwLSoD1Lxi4nB0Czr/Ru98=; b=i+uhgSlXJ28n/OGQdyuPu6oYuzhdLd6Clj+62jnpxgjk+VRgOMKRkL/LtqBfxX8bto nGw89J48lxgpSPQnY43jmI9w63MxYf3Vtg7MfvY7dgZs6NKcQVdNgr9cGDdZy4OG86Sa KbDt/MqseJehWTw0B2M456LX8hIIfb/QSp/SSt+jqQS2RB4N8AHeHPcAs5I1aDF7BjN8 RAPbG0n1QkJU87s1FWq14zHYOp3CXJ2r9mcMPe4X8WKrFaHsasK2mhZi0Qwxi8HkUOUz JXs+C+wf+ABl+9WS/9iyBPbLQ0AOoN76MrbcPEQvKB4fmRutY2dTAIHRUFLvCoupx7i9 KUcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ybr8mpJO; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=1tqNz5Z3; 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 z25si419356ior.21.2021.05.26.15.50.45; Wed, 26 May 2021 15:50:59 -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; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ybr8mpJO; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=1tqNz5Z3; 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 S234555AbhEZRmj (ORCPT + 99 others); Wed, 26 May 2021 13:42:39 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:51472 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbhEZRmj (ORCPT ); Wed, 26 May 2021 13:42:39 -0400 Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 268361FD29; Wed, 26 May 2021 17:41:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1622050866; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ANZCgAVJTkGUpqDp4fC/2nwLSoD1Lxi4nB0Czr/Ru98=; b=ybr8mpJOKZhb6clAQ14ucbgY85c1gAWEc0Pq4S+2fiAJJODhZNz/7sU/d/ChYsEqWSlHBO 7AysAhdNmR59awZvO86p/+tCRF8Ol3uEXNBV9aJQAX0mmnDeb4/uaVTd9+/ekLjqwrUbA6 +QUHIO1orMa0G/bghEsdx/JeEEsmGHE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1622050866; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ANZCgAVJTkGUpqDp4fC/2nwLSoD1Lxi4nB0Czr/Ru98=; b=1tqNz5Z3UPqOu8ZjjVpqyE/vWfdNkTaZEUpa4Vf7PMz+euLh3BnHOqD0Yx+hGA6PYa3ggr lEEhXEvx6VOYiuDg== Received: from director2.suse.de (director2.suse-dmz.suse.de [192.168.254.72]) by imap.suse.de (Postfix) with ESMTPSA id 0FD9311A98; Wed, 26 May 2021 17:41:06 +0000 (UTC) Subject: Re: [PATCH 1/6] mm/page_alloc: Delete vm.percpu_pagelist_fraction To: Mel Gorman , Andrew Morton Cc: Hillf Danton , Dave Hansen , Michal Hocko , LKML , Linux-MM References: <20210525080119.5455-1-mgorman@techsingularity.net> <20210525080119.5455-2-mgorman@techsingularity.net> From: Vlastimil Babka Message-ID: <7b821c1f-ecc2-5e09-3c06-a63945d697ea@suse.cz> Date: Wed, 26 May 2021 19:41:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <20210525080119.5455-2-mgorman@techsingularity.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/25/21 10:01 AM, Mel Gorman wrote: > The vm.percpu_pagelist_fraction is used to increase the batch and high > limits for the per-cpu page allocator (PCP). The intent behind the sysctl > is to reduce zone lock acquisition when allocating/freeing pages but it has > a problem. While it can decrease contention, it can also increase latency > on the allocation side due to unreasonably large batch sizes. This leads > to games where an administrator adjusts percpu_pagelist_fraction on the > fly to work around contention and allocation latency problems. > > This series aims to alleviate the problems with zone lock contention while > avoiding the allocation-side latency problems. For the purposes of review, > it's easier to remove this sysctl now and reintroduce a similar sysctl > later in the series that deals only with pcp->high. > > Signed-off-by: Mel Gorman > Acked-by: Dave Hansen Acked-by: Vlastimil Babka