Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1300321pxb; Wed, 10 Feb 2021 05:24:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJz8BoYRdV6JGMHFPGS2GiGVSxRWO3YFCgAJY7/cRQbSgyRXiQdTuhQsx1+ATEzIrlx6gslI X-Received: by 2002:a17:906:bcd4:: with SMTP id lw20mr2942915ejb.415.1612963478297; Wed, 10 Feb 2021 05:24:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612963478; cv=none; d=google.com; s=arc-20160816; b=fnt1+9IVWvfE6KuYF+xFhkOA0PXpdPhBcc7hp37OTMPvahPOfwrCvVrfULarxoJPzy 3Sgt8dgrFne+HR6G3XfTzbhc/K3HUJvxIrjCdhHw75Riu5wo2UA4Hk7DzRLLJszOVQ6h +GNd8RWKjaD2gnrHACWlhFQLUYeLsnKKFLAc9T7lzVwQBWPvVXtaVFMs0aNenK+pTBEh KhyPMid4v488YWGsVaZktWVy8cfpNBYo6GTV6r2/DfW8LI8kdDWxARUUKoI/vGLvozBc +5jL1Uy1ElvnrGISMFXNraDzjy55fgdwa5QNXZqyQyq3AyyZwWUfkfTSTfhLfUkRnDMJ v5iQ== 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=mJ/FLvZfbmUWb+LKB9yPiOaObzH1yEtwvoqn84DYlnI=; b=dj1iAkbDyocLkuA9vaxIXJoJI4wlKjvF1OBG9WBri0O7oNjrDvELEtZTcV7Fcfgdyj H+JqS3N+17weSnW3b+wLtwCsOx3TUjZ6g5sQOKs5WqJJ3TlcXUn/MO/U0T4hO6yS0gXM YRBz5MDpKp2LGBY1+p/Kk9qKtLig/PORNKBJOwOwMvSkbUsnY/GwGiw63NAceFVEH5dK 7STA2WJ3Dpg064KRk001EHgctQr+b7Ojeyeg33CiC16M+X2JKBvBAvC55KvzNCCz+tfc 5zeJCiCiU+o3j6DHfTozybeCgP4bHWPm4U4aoYVsROmgWW3Qyq7vkw7aIN4kdSzQXgI5 Enkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=eO3AAJoc; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr8si1237264ejc.138.2021.02.10.05.24.14; Wed, 10 Feb 2021 05:24:38 -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=@suse.com header.s=susede1 header.b=eO3AAJoc; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230267AbhBJNXG (ORCPT + 99 others); Wed, 10 Feb 2021 08:23:06 -0500 Received: from mx2.suse.de ([195.135.220.15]:40642 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231942AbhBJNWy (ORCPT ); Wed, 10 Feb 2021 08:22:54 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1612963326; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mJ/FLvZfbmUWb+LKB9yPiOaObzH1yEtwvoqn84DYlnI=; b=eO3AAJocFz7hUWdWkbQstm4HNlOwO/MjkW99G5zLU2b3IIfvsQhzApBML0ToHFuS6xgNL/ uZPG9HZCCiD+q8r5IdyP9+X3+dWknvVaunBpLXeNMC3u3JmGp8KkSCdqFy4NiIQkmsfbcb 2XTX5GvVTA8USYkqEGRDExmBMPodhhQ= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id C932EAEAB; Wed, 10 Feb 2021 13:22:06 +0000 (UTC) Date: Wed, 10 Feb 2021 14:22:05 +0100 From: Michal Hocko To: Yu Zhao Cc: linux-mm@kvack.org, Sonny Rao , Jann Horn , Matthew Wilcox , Jesse Barnes , Linux Kernel Mailing List , page-reclaim@google.com Subject: Re: [page-reclaim] Augmented Page Reclaim Message-ID: 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 On Wed 10-02-21 00:12:38, Yu Zhao wrote: > On Tue, Feb 09, 2021 at 01:32:58PM -0800, Jesse Barnes wrote: > > > ====================== > > > Augmented Page Reclaim > > > ====================== > > > We would like to share a work with you and see if there is enough > > > interest to warrant a run for the mainline. This work is a part of > > > result from a decade of research and experimentation in memory > > > overcommit at Google: an augmented page reclaim that, in our > > > experience, is performant, versatile and, more importantly, simple. > > > > Per discussion on IRC, maybe some additional background would help. > > And I'll add more details to the doc included in the tree once I've > finished collecting feedback. Please be as specific as possible early. > > In looking at browser workloads on Chrome OS, we found that reclaim was: > > 1) too expensive in terms of CPU usage > > We have two general metrics for this item: CPU time spent on page > reclaim and (direct) page reclaim latency. CPU usage is important to > everybody but latency is also quite important for phones, laptops, > etc. While this is true in general, more details would be more than welcome. What is the source of the additional overhead and how does your work address that? This applies to most of other areas you are covering here and in the original cover letter. Especially when you do not plan to build on an existing code and rather plan to do things considerably differently. I confess I haven't checked your repository but it would have been much better to post a patch series -- Michal Hocko SUSE Labs