Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7210592imu; Mon, 3 Dec 2018 09:17:41 -0800 (PST) X-Google-Smtp-Source: AFSGD/U/PXOiNB833H19m4uqytkfGD8zlbCoZBubJSqCnVeQsCvXapA9G37lMFb2QjWGpw4GIjm8 X-Received: by 2002:a62:ea09:: with SMTP id t9mr12298912pfh.228.1543857461842; Mon, 03 Dec 2018 09:17:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543857461; cv=none; d=google.com; s=arc-20160816; b=Lzp1T8q8wv2TNxbWkL9peCYIyG4jnMT3OHCrUlN2Oi6KFaehGjO5NGB+zC9wnVRRp3 Vl2Zr4jWb6f2rUvUTT9PGPLOxg6VJNJArQbeKiPjD6HJoSvSu8wdQDcQESReQIDVvIVK qaKKy24crWN2RomKPcmQJGqw7+D3SqZZmwhxfzY4A2H5vsGPewbKE4Q+epSNv6Y+339L fsfLmw4rHFl15IAQQJn4FZgJJ2csbTBYsHTXni5W9rqBQ0jacHiPL4qPTf8V9eA36tnZ tZSjZIG6d9uLkrx9Yq6PLUw9OCMrp7wS/BU5GSLKokoo0VWyKyb+U3rk6MzXMwnAtDn1 mKOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=R7//ouQOHJxMmF+Hv4PttcsPESm78QHjH+fq/les3KE=; b=fRFKiN+J5LgZ1MyFKonbNvs3HDtH34y3f1lw+6UcYK7FnZZRvjX37mG/uS3tEhkgRS hGMyXMCZO2UvvzO3bJccwiOyv+/LI0+XtxR1T/xNhQ1sDZbJjUmwiegKSXWo+HEsR/pQ 7sg1bngf+W/UdKhilYsCJNUZBySEUEH+XIC2z+90qYSrIKtyh5MAoog32sjNS35DXL+Q uaaZCLMSIfjbJNahhDHFkk8uBDgw7m9gZAUQHdtV9G+MaKCqD0EDF0CXHgrI4SuVe30c +KcxFjzidKF5TySlm0fZdopD9iY+SibAsxEBZ/YNmxQo5fIwoktYKNiVQDCieEdbvXn1 nZoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=dmyiMPaA; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x66si15191161pfk.73.2018.12.03.09.17.26; Mon, 03 Dec 2018 09:17:41 -0800 (PST) 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; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=dmyiMPaA; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726850AbeLCRQP (ORCPT + 99 others); Mon, 3 Dec 2018 12:16:15 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:38515 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726657AbeLCRQP (ORCPT ); Mon, 3 Dec 2018 12:16:15 -0500 Received: by mail-ot1-f66.google.com with SMTP id e12so12334332otl.5 for ; Mon, 03 Dec 2018 09:16:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=R7//ouQOHJxMmF+Hv4PttcsPESm78QHjH+fq/les3KE=; b=dmyiMPaAFzFy3QX1b0jps6exvCJySRySHWYW0DPVff4LBG0lKU7f4cEcZiUcvQHD1z F6ehGkGKpcYQlaephvO8LqprxL9JK4FLIhspS5zDOZCbGXKwDwv4cCoGqr4AQS9eK48b bxA9oOYuNMUlughk8h3eh1aU2m8qCPezagOiUQDUbKgfGAJos4BZ6Mhjs3euDr9lyCGa oy5atu0yp6liTqap4eMQYz/tq6T7ZE3vPjRETb3fPmYCG2qq4z6mzDCR6ZdV9CO+82ga Q//pHZXTm6XZ4MTQvFxIp9mqK7+bECogoea4hElo8yetGx1NigBE3XvOl+DnJYuvN/Vm OJpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=R7//ouQOHJxMmF+Hv4PttcsPESm78QHjH+fq/les3KE=; b=U6gPvceiz91INdaIAK9GJK539ETrblzS8hOla37DKX1pz6n3mHsrfgkXxoCLrz9Q5A CPvQtADWEByT0/FeFRZsmzTiimH3nD6yIz+u6+mk8eBdwlTL8RekdXkgWFa8ydrHjQfu 4UATb7pZHt7l9UoLiNyHJJHo95phv7dsR6aEcnS8wSVnYVctM1Q7yzY0/gcROepS4QuE VNafio8SMvRuW7GAU/JsUssVZsXWoJV2qWF67OmMDtrXkZzWaTyozSgp29h1ezrzuaZy YfTZHHGnQC70+06ujUjzkk/3dtkmkxEbCezD4VIknHOUbrENJ8BTPlNUAiJ7FjCUyTgG 8NhA== X-Gm-Message-State: AA+aEWaaHfOAux9izUPgnuJsEvZkWb1dDf+0h/StM+tuWZbpF8hQ3wYa yLpYFwcFzHHcDKvR56Xck23IlJ1szcKUEyA0BlbQ8g== X-Received: by 2002:a9d:6a50:: with SMTP id h16mr9890972otn.95.1543857372870; Mon, 03 Dec 2018 09:16:12 -0800 (PST) MIME-Version: 1.0 References: <20181022201317.8558C1D8@viggo.jf.intel.com> <48d78370-438d-65fa-370c-4cf61a27ed3d@intel.com> In-Reply-To: <48d78370-438d-65fa-370c-4cf61a27ed3d@intel.com> From: Dan Williams Date: Mon, 3 Dec 2018 09:16:01 -0800 Message-ID: Subject: Re: [PATCH 0/9] Allow persistent memory to be used like normal RAM To: Dave Hansen Cc: Brice Goglin , Dave Hansen , Linux Kernel Mailing List , Dave Jiang , zwisler@kernel.org, Vishal L Verma , Tom Lendacky , Andrew Morton , Michal Hocko , linux-nvdimm , Linux MM , "Huang, Ying" , Fengguang Wu , Keith Busch Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 3, 2018 at 8:56 AM Dave Hansen wrote: > > On 12/3/18 1:22 AM, Brice Goglin wrote: > > Le 22/10/2018 =C3=A0 22:13, Dave Hansen a =C3=A9crit : > > What happens on systems without an HMAT? Does this new memory get merge= d > > into existing NUMA nodes? > > It gets merged into the persistent memory device's node, as told by the > firmware. Intel's persistent memory should always be in its own node, > separate from DRAM. > > > Also, do you plan to have a way for applications to find out which NUMA > > nodes are "real DRAM" while others are "pmem-backed"? (something like a > > new attribute in /sys/devices/system/node/nodeX/) Or should we use HMAT > > performance attributes for this? > > The best way is to use the sysfs-generic interfaces to the HMAT that > Keith Busch is pushing. In the end, we really think folks will only > care about the memory's performance properties rather than whether it's > *actually* persistent memory or not. It's also important to point out that "persistent memory" by itself is an ambiguous memory type. It's anything from new media with distinct performance characteristics to battery backed DRAM. I.e. the performance of "persistent memory" may be indistinguishable from "real DRAM".