Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp249841pxb; Tue, 2 Feb 2021 04:21:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHCYC0c/65eGlC4pmpBhF7mFOehQH2LB+GBy+6h5AjZi2ADbTRs66zjBwc8p4KaUmseZTW X-Received: by 2002:a17:906:da0b:: with SMTP id fi11mr15393114ejb.392.1612268519243; Tue, 02 Feb 2021 04:21:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612268519; cv=none; d=google.com; s=arc-20160816; b=lWXvfdgII+x3EyDgvFziown7aKE06PCg3LCfYd3dpkAHdMJ//e0KxkMJNPDvSQCmoy 3nF3t7p2uW86RYfBk+JPtaa6hGkFTDkHsU5cjQXwR0vsNAqzvPOc7W/UfONJoqMczdfp cB8R2LopdzIwPvBsIFp927rK8tAhTvPl1eSg3yYuhNsozXGIfjQIxjIDBxiF3LaN8ICg 8iI9rFwBiQY3hRCaX2RnJCzOZ6bBh4L21iYu9ly6Zi8QmSxIiQtNjMbs5rxgYPEd4/RK vJesdI0Jj9/a75njFJJ26N1pOw/a1ZcNgS1FLG9OkqxY3BCpl34NFTa/VlS6LZuhPlOk FtfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=k2RaVcotdcFu8XtC0FHhOwZVl2mL0n0CI/DzN9Tnq0k=; b=dBWGV1Go3w2mFjo1UB71AbYlOkXevyL2Etlf01Eu251W9CitR6cwpGXMeV7oQZ56de CyWQZ8gqWbjb4QwqWVptgXoSUgK36jxTYp5SZ03ImQlrfqroVYEeC6wgiyfgf7ZbfBUO ZRDz4TMGsh+LIB0PpmyHKyogN18RnKiZm37lP9RxG+oMdxcU+j92ui6HiOf2SwJgBFko Pmd/PghKJe196lw05lxRmTdA6pMQ/GkwDW/XRaIBghtVpEq/Mwdw1NEmpkmMYOyZpYOc esya72vo80dgtiVbM6k/ojmmtVDptFPQZNBHg/aFmkTgJXrrA6cL93o6/e9G6Srpmys2 LDgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="Mlq/Kbsh"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y30si2737516ede.60.2021.02.02.04.21.34; Tue, 02 Feb 2021 04:21:59 -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=@infradead.org header.s=casper.20170209 header.b="Mlq/Kbsh"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231375AbhBBMS6 (ORCPT + 99 others); Tue, 2 Feb 2021 07:18:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230319AbhBBMR5 (ORCPT ); Tue, 2 Feb 2021 07:17:57 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82AB3C061573 for ; Tue, 2 Feb 2021 04:17:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=k2RaVcotdcFu8XtC0FHhOwZVl2mL0n0CI/DzN9Tnq0k=; b=Mlq/Kbsh9al83KXXilK1z+etHY Y8n56IRFwIVfPokruVKN9TPIMY+alFEyb5SDyf2oq+QFJX1LYSKwSvAE2/Nuc0bBlJHVhvr2Mu6iL CzDdpFw6bUhbC4FIdH2Vmo/2wdUWTSfo14IT/T8jCQVFVUwotOw1dYQat1LoBFb3GXaOpr75PASZa fSS5JO5CtZcfTX0s5TD5B6hcRcUe+DWp7GconOLA+4YNrBzZYbeVPvX3aDg0/bdAm70WKKjcy5mu/ kdmYkykXP/KM/jqOjdhGPp+29FyM6S5jVVqJlb7jMj6JMK2wAFs3QdUFlsnHPJ37ZoGcYgH3l/poc ljrJKQmQ==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l6ucG-00FAbn-Al; Tue, 02 Feb 2021 12:17:10 +0000 Date: Tue, 2 Feb 2021 12:17:08 +0000 From: Matthew Wilcox To: Yu Zhao Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, page-reclaim@google.com Subject: Re: Augmented Page Reclaim Message-ID: <20210202121708.GT308988@casper.infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's hard to know which 'note' refers to which reference. Here's my attempt to figure that out. On Tue, Feb 02, 2021 at 01:57:15AM -0700, Yu Zhao wrote: > Versatility > =========== > Userspace can trigger aging and eviction independently via the > ``debugfs`` interface [note]_ for working set estimation, proactive 1. `Long-term SLOs for reclaimed cloud computing resources `_ > reclaim, far memory tiering, NUMA-aware job scheduling, etc. The > metrics from the interface are easily interpretable, which allows > intuitive provisioning and discoveries like the Borg example above. > For a warehouse-scale computer, the interface is intended to be a > building block of a closed-loop control system, with a machine > learning algorithm being the controller. > > Simplicity > ========== > The workflow [note]_ is well defined and each step in it has a clear 2. `Profiling a warehouse-scale computer `_ > meaning. There are no magic numbers or heuristics involved but a few > basic data structures that have negligible memory footprint. This > simplicity has served us well as the scale and the diversity of our > workloads constantly grow. [...] > FAQ > === > What is the motivation for this work? > ------------------------------------- > In our case, DRAM is a major factor in total cost of ownership, and > improving memory overcommit brings a high return on investment. > Moreover, Google-Wide Profiling has been observing the high CPU > overhead [note]_ from page reclaim. 3. `Evaluation of NUMA-Aware Scheduling in Warehouse-Scale Clusters `_ > Why not try to improve the existing code? > ----------------------------------------- > We have tried but concluded the two limiting factors [note]_ in the 4. `Software-defined far memory in warehouse-scale computers `_ > existing code are fundamental, and therefore changes made atop them > will not result in substantial gains on any of the aspects above. > > What particular workloads does it help? > --------------------------------------- > This work optimizes page reclaim for workloads that are not IO bound, > because we find they are the norm on servers and clients in the cloud > era. It would most likely help any workloads that share the common > characteristics [note]_ we observed. 5. `Borg: the Next Generation `_