From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by kanga.kvack.org (Postfix) with ESMTP id 4AF716B6FFA for ; Tue, 4 Dec 2018 13:02:57 -0500 (EST) Received: by mail-pg1-f200.google.com with SMTP id o17so9444332pgi.14 for ; Tue, 04 Dec 2018 10:02:57 -0800 (PST) Received: from mga18.intel.com (mga18.intel.com. [134.134.136.126]) by mx.google.com with ESMTPS id o13si15048410pgp.540.2018.12.04.10.02.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 10:02:56 -0800 (PST) Subject: Re: [RFC PATCH 00/14] Heterogeneous Memory System (HMS) and hbind() References: <20181203233509.20671-1-jglisse@redhat.com> From: Dave Hansen Message-ID: <9d745b99-22e3-c1b5-bf4f-d3e83113f57b@intel.com> Date: Tue, 4 Dec 2018 10:02:55 -0800 MIME-Version: 1.0 In-Reply-To: <20181203233509.20671-1-jglisse@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: jglisse@redhat.com, linux-mm@kvack.org Cc: Andrew Morton , linux-kernel@vger.kernel.org, "Rafael J . Wysocki" , Matthew Wilcox , Ross Zwisler , Keith Busch , Dan Williams , Haggai Eran , Balbir Singh , "Aneesh Kumar K . V" , Benjamin Herrenschmidt , Felix Kuehling , Philip Yang , =?UTF-8?Q?Christian_K=c3=b6nig?= , Paul Blinzer , Logan Gunthorpe , John Hubbard , Ralph Campbell , Michal Hocko , Jonathan Cameron , Mark Hairgrove , Vivek Kini , Mel Gorman , Dave Airlie , Ben Skeggs , Andrea Arcangeli , Rik van Riel , Ben Woodard , linux-acpi@vger.kernel.org On 12/3/18 3:34 PM, jglisse@redhat.com wrote: > This means that it is no longer sufficient to consider a flat view > for each node in a system but for maximum performance we need to > account for all of this new memory but also for system topology. > This is why this proposal is unlike the HMAT proposal [1] which > tries to extend the existing NUMA for new type of memory. Here we > are tackling a much more profound change that depart from NUMA. The HMAT and its implications exist, in firmware, whether or not we do *anything* in Linux to support it or not. Any system with an HMAT inherently reflects the new topology, via proximity domains, whether or not we parse the HMAT table in Linux or not. Basically, *ACPI* has decided to extend NUMA. Linux can either fight that or embrace it. Keith's HMAT patches are embracing it. These patches are appearing to fight it. Agree? Disagree? Also, could you add a simple, example program for how someone might use this? I got lost in all the new sysfs and ioctl gunk. Can you characterize how this would work with the *exiting* NUMA interfaces that we have?