X-Received: by 2002:a17:902:b582:b0:14c:a63d:3df6 with SMTP id a2-20020a170902b58200b0014ca63d3df6mr155957pls.51.1645630873959; Wed, 23 Feb 2022 07:41:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645630873; cv=none; d=google.com; s=arc-20160816; b=BNQf4A8TTa6VktCJl3R+BGqPDcF75M7Iw70yv4w5yibq/biiSvmJt2c1YTu+nRP4/a X5cTZlOQxjI9T80ggfx1QXVgZ1YWklsZfEFnlJBM3A36OZFmH+j3q8FuKROsd9R8QqG3 +0tqy/vEo6KZZf+Fgrr2wsDVe2V7yXGWDrBHYYGOt7OUfEW4MK1TXmpBA57hXXIXWqE7 Bo4IPlhzPw6CrtsNcbCSXqmksBik7YA8nLBowO/sMBvXcgVGVuds8+jSv09D+wQjctuN akUyCFA16VWUbtV2jxI/Eah+W/piCnlZ4/OZgbmhZ1pC548uvkZXDOSC0KIty/umJ0yG COqw== 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=N8d+Wg2Zai+Wx1yz6b+ggcHHWBWDzGzjJD2ngZGTt54=; b=Dzma0ik9bnligqUeRVeZMSwIN9eEcwGjbgtlceTQ0l5S9ma0Pbtdem599zI7zel2DU kMk2fUAoiF6lmdS+XEOxw2Ugt6OocEAvJxD1U+ykBfGLEM97WjlFoKpwuxVwRE6XMSsn UZrkhVFQqO+Kya5pJ1sh+khcwIhcwNRZCI2AyhilKcH+Ivu4qhiAK7siy654cFqbRH98 TUI18Vs+2uj0JJ3k1fAun0UVysuLn1TkVNaa/WOiujEqmTprVTVWUClXC60kCDq1UqSz 4IJ6oFeaD1iQqpujwlgf9KLTOHff7L+FDOKKn9FU0TZX53fFFbcmn51t2eGjzBHJ6qHw pEyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 66si13232302pfx.22.2022.02.23.07.40.58; Wed, 23 Feb 2022 07:41:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240572AbiBWMuj (ORCPT + 99 others); Wed, 23 Feb 2022 07:50:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231601AbiBWMuh (ORCPT ); Wed, 23 Feb 2022 07:50:37 -0500 Received: from outbound-smtp59.blacknight.com (outbound-smtp59.blacknight.com [46.22.136.243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BF50A88AE for ; Wed, 23 Feb 2022 04:50:06 -0800 (PST) Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp59.blacknight.com (Postfix) with ESMTPS id EBDBCFAB02 for ; Wed, 23 Feb 2022 12:50:04 +0000 (GMT) Received: (qmail 528 invoked from network); 23 Feb 2022 12:50:04 -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); 23 Feb 2022 12:50:04 -0000 Date: Wed, 23 Feb 2022 12:50:02 +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: <20220223125002.GE4423@techsingularity.net> References: <20220215144924.GS3366@techsingularity.net> <20220222172731.31949-1-szhai2@cs.rochester.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20220222172731.31949-1-szhai2@cs.rochester.edu> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 22, 2022 at 12:27:31PM -0500, Shuang Zhai wrote: > Mel Gorman wrote: > > 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? > > Sorry about the confusion and let me clarify on this. The regression happens > on upstream Linux with the default page replacement mechanism. Ok, the fio command for me simply exits with an error and even if it didn't the test machine I have with persistent memory does not have enough pmem to trigger memory reclaim issues with fio. Can you do the following please? # echo 1 > vmscan/mm_vmscan_throttled/enable # cat /sys/kernel/debug/tracing/trace_pipe > trace.out and run the test? Compress trace.out with xz and send it to me by mail. If the trace is too large, send as much as you can. -- Mel Gorman SUSE Labs