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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4263CC433FE for ; Wed, 1 Dec 2021 13:02:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349464AbhLANFV (ORCPT ); Wed, 1 Dec 2021 08:05:21 -0500 Received: from outbound-smtp15.blacknight.com ([46.22.139.232]:53079 "EHLO outbound-smtp15.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244537AbhLANFT (ORCPT ); Wed, 1 Dec 2021 08:05:19 -0500 Received: from mail.blacknight.com (pemlinmail02.blacknight.ie [81.17.254.11]) by outbound-smtp15.blacknight.com (Postfix) with ESMTPS id A6C481C46DE for ; Wed, 1 Dec 2021 13:01:57 +0000 (GMT) Received: (qmail 12057 invoked from network); 1 Dec 2021 13:01:57 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.17.29]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 1 Dec 2021 13:01:57 -0000 Date: Wed, 1 Dec 2021 13:01:55 +0000 From: Mel Gorman To: Mike Galbraith Cc: Alexey Avramov , Andrew Morton , Michal Hocko , Vlastimil Babka , Rik van Riel , Darrick Wong , regressions@lists.linux.dev, Linux-fsdevel , Linux-MM , LKML Subject: Re: [PATCH 1/1] mm: vmscan: Reduce throttling due to a failure to make progress Message-ID: <20211201130155.GT3366@techsingularity.net> References: <20211125151853.8540-1-mgorman@techsingularity.net> <20211127011246.7a8ac7b8@mail.inbox.lv> <20211129150117.GO3366@techsingularity.net> <20211201010348.31e99637@mail.inbox.lv> <20211130172754.GS3366@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 Tue, Nov 30, 2021 at 06:59:58PM +0100, Mike Galbraith wrote: > On Tue, 2021-11-30 at 17:27 +0000, Mel Gorman wrote: > > > > Obviously a fairly different experience and most likely due to the > > underlying storage. > > I bet a virtual nickle this is the sore spot. > You win a virtual nickle! Using an older laptop with slower storage and less memory a frequency analysis of the stall reasons and source showed the top triggering event was Event count: 6210 mm_vmscan_throttled: nid=0 usec_timeout=100000 usect_delayed=xxx reason=VMSCAN_THROTTLE_WRITEBACK => trace_event_raw_event_mm_vmscan_throttled => reclaim_throttle => shrink_node => do_try_to_free_pages => try_to_free_pages => __alloc_pages_slowpath.constprop.114 => __alloc_pages => folio_alloc => page_cache_ra_unbounded => filemap_fault => __do_fault => __handle_mm_fault => handle_mm_fault => do_user_addr_fault => exc_page_fault => asm_exc_page_fault -- Mel Gorman SUSE Labs