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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 178FAC4332F for ; Tue, 4 Jan 2022 20:30:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232797AbiADUaH (ORCPT ); Tue, 4 Jan 2022 15:30:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232255AbiADUaG (ORCPT ); Tue, 4 Jan 2022 15:30:06 -0500 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28C1AC061761 for ; Tue, 4 Jan 2022 12:30:06 -0800 (PST) Received: by mail-il1-x12c.google.com with SMTP id f17so29163346ilj.11 for ; Tue, 04 Jan 2022 12:30:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bul4qlld97QBjtDSOOsdxIpEMimKYTW5dlcNbaowlwI=; b=mtOJsGe1HP0q/Qhh/bycX0h7Jl/2jwzWfmiCyFlRg7R9A2TbdfKxdP8MT5k8D3hwYG dT7Ui1OUrpbhvH9QaHr78W0WdOnp64FBmr+S7Q0Vpeg5LpyfuffPNRR9HI3Xbxe8isPN F1Sjctn+bJI+/w+T9FmffZPNjQUR5pzoQaQXQWByf530JChpNIL06htkS0sLXiE/CxEA gLcuxfQ6BwNSvI3d995Wjh3kaRM06X91TN6q8ctqymYXrDluJ4ns16GLmg4BF0TWfb+K rTRwjSYscljigBMSX1uYI63ZSp0B+NmdoJSZ0rSu3In2kLIawYXWswXTAj4tL5YXTQGP BRSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bul4qlld97QBjtDSOOsdxIpEMimKYTW5dlcNbaowlwI=; b=19gZOde4rbFKMWtp1UDyc0+4d/zT+27TENB7B//dUPaLvU9sXffen+M/CE0G3vkNAD 0WzCvEIfYuUnJ8SGPCU3ZH22gMSexMgETudG8zX6xOcsSCorhLylV9gH8SLCgs8AZQoZ YHkIyDLLC7XWVmvdtUNRgmtgeuFUILmHBarBmOPsRx7suHmzOj6VK+t69l36elFLTDqt FAN+tpvRwZrueXMebhGpooaUPzbfubmeKPeJ6LyHwNVeuwn50ANt/DBrw1XHuoCotE94 HwzNUFikMTK07z06qBLoqBkOTLpd/BP1HFltS3kpHzaMsnK8SxdsNqHieMepK1NuefEU kbrA== X-Gm-Message-State: AOAM533rYrd2IYIp3HMR+1PWntWx2LTP9APzMzvGXVxQvEaTy+uMpcDN 4A7B+nMu6k/9KAE/0saKFX6bPA== X-Google-Smtp-Source: ABdhPJwvrfas8nfe+PA6BOX0tHt36uxsoseV9gaRTUzX91V4WBmk/Mv40lM9zPNj86T6Z6k0gl7T1Q== X-Received: by 2002:a05:6e02:1567:: with SMTP id k7mr23098838ilu.46.1641328205445; Tue, 04 Jan 2022 12:30:05 -0800 (PST) Received: from google.com ([2620:15c:183:200:6c8c:5506:7ca2:9dfd]) by smtp.gmail.com with ESMTPSA id k13sm29592220iow.45.2022.01.04.12.30.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 12:30:05 -0800 (PST) Date: Tue, 4 Jan 2022 13:30:00 -0700 From: Yu Zhao To: Andrew Morton , Linus Torvalds 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 Subject: Re: [PATCH v6 0/9] Multigenerational LRU Framework Message-ID: References: <20220104202227.2903605-1-yuzhao@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220104202227.2903605-1-yuzhao@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks! 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 D35E7C433F5 for ; Tue, 4 Jan 2022 20:31:50 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=e+8XoMiOw12NsOUFWGoby69hIXU7vmK/vIn5jKusNGY=; b=4nfvSwFXRLpDhJ hxHN2CVWqyMW7mVVphF8NbgHYPDw5EYkkrSBDyN64grtmFDed/nJUsOkCkvhvQtqIz1I2ldEk8bP4 9TG+GLoA7rkWKDkjBqjyMPOcSrT0eqMZpsAHs1OT235aX30aD+D8SUJDMJ85D1xG4Q1oQM4Kf48RE QvDlY8z4O2u90/brnz7EXJG19PzntEaMzOLmbqxiPMhKLZa5VYUYyjTl8pwSWUVWG9Cyv/4mKoXX8 cFfOmVr603fmtwxDCsOpEhactFvpXyf04UbYqFi9qykULlfpfbEcGXs2zGeuMcOP69Jx9k1PmooX0 b4qHWwHiOLU+tbV3Oxuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4qRk-00CpDS-BI; Tue, 04 Jan 2022 20:30:16 +0000 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4qRd-00Cp9s-Un for linux-arm-kernel@lists.infradead.org; Tue, 04 Jan 2022 20:30:11 +0000 Received: by mail-il1-x130.google.com with SMTP id g5so29186106ilj.12 for ; Tue, 04 Jan 2022 12:30:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bul4qlld97QBjtDSOOsdxIpEMimKYTW5dlcNbaowlwI=; b=mtOJsGe1HP0q/Qhh/bycX0h7Jl/2jwzWfmiCyFlRg7R9A2TbdfKxdP8MT5k8D3hwYG dT7Ui1OUrpbhvH9QaHr78W0WdOnp64FBmr+S7Q0Vpeg5LpyfuffPNRR9HI3Xbxe8isPN F1Sjctn+bJI+/w+T9FmffZPNjQUR5pzoQaQXQWByf530JChpNIL06htkS0sLXiE/CxEA gLcuxfQ6BwNSvI3d995Wjh3kaRM06X91TN6q8ctqymYXrDluJ4ns16GLmg4BF0TWfb+K rTRwjSYscljigBMSX1uYI63ZSp0B+NmdoJSZ0rSu3In2kLIawYXWswXTAj4tL5YXTQGP BRSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bul4qlld97QBjtDSOOsdxIpEMimKYTW5dlcNbaowlwI=; b=u09pQCcRJ4D/jygZ+jTJnwxshf00CM7BoUk3rkpho1cqOUMv3OpTMah/iag3fHSBft Q2srjPd9Y59OJamdbgoher/W1yNLhtjMMGC22fP0C/GdVk7qe3NK0N7uAWPLeROnUZGe LPxrUz9rlh06S5masnge0ex3hPJOrCUFOXwLeX0eTPqR6vMX63For8+WfxlF5BjmR+Dd mJn5lfElyqq6Rf8F8Q93a+xx9qlvSugFfSLNFbaGmwVZRVeJtHG+wAlblWBfXLtI7DuU KxagGKPWyE2npQ6kRw+LjGs/FNE8R1xw+ZfXWvpoZC52/jkxUXA8FouQ47EE+ipz85QV +J+A== X-Gm-Message-State: AOAM532Qg1s5KmLe7sgwXdxnohQuTB0xANr4WyFEXpZM3VOj9ylB1v1d 3hrlWElcLRuRj7PRhBhq1CfQhw== X-Google-Smtp-Source: ABdhPJwvrfas8nfe+PA6BOX0tHt36uxsoseV9gaRTUzX91V4WBmk/Mv40lM9zPNj86T6Z6k0gl7T1Q== X-Received: by 2002:a05:6e02:1567:: with SMTP id k7mr23098838ilu.46.1641328205445; Tue, 04 Jan 2022 12:30:05 -0800 (PST) Received: from google.com ([2620:15c:183:200:6c8c:5506:7ca2:9dfd]) by smtp.gmail.com with ESMTPSA id k13sm29592220iow.45.2022.01.04.12.30.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 12:30:05 -0800 (PST) Date: Tue, 4 Jan 2022 13:30:00 -0700 From: Yu Zhao To: Andrew Morton , Linus Torvalds 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 Subject: Re: [PATCH v6 0/9] Multigenerational LRU Framework Message-ID: References: <20220104202227.2903605-1-yuzhao@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220104202227.2903605-1-yuzhao@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220104_123010_043481_E9F3C627 X-CRM114-Status: GOOD ( 18.78 ) 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 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. Thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel