From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B3FBC433EF for ; Tue, 15 Feb 2022 14:49:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E19E56B0078; Tue, 15 Feb 2022 09:49:29 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DA2FB6B007B; Tue, 15 Feb 2022 09:49:29 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C1C1A6B007D; Tue, 15 Feb 2022 09:49:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0224.hostedemail.com [216.40.44.224]) by kanga.kvack.org (Postfix) with ESMTP id AEC0B6B0078 for ; Tue, 15 Feb 2022 09:49:29 -0500 (EST) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 5FCF7181AC9C6 for ; Tue, 15 Feb 2022 14:49:29 +0000 (UTC) X-FDA: 79145297658.07.A8D6243 Received: from outbound-smtp20.blacknight.com (outbound-smtp20.blacknight.com [46.22.139.247]) by imf15.hostedemail.com (Postfix) with ESMTP id AB195A0006 for ; Tue, 15 Feb 2022 14:49:28 +0000 (UTC) Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp20.blacknight.com (Postfix) with ESMTPS id 339CF1C3828 for ; Tue, 15 Feb 2022 14:49:27 +0000 (GMT) Received: (qmail 6599 invoked from network); 15 Feb 2022 14:49:26 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.17.223]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 15 Feb 2022 14:49:26 -0000 Date: Tue, 15 Feb 2022 14:49:24 +0000 From: Mel Gorman To: Shuang Zhai Cc: akpm@linux-foundation.org, djwong@kernel.org, efault@gmx.de, hakavlad@inbox.lv, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, mhocko@suse.com, regressions@lists.linux.dev, riel@surriel.com, vbabka@suse.cz Subject: Re: [PATCH v4 1/1] mm: vmscan: Reduce throttling due to a failure to make progress Message-ID: <20220215144924.GS3366@techsingularity.net> References: <20211202150614.22440-1-mgorman@techsingularity.net> <20220214211050.31049-1-szhai2@cs.rochester.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20220214211050.31049-1-szhai2@cs.rochester.edu> User-Agent: Mutt/1.10.1 (2018-07-13) X-Stat-Signature: 8n1dpnzq5hzn5hj8zw4dxfmatdujfxk7 X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: AB195A0006 Authentication-Results: imf15.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf15.hostedemail.com: domain of mgorman@techsingularity.net designates 46.22.139.247 as permitted sender) smtp.mailfrom=mgorman@techsingularity.net X-Rspam-User: X-HE-Tag: 1644936568-387611 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Feb 14, 2022 at 04:10:50PM -0500, Shuang Zhai wrote: > Hi Mel, > > Mel Gorman wrote: > > > > Mike Galbraith, Alexey Avramov and Darrick Wong all reported similar > > problems due to reclaim throttling for excessive lengths of time. > > In Alexey's case, a memory hog that should go OOM quickly stalls for > > several minutes before stalling. In Mike and Darrick's cases, a small > > memcg environment stalled excessively even though the system had enough > > memory overall. > > > > I recently found a regression when I tested MGLRU with fio on Linux > 5.16-rc6 [1]. After this patch was applied, I re-ran the test with Linux > 5.16, but the regression has not been fixed yet. > Am I correct in thinging that this only happens with MGLRU? -- Mel Gorman SUSE Labs