Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2292791pxb; Mon, 20 Sep 2021 17:56:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxElyYaVpJHLtjeHn1HpYtxePrF7+dp2mNNIZDXrphmQlD8ZEYWOkskoIIz9c5SrcueaFRe X-Received: by 2002:a6b:2bce:: with SMTP id r197mr20861689ior.212.1632185761935; Mon, 20 Sep 2021 17:56:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632185761; cv=none; d=google.com; s=arc-20160816; b=H8m1j4vVUUq844HQQmzo3sFGhIpMMa1kxPV7CHZnXVU73Na/XHUrRdR46BUYek9a89 iy54s2XVUvN3yQ0W4OpwqhM3cfIvCj4tlJS980edEIOuyjMaRWUoxWktx9nW7JUhLTCX kaMpckariMmUjMVcVBfZ9+3+gSPjXz0SQd4oICM4EMZO7LgxV6YVOOurSyaRq79JB8+w B5sVwTX7z2lxhI2I/OvdBDVt4QAUsndVGqeyD81ujZGtnYOltGy4rI542kU+bGaMG/MN uLZOiPrADQ6BobXKwR6jSmp7S9eyBK121p9bWuQONZbs9nXF1Q2v8Kc6mMlNbt8WyT7+ yJZQ== 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:mail-followup-to:reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=7YZycW7OK1xqPCqQ0PYTJxyKG0/lg8miVizE0TtV33s=; b=OqD1gFKroaakKsCl4kpGJcedz4mEPZnpd6BqsXVj4+QkYV025Q19F3QA8CekUDxXt5 EWKpQKPO9kTMpZQqjRqrBHYNkJ8DT5wlMK26++Dpf2oXy+HC+F9nK6paZnXlYZJsLUki K8h6oED6jgfkzoumSIT/wvhHD11yYnN1wFYm3zNaJ4YPfm5B2ZvySRL9ewHE75EUDmSP Z5oyP2lylN6ddLKGCdhLezBCCkUnFKIXUmL1MX+WcZz/yjIN5lVrygka63pelyCXS80V 1MEckhelrgywVLBp+q0t9t3yM1XYBPIU35K3zBwMO5hMXuTj6GfR5Awp8F9uvldCTuf3 HX5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=nFG8Lwf9; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=GXP2WHPb; 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 r4si6789401ilb.106.2021.09.20.17.55.49; Mon, 20 Sep 2021 17:56:01 -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=nFG8Lwf9; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=GXP2WHPb; 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 S234235AbhITONc (ORCPT + 99 others); Mon, 20 Sep 2021 10:13:32 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:57632 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbhITONb (ORCPT ); Mon, 20 Sep 2021 10:13:31 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 3E77F21E7C; Mon, 20 Sep 2021 14:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1632147124; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7YZycW7OK1xqPCqQ0PYTJxyKG0/lg8miVizE0TtV33s=; b=nFG8Lwf9RHij/Hz5MLtk5b2dhULRS3DnSnRo6B0ABmwFh8POog9oEpE0zaXjtlL6i0UyLx DaV4jhCTh8Yk6X/A6TZaX0xiClYI2COB5CEmCn1J7kA+3YgaDzJDAkZvjpY1Xb/V6s0BAG beN+uvXFsT+aSVCTvAJQH6QrkwiDzqw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1632147124; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7YZycW7OK1xqPCqQ0PYTJxyKG0/lg8miVizE0TtV33s=; b=GXP2WHPbdYhcobfrUQXqE+v5htzJez2gLQ3UhwsIfmeeqW5/8NXg/+DBVe7PjIkQbFUNDw q4/Kp17W/Iw8r9CQ== Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id D161DA3B96; Mon, 20 Sep 2021 14:12:03 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 3E029DA7FB; Mon, 20 Sep 2021 16:11:52 +0200 (CEST) Date: Mon, 20 Sep 2021 16:11:52 +0200 From: David Sterba To: Mel Gorman Cc: Matthew Wilcox , Linux-MM , NeilBrown , Theodore Ts'o , Andreas Dilger , "Darrick J . Wong" , Michal Hocko , Dave Chinner , Rik van Riel , Vlastimil Babka , Johannes Weiner , Jonathan Corbet , Linux-fsdevel , LKML Subject: Re: [RFC PATCH 0/5] Remove dependency on congestion_wait in mm/ Message-ID: <20210920141152.GM9286@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Mel Gorman , Matthew Wilcox , Linux-MM , NeilBrown , Theodore Ts'o , Andreas Dilger , "Darrick J . Wong" , Michal Hocko , Dave Chinner , Rik van Riel , Vlastimil Babka , Johannes Weiner , Jonathan Corbet , Linux-fsdevel , LKML References: <20210920085436.20939-1-mgorman@techsingularity.net> <20210920125058.GI3959@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210920125058.GI3959@techsingularity.net> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 20, 2021 at 01:50:58PM +0100, Mel Gorman wrote: > On Mon, Sep 20, 2021 at 12:42:44PM +0100, Matthew Wilcox wrote: > > On Mon, Sep 20, 2021 at 09:54:31AM +0100, Mel Gorman wrote: > > > This has been lightly tested only and the testing was useless as the > > > relevant code was not executed. The workload configurations I had that > > > used to trigger these corner cases no longer work (yey?) and I'll need > > > to implement a new synthetic workload. If someone is aware of a realistic > > > workload that forces reclaim activity to the point where reclaim stalls > > > then kindly share the details. > > > > The stereeotypical "stalling on I/O" problem is to plug in one of the > > crap USB drives you were given at a trade show and simply > > dd if=/dev/zero of=/dev/sdb > > sync > > > > The test machines are 1500KM away so plugging in a USB stick but worst > comes to the worst, I could test it on a laptop. There's a device mapper target dm-delay [1] that as it says delays the reads and writes, so you could try to emulate the slow USB that way. [1] https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/delay.html