Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4371726ybv; Tue, 25 Feb 2020 18:51:50 -0800 (PST) X-Google-Smtp-Source: APXvYqxxQ3TnRJeQn/19fb3aqgl0FTzXpZrBH8ijrvmxL6BgpQWavq3sZMfy0ClX9/aWEB0T2K3+ X-Received: by 2002:a05:6830:4c7:: with SMTP id s7mr1249583otd.359.1582685510051; Tue, 25 Feb 2020 18:51:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582685510; cv=none; d=google.com; s=arc-20160816; b=1EuiPzsDYR3s74nuPN711wpYvEbxdfQlcUogngqBxtAh8YE4SkAioOf/kT3odf8z4V Nw40lvujsqbaJarcgLWFLQ86SNmpsxl9n7/7zNZvs4iCrudum6fnN23XaNXPjSTwBgoQ jPIN7+iJVNauHMsEpZI+8JEXIMH0A8NidcqtAxSpjGLHBmFM23T8+tl4TTjGREQy2Hed HVboVJRS8tLm/RSpVPKWg8UaCDmeCGXBAZuHLDBnh5H/f+CqhFRb/zrVuhrcWmhQ66Wq L09L5OOxbog/4hCGoNAnRVK1UI05bUMUgwWaHLDe7m/DDNNM9cgLtn4f/3w4qyNJmSCK h+WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=lkZy3884q4hszyGCGdy4EzKS6sRQjb+GB7P0ViTX8ck=; b=HP6woWsIoE4Csk6b534ejDZlfiijiIwEL9UL5PnBVkMfBMLvp+rHsHsxukSDZ+LZTC UQarwBdA5yXixsI3GfrItzoviYb5Rkz3MNJ6WXIRH5RMmxWWgw5aWiDxk0Sq0ClYRYmj A4SmSnyOw8hwxizVhPxCGMvIp9mz4EMEZnUjzaWeHsqzi0PUwkZ0dS8a35qOjccgPKlQ a2veVS6L+OJPPrLhCxKnjOrfvFWhcoEwWCyciTOZICE1+iYFeFVwjRgsEpykDsLrkvla bXSV4msNUkT0Tjgf4JP7uaZzfywq0jZjQI5CG5riJ0OhwU0MfgX6hyORbDgePT5kyTZg vRfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="qu/zSUYO"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y71si398651oia.82.2020.02.25.18.51.37; Tue, 25 Feb 2020 18:51:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="qu/zSUYO"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730071AbgBZCvc (ORCPT + 99 others); Tue, 25 Feb 2020 21:51:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:55932 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728989AbgBZCvb (ORCPT ); Tue, 25 Feb 2020 21:51:31 -0500 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0FBD921744; Wed, 26 Feb 2020 02:51:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582685491; bh=OUGcqtr3slwiFA2R7LCmSyIH96FefNBvDVOEGJkbPG4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qu/zSUYOAQ9tXmWzOgoLPNgBh1WuBbX/46dvRHNsTu81c7I0agKHdUsithrjlsFXl /Sh3Tisnq1oz0Z+eEypyOYd4mLgcZeSQaTNjChNVbgO3MrICxDHKLkFDXmSL5DdRFC NRxCk7NAsxOwTkkN0myj3r+mrSNdhhOrNdriPR/8= Date: Tue, 25 Feb 2020 18:51:30 -0800 From: Andrew Morton To: Mel Gorman Cc: Michal Hocko , Vlastimil Babka , Ivan Babrou , Rik van Riel , Linux-MM , Linux Kernel Mailing List Subject: Re: [PATCH 0/3] Limit runaway reclaim due to watermark boosting Message-Id: <20200225185130.6a32a8a6920d11b4c098e90e@linux-foundation.org> In-Reply-To: <20200225141534.5044-1-mgorman@techsingularity.net> References: <20200225141534.5044-1-mgorman@techsingularity.net> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 Feb 2020 14:15:31 +0000 Mel Gorman wrote: > Ivan Babrou reported the following http://lkml.kernel.org/r/CABWYdi1eOUD1DHORJxTsWPMT3BcZhz++xP1pXhT=x4SgxtgQZA@mail.gmail.com is helpful. > Commit 1c30844d2dfe ("mm: reclaim small amounts of memory when > an external fragmentation event occurs") introduced undesired > effects in our environment. > > * NUMA with 2 x CPU > * 128GB of RAM > * THP disabled > * Upgraded from 4.19 to 5.4 > > Before we saw free memory hover at around 1.4GB with no > spikes. After the upgrade we saw some machines decide that they > need a lot more than that, with frequent spikes above 10GB, > often only on a single numa node. > > There have been a few reports recently that might be watermark boost > related. Unfortunately, finding someone that can reproduce the problem > and test a patch has been problematic. This series intends to limit > potential damage only. It's problematic that we don't understand what's happening. And these palliatives can only reduce our ability to do that. Rik seems to have the means to reproduce this (or something similar) and it seems Ivan can test patches three weeks hence. So how about a debug patch which will help figure out what's going on in there?