Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2148280imj; Fri, 8 Feb 2019 13:27:29 -0800 (PST) X-Google-Smtp-Source: AHgI3IarJ9MieVY+TLwc58acGF13wWCHdXx/rsc1SAKArDgxedPj8dG4uiJHgrnTlKJEgb/RyJ7S X-Received: by 2002:a63:1204:: with SMTP id h4mr22376136pgl.51.1549661249472; Fri, 08 Feb 2019 13:27:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549661249; cv=none; d=google.com; s=arc-20160816; b=qdlPoWS1ksmSDXi0ogQ8seSsaXrLpfEOuBUutF9TIyKpieLiZATf9KNg0bY9PbDZgk iZpg8J9uPvnhNZP389eJ76kTOBHjGfie787adiH51VIb1o2yMNF9kTN8yaib+gzGYcq5 REzErL3YoAnHEtmYgECeoTdxaGbuby6ntbKHsQIgeqnoY5Ht+/G0pYxjPcf/2b7A7Se+ tSxOpSmDd402eqtrtJUOZASmuRG41222r2J9XL1GDX168HxocNxYzNEsJ8tKYg6AHc8E BL4XKeaP6T+Goor2x0/IqviJOmbBq9Cg8B9+qAmjN+TV1IC2sDqS87NlOyR1SyIMAZd6 jILg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=w+26vZ9HLQSVanmE+t5OokxAUlh4Ochsyd/PUxyeTfM=; b=zD5m6flYgjxOljHdV8/JzHcOCjNfACuPPd5I2UjAFduZvAyhmWAnjaKwjdUmDNkscQ sTXa3cciP80XJXQzVU4917TV5Jv8w7wkfaqX7kUgSk7s7SlAPexw4EloMfGjf/dsXxlp TBpDo8DnO1jY09ciAN3iFbA1+a4/VQFihHw9RVd8v3+ciId39wefxrqEd9aeJoeuihcc gVK/98YYYPpFaIzCZ7XErqXf+WLsCYdN9UWj1CyJx7YLPkwmbUf3OvT6WF365RpCzpD+ RdSOVh3RgUMDvNXkDPZZpcTID+6lkv2RAoO/nWcHKIJmaRZPaubM1iphKT0Br4NJKKUI GgeA== ARC-Authentication-Results: i=1; mx.google.com; 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 m15si3288576pfd.3.2019.02.08.13.27.13; Fri, 08 Feb 2019 13:27:29 -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; 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 S1727325AbfBHVZf (ORCPT + 99 others); Fri, 8 Feb 2019 16:25:35 -0500 Received: from ipmail07.adl2.internode.on.net ([150.101.137.131]:2288 "EHLO ipmail07.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727176AbfBHVZf (ORCPT ); Fri, 8 Feb 2019 16:25:35 -0500 Received: from ppp59-167-129-252.static.internode.on.net (HELO dastard) ([59.167.129.252]) by ipmail07.adl2.internode.on.net with ESMTP; 09 Feb 2019 07:55:31 +1030 Received: from dave by dastard with local (Exim 4.80) (envelope-from ) id 1gsDeN-0006PR-2l; Sat, 09 Feb 2019 08:25:31 +1100 Date: Sat, 9 Feb 2019 08:25:31 +1100 From: Dave Chinner To: Andrew Morton Cc: Jan Kara , Roman Gushchin , Michal Hocko , Chris Mason , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-xfs@vger.kernel.org" , "vdavydov.dev@gmail.com" Subject: Re: [PATCH 1/2] Revert "mm: don't reclaim inodes with many attached pages" Message-ID: <20190208212531.GN14116@dastard> References: <20190130041707.27750-1-david@fromorbit.com> <20190130041707.27750-2-david@fromorbit.com> <25EAF93D-BC63-4409-AF21-F45B2DDF5D66@fb.com> <20190131013403.GI4205@dastard> <20190131091011.GP18811@dhcp22.suse.cz> <20190131185704.GA8755@castle.DHCP.thefacebook.com> <20190131221904.GL4205@dastard> <20190207102750.GA4570@quack2.suse.cz> <20190207213727.a791db810341cec2c013ba93@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190207213727.a791db810341cec2c013ba93@linux-foundation.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 07, 2019 at 09:37:27PM -0800, Andrew Morton wrote: > On Thu, 7 Feb 2019 11:27:50 +0100 Jan Kara wrote: > > > On Fri 01-02-19 09:19:04, Dave Chinner wrote: > > > Maybe for memcgs, but that's exactly the oppose of what we want to > > > do for global caches (e.g. filesystem metadata caches). We need to > > > make sure that a single, heavily pressured cache doesn't evict small > > > caches that lower pressure but are equally important for > > > performance. > > > > > > e.g. I've noticed recently a significant increase in RMW cycles in > > > XFS inode cache writeback during various benchmarks. It hasn't > > > affected performance because the machine has IO and CPU to burn, but > > > on slower machines and storage, it will have a major impact. > > > > Just as a data point, our performance testing infrastructure has bisected > > down to the commits discussed in this thread as the cause of about 40% > > regression in XFS file delete performance in bonnie++ benchmark. > > > > Has anyone done significant testing with Rik's maybe-fix? Apart from pointing out all the bugs and incorrect algorithmic assumptions it makes, no. Cheers, Dave. -- Dave Chinner david@fromorbit.com