From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8092EC433F5 for ; Tue, 11 Jan 2022 16:07:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5o7J5AULldcQgd7GUZDTIFJCK/fyqblgB9YUpjKUozc=; b=Ukij9yJlIQ81qq nWiOe6JaysMsqmiyjQ5MdZI2z673HYGT7pX04BTWBwkMwj1HP/fJyQbBveI8HBsDHZc871G1uvCSR DgDjUgoJSgFXw5JEpiYQX6oD4WVpRbgLnH3ENmiZicUtNrAjHF7wVRqFossBt7jV8XY5+LgKPr47z fN5h9cfGk+TFTdnDZC6nfQeZUWpoXXd/kw43TmIzjk2exPYmunJsVHoUyyCpIHOB0eW8jUyqCUGEO NgQlt0WUQ4ydqzA2uRT0b9YhdhLLuTZfa6FPHDCqsYw6WQ9PLmOk+Mxh+9Eduq5T9pYNGMd2Z1qme 4EUzA4Ks5UFtGWe/Hrug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7Jeq-00Gqzp-KM; Tue, 11 Jan 2022 16:06:00 +0000 Received: from slate.cs.rochester.edu ([128.151.167.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7Jem-00GqyU-L6 for linux-arm-kernel@lists.infradead.org; Tue, 11 Jan 2022 16:05:58 +0000 Received: from node1x10a.cs.rochester.edu (node1x10a.cs.rochester.edu [192.5.53.74]) by slate.cs.rochester.edu (8.14.7/8.14.7) with ESMTP id 20BG55iO020545 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 11 Jan 2022 11:05:05 -0500 Received: from node1x10a.cs.rochester.edu (localhost [127.0.0.1]) by node1x10a.cs.rochester.edu (8.15.2/8.15.1) with ESMTP id 20BG55J9002813; Tue, 11 Jan 2022 11:05:05 -0500 Received: (from szhai2@localhost) by node1x10a.cs.rochester.edu (8.15.2/8.15.1/Submit) id 20BG4vuZ002812; Tue, 11 Jan 2022 11:04:57 -0500 From: Shuang Zhai To: yuzhao@google.com Cc: Michael@michaellarabel.com, ak@linux.intel.com, akpm@linux-foundation.org, axboe@kernel.dk, bgeffon@google.com, catalin.marinas@arm.com, corbet@lwn.net, dave.hansen@linux.intel.com, djbyrne@mtu.edu, hannes@cmpxchg.org, hdanton@sina.com, heftig@archlinux.org, holger@applied-asynchrony.com, jsbarnes@google.com, kernel@xanmod.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, mgorman@suse.de, mhocko@kernel.org, page-reclaim@google.com, riel@surriel.com, sofia.trinh@edi.works, steven@liquorix.net, suleiman@google.com, szhai2@cs.rochester.edu, torvalds@linux-foundation.org, vbabka@suse.cz, will@kernel.org, willy@infradead.org, x86@kernel.org, ying.huang@intel.com Subject: Re: [PATCH v6 0/9] Multigenerational LRU Framework Date: Tue, 11 Jan 2022 11:04:55 -0500 Message-Id: <20220111160455.2773-1-szhai2@cs.rochester.edu> X-Mailer: git-send-email 2.21.3 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220111_080556_846881_FFEF9091 X-CRM114-Status: GOOD ( 20.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Yu Zhao wrote: > On 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 >>> ==== >>> The current page reclaim is too expensive in terms of CPU usage and it >>> often makes poor choices about what to evict. This patchset offers an >>> alternative solution that is performant, versatile and >>> straightforward. >> >> >> >>> Summery >>> ======= >>> 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 changes >>> with similar effects. >>> >>> Our options, accordingly, are: >>> 1. Given the amount of evidence, the reported improvements will likely >>> 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. >> >> Hi Andrew, Linus, >> >> Can you please take a look at this patchset and let me know if it's >> 5.17 material? >> >> My 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. > > Downstream kernel maintainers who have been carrying MGLRU for more than > 3 versions, can you please provide your Acked-by tags? > > Having this patchset in the mainline will make your job easier :) > > Alexandre - the XanMod Kernel maintainer > https://xanmod.org > > Brian - the Chrome OS kernel memory maintainer > https://www.chromium.org > > Jan - the Arch Linux Zen kernel maintainer > https://archlinux.org > > Steven - the Liquorix kernel maintainer > https://liquorix.net > > Suleiman - the ARCVM (Android downstream) kernel memory maintainer > https://chromium.googlesource.com/chromiumos/third_party/kernel > > Also my gratitude to those who have helped test MGLRU: > > Daniel - researcher at Michigan Tech > benchmarked memcached > > Holger - who has been testing/patching/contributing to various > subsystems since ~2008 > > Shuang - researcher at University of Rochester > benchmarked fio and provided a report > > Sofia - EDI https://www.edi.works > benchmarked the top eight memory hogs and provided reports > > Can you please provide your Tested-by tags? This will ensure the credit > for your contributions. > > Thanks! I have tested MGLRU using fio [1]. The performance improvement is fabulous. I hope this patchset could eventually get merged to enable large scale test and let more users talk about their experience. Tested-by: Shuang Zhai [1] https://lore.kernel.org/lkml/20220105024423.26409-1-szhai2@cs.rochester.edu/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel