Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp1064758ima; Fri, 1 Feb 2019 15:47:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN4fVs2UrLGUI8exhMS/zEQNoAc48fdGRX93HMYbJYNohOBIlAJXOpI1IR4Na4NzqXufD0wQ X-Received: by 2002:a63:101:: with SMTP id 1mr37689224pgb.152.1549064867297; Fri, 01 Feb 2019 15:47:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549064867; cv=none; d=google.com; s=arc-20160816; b=zG04GPRwg2nBmb7sb/VmhjS5cGuVwEroEW5esxQgjkX5aGMpKpVjxkV0V/XQrsdnoN oJ3Xu+aLcYzSF3tmABPW4NIbz+pN0Gn17ssOvxI/qX7/uamRZOjDDtk/wFIomiS2jFQd 8vGAvS5f6HVepufVg4M/KSGMFCfneljFHsZXI0H65gnIZEs3k49yEm2xHS0dY8VDifYK nIFUZ3NWRSJCoGFgS9XatGoBpk/joEu5y/W9QYKhzTtxei7B/EnqP+kPWfI+Qn6Sc0fT j0KuJZ9g+Pp+wQFN2QP6E5Y39DBLil6OtyYFJ+9Cj+qMNbXrIyPMN/XVovsiyCBYrbpK 4pJw== 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=yJL58k6j9CfudRSOwvutkIcAOqj7ljyp9/qO12DG5jg=; b=B8VoZoAap+ZIXvLksq4eJI3hsulF59yYV0cuG4xW3HOpnFHlFQtDqAkoxguMeSbQuS L9wKHdoEmeMFr5oFrqyOgwtNMsd+Ppo0z6AwPkNCP9/cFWdtjlI62U84VJeYcDaCdMkj +WjbbaqJCh1L+3U5xhUQG2Czpbg1hGcSNqfvPzvbavy3nFG8718GlYyhhj3Bxg/G0QD7 ukOokeN5FwBPvyJv6IhMCIpowfhoWXapTTObPgRNaLEEmnxeGGaek/c72Ect2Xo2eYXx nggMVHFUKALHt4YrqhpT4VlfKT1DysYbClqEp+8o9GNMcf2e6oGjQ4G91ZdOi6a7q/Ob /hPw== 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 h7si8697142pls.326.2019.02.01.15.47.32; Fri, 01 Feb 2019 15:47:47 -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 S1726888AbfBAXjJ (ORCPT + 99 others); Fri, 1 Feb 2019 18:39:09 -0500 Received: from ipmail03.adl2.internode.on.net ([150.101.137.141]:47009 "EHLO ipmail03.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726190AbfBAXjJ (ORCPT ); Fri, 1 Feb 2019 18:39:09 -0500 Received: from ppp59-167-129-252.static.internode.on.net (HELO dastard) ([59.167.129.252]) by ipmail03.adl2.internode.on.net with ESMTP; 02 Feb 2019 10:09:06 +1030 Received: from dave by dastard with local (Exim 4.80) (envelope-from ) id 1gpiOn-0004mk-3p; Sat, 02 Feb 2019 10:39:05 +1100 Date: Sat, 2 Feb 2019 10:39:05 +1100 From: Dave Chinner To: Chris Mason Cc: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-xfs@vger.kernel.org" , Roman Gushchin , "akpm@linux-foundation.org" , "mhocko@kernel.org" , "vdavydov.dev@gmail.com" Subject: Re: [PATCH 1/2] Revert "mm: don't reclaim inodes with many attached pages" Message-ID: <20190201233905.GW6173@dastard> References: <20190130041707.27750-1-david@fromorbit.com> <20190130041707.27750-2-david@fromorbit.com> <25EAF93D-BC63-4409-AF21-F45B2DDF5D66@fb.com> <20190131013403.GI4205@dastard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, Jan 31, 2019 at 03:48:11PM +0000, Chris Mason wrote: > On 30 Jan 2019, at 20:34, Dave Chinner wrote: > > > On Wed, Jan 30, 2019 at 12:21:07PM +0000, Chris Mason wrote: > >> > >> > >> On 29 Jan 2019, at 23:17, Dave Chinner wrote: > >> > >>> From: Dave Chinner > >>> > >>> This reverts commit a76cf1a474d7dbcd9336b5f5afb0162baa142cf0. > >>> > >>> This change causes serious changes to page cache and inode cache > >>> behaviour and balance, resulting in major performance regressions > >>> when combining worklaods such as large file copies and kernel > >>> compiles. > >>> > >>> https://bugzilla.kernel.org/show_bug.cgi?id=202441 > >> > >> I'm a little confused by the latest comment in the bz: > >> > >> https://bugzilla.kernel.org/show_bug.cgi?id=202441#c24 > > > > Which says the first patch that changed the shrinker behaviour is > > the underlying cause of the regression. > > > >> Are these reverts sufficient? > > > > I think so. > > Based on the latest comment: > > "If I had been less strict in my testing I probably would have > discovered that the problem was present earlier than 4.19.3. Mr Gushins > commit made it more visible. > I'm going back to work after two days off, so I might not be able to > respond inside your working hours, but I'll keep checking in on this as > I get a chance." > > I don't think the reverts are sufficient. Roger has tested the two reverts more heavily against 5.0.0-rc3. Without the reverts, the machine locks up hard. With the two reverts applied, it runs along smoothly under extremely heavy load. https://bugzilla.kernel.org/show_bug.cgi?id=202441#c26 So, yes, these changes need to be reverted. Cheers, Dave. -- Dave Chinner david@fromorbit.com