Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5367143pxb; Wed, 19 Jan 2022 17:12:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJx17RQ15cOT956UsOwO8y0jZmSLSnfd9GPAS1XRSar0OXBsvCrbISv3LqGx6NCsTP/xyap+ X-Received: by 2002:a17:90a:e50f:: with SMTP id t15mr7623213pjy.52.1642641144159; Wed, 19 Jan 2022 17:12:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642641144; cv=none; d=google.com; s=arc-20160816; b=Cxhop0ytPHGAGdsz4v0oDcnbdMW3hx07oMieGdNE0jcRdoRiJzDKpQaBNfiNNNTfY6 iTdkj2/ZflJxJseORsj1WuugYTCkdbxBsHUQA5EQ61oxh0T0QDqmP3YVGBs77fJbgqtq HiBYoqLADEfL+7jZvQW5P22UW1B5mYwxXIKHL9btw4vOCCS92tnY22ZaWI8Tc189P2KQ kGd+AvgPc77Rkoe730SDzhLQfeUcTtkIAForEBISC32nUMafdUoNmP75WOjl9/Sw2PgU O+P4xmuvgi5kJWwsHKVmxTGaGku5LoQ8J5dYHmIPWmWct1+u1eEthjswQo9DC7CxQF5g KhIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:references:in-reply-to:cc:to :subject:message-id:from:content-transfer-encoding:date:mime-version; bh=hOtzxRssqC3l7oqL8Wf80/oCWxDs7JXspEQpiCwzMik=; b=AnTA34PfXS0Rif9Dx5wFMctGUSt3Gi+Tfiz1C+yLcstJeg/HHrP4LMgdG8G6fqBqZS ithRuDrRno1KrbONZXRRAURUuheQ38VUYAtXyFi02k2Xhe41CtAZ9c1UX16/TS6Sy3Js RGcwsjugBw+oXSSz2DboSkTvcHNEPotIHhB5Sq72+qiDa9NvKn9U+GsqqTHzQP9sea1P 96eDmlu7cLaMyUJsAi9zC7qiseuVGOTQJprfdBuAirarw0VVeJjHJuDVx06OnqK9By/Z 1A18ycoy6Ke9vgboaAicvyXintFy9kXGsribZTLGAT5XfrqywLWs13YTrTc5UfUlufnV 4t+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chaos-reins.com header.s=cloudron header.b="IgaPi/pt"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=chaos-reins.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bd10si1390389plb.13.2022.01.19.17.12.11; Wed, 19 Jan 2022 17:12:24 -0800 (PST) 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=@chaos-reins.com header.s=cloudron header.b="IgaPi/pt"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=chaos-reins.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232420AbiARJnj (ORCPT + 99 others); Tue, 18 Jan 2022 04:43:39 -0500 Received: from my.chaos-reins.com ([104.248.178.247]:48486 "EHLO my.chaos-reins.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbiARJni (ORCPT ); Tue, 18 Jan 2022 04:43:38 -0500 X-Greylist: delayed 455 seconds by postgrey-1.27 at vger.kernel.org; Tue, 18 Jan 2022 04:43:38 EST Received: (Haraka outbound); Tue, 18 Jan 2022 09:36:01 +0000 Authentication-Results: my.chaos-reins.com; auth=pass (login) Received: from m.chaos-reins.com (21d594ba-beef-4400-bc88-b496d6dacd5a.cloudron [172.18.16.1]) by my.chaos-reins.com (Haraka/2.8.28) with ESMTPA id 8630A604-7CDC-4F56-BC02-9865974B8D06.1 envelope-from (authenticated bits=0); Tue, 18 Jan 2022 09:36:01 +0000 MIME-Version: 1.0 Date: Tue, 18 Jan 2022 09:36:01 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.16.0 From: "Donald Carr" Message-ID: Subject: Re: [PATCH v6 0/9] Multigenerational LRU Framework To: "Yu Zhao" Cc: "Andi Kleen" , "Catalin Marinas" , "Dave Hansen" , "Hillf Danton" , "Jens Axboe" , "Jesse Barnes" , "Johannes Weiner" , "Jonathan Corbet" , "Matthew Wilcox" , "Mel Gorman" , "Michael Larabel" , "Michal Hocko" , "Rik van Riel" , "Vlastimil Babka" , "Will Deacon" , "Ying Huang" , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, page-reclaim@google.com, x86@kernel.org, "Andrew Morton" , "Linus Torvalds" In-Reply-To: References: <20220104202227.2903605-1-yuzhao@google.com> DKIM-Signature: v=1;a=rsa-sha256;bh=hOtzxRssqC3l7oqL8Wf80/oCWxDs7JXspEQpiCwzMik=;c=relaxed/simple;d=chaos-reins.com;h=from:subject:date:message-id:to:cc:mime-version;s=cloudron;b=IgaPi/pt7BRp7bjlfgUvPiJN7/YwMQCMwsmNETelA7tikFfLy570SUa2bNHmc4quqjevtpMhwUDXzURBvYqJNzY1ROqcKc2c6ZLQ04ELbm4JAkFFawva0U7U81kmDAYKFrN4lAY/5PPvwisV1HrpK4vOvwuSe45R9CPeWA44Hpw= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org January 18, 2022 1:21 AM, "Yu Zhao" wrote: > On Tue, Jan 11, 2022 at 01:41:22AM -0700, Yu Zhao wrote: >=20 >>=20On Tue, Jan 04, 2022 at 01:30:00PM -0700, Yu Zhao wrote: >> On Tue, Jan 04, 2022 at 01:22:19PM -0700, Yu Zhao wrote: >>> TLDR >>> =3D=3D=3D=3D >>> The current page reclaim is too expensive in terms of CPU usage and i= t >>> often makes poor choices about what to evict. This patchset offers an >>> alternative solution that is performant, versatile and >>> straightforward. >>=20 >>=20 >>=20 >>>=20Summery >>> =3D=3D=3D=3D=3D=3D=3D >>> The facts are: >>> 1. The independent lab results and the real-world applications >>> indicate substantial improvements; there are no known regressions. >>> 2. Thrashing prevention, working set estimation and proactive reclaim >>> work out of the box; there are no equivalent solutions. >>> 3. There is a lot of new code; nobody has demonstrated smaller change= s >>> with similar effects. >>>=20 >>>=20Our options, accordingly, are: >>> 1. Given the amount of evidence, the reported improvements will likel= y >>> materialize for a wide range of workloads. >>> 2. Gauging the interest from the past discussions [14][15][16], the >>> new features will likely be put to use for both personal computers >>> and data centers. >>> 3. Based on Google's track record, the new code will likely be well >>> maintained in the long term. It'd be more difficult if not >>> impossible to achieve similar effects on top of the existing >>> design. >>=20 >>=20Hi Andrew, Linus, >>=20 >>=20Can you please take a look at this patchset and let me know if it's >> 5.17 material? >>=20 >>=20My goal is to get it merged asap so that users can reap the benefits >> and I can push the sequels. Please examine the data provided -- I >> think the unprecedented coverage and the magnitude of the improvements >> warrant a green light. >=20 >=20My gratitude to Donald who has been helping test MGLRU since v2: >=20 >=20Donald Carr (d@chaos-reins.com) >=20 >=20Founder of Chaos Reins (http://chaos-reins.com), an SF based > consultancy company specializing in designing/creating embedded > Linux appliances. Tested-by: Donald Carr > Can you please provide your Tested-by tags? This will ensure the credit > for your contributions. >=20 >=20Thanks!