Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp925632yba; Thu, 4 Apr 2019 00:14:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwZp1hlCTWa0uKcYOy6rqBkE5y78AH+Rv2T+nZ6cjt2xFBcLp72UTBigivAWwy6JSz2SL2 X-Received: by 2002:a62:388d:: with SMTP id f135mr4172965pfa.103.1554362056902; Thu, 04 Apr 2019 00:14:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554362056; cv=none; d=google.com; s=arc-20160816; b=QSqsHiWUCh/Fh1K6P+ehWR+RNS64a8N3vt5ksRKwt36AOM3Ik6ck0M726eu7U5lYRE JZ3lb62MCMmSog90VHhdAB+nZY4KatwPkUkkgqmQamjFrIPlemWlSPLSK5CGZWA1zhCY P7JDWWbdmmkfpi/1B6zYqA+D03oH8ATuQ9Nk0SFyAXd9uComNAwSwqvKf8hJc526wxj4 KmajDr2af2iqa4IxmU9yfCOng5i+hV27AjjcapSjUrkUBj0st5m8u++FgL6vuLjd+gG/ qF+2hxR14BWoziXyDXwzx3h2SA/6s/vrfGrc44FzoFt9+l8PLE3meZ17y5Z66ac4z5tL ikog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=bzXBhDCo5MEIGyQLwGYB52EX7hSgdilRXyadZpt7j20=; b=BzK0sV7Tv7IlxMjHw1+Eh4+EG5eW2sKfiLMw0b5Hi9RY9DgFGOG94MGhZH4hG25b1q QZZQo7Gv9dl9Bs0K/WB7nwTrYcBNrM62B8KH1ZRMjonZx2upF07iYLhhU3x4SAU1OUVJ 6w5kn4qLNoHN7RwKJzaqPJomr0x1WaRDhPjKxE/gsRoJZey6UVA1+aLF1kfZFR/lz7dA dWacDvsB5BM367xqzPF+wrGb1Exx6eMRO+QKSV38kq2MvhoAGLp/U4FIQu7sFTVcUbMy 2u5+EMRstOEO66e+xfDJDTrW1EKVNZxgUZ5sIhFD4Lqi4VS7rzhfuGYbfuQbwLqn7zi7 RREQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 78si15528399pga.566.2019.04.04.00.14.00; Thu, 04 Apr 2019 00:14:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726923AbfDDHNQ (ORCPT + 99 others); Thu, 4 Apr 2019 03:13:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:43524 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726563AbfDDHNQ (ORCPT ); Thu, 4 Apr 2019 03:13:16 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 046F0B11F; Thu, 4 Apr 2019 07:13:14 +0000 (UTC) Date: Thu, 4 Apr 2019 09:13:12 +0200 From: Michal Hocko To: ziy@nvidia.com Cc: Dave Hansen , Yang Shi , Keith Busch , Fengguang Wu , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Daniel Jordan , "Kirill A . Shutemov" , Andrew Morton , Vlastimil Babka , Mel Gorman , John Hubbard , Mark Hairgrove , Nitin Gupta , Javier Cabezas , David Nellans Subject: Re: [RFC PATCH 00/25] Accelerate page migration and use memcg for PMEM management Message-ID: <20190404071312.GD12864@dhcp22.suse.cz> References: <20190404020046.32741-1-zi.yan@sent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190404020046.32741-1-zi.yan@sent.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 03-04-19 19:00:21, Zi Yan wrote: > From: Zi Yan > > Thanks to Dave Hansen's patches, which make PMEM as part of memory as NUMA nodes. > How to use PMEM along with normal DRAM remains an open problem. There are > several patchsets posted on the mailing list, proposing to use page migration to > move pages between PMEM and DRAM using Linux page replacement policy [1,2,3]. > There are some important problems not addressed in these patches: > 1. The page migration in Linux does not provide high enough throughput for us to > fully exploit PMEM or other use cases. > 2. Linux page replacement is running too infrequent to distinguish hot and cold > pages. [...] > 33 files changed, 4261 insertions(+), 162 deletions(-) For a patch _this_ large you should really start with a real world usecasing hitting bottlenecks with the current implementation. Should microbenchmarks can trigger bottlenecks much easier but do real application do the same? Please give us some numbers. -- Michal Hocko SUSE Labs