Re: [RFC PATCH 00/14] Heterogeneous Memory System (HMS) and hbind()

From: Dave Hansen
Date: Tue Dec 04 2018 - 13:02:58 EST


On 12/3/18 3:34 PM, jglisse@xxxxxxxxxx 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?