Re: [PATCH 0/9] Allow persistent memory to be used like normal RAM
From: Dave Hansen
Date: Mon Dec 03 2018 - 11:56:25 EST
On 12/3/18 1:22 AM, Brice Goglin wrote:
> Le 22/10/2018 Ã 22:13, Dave Hansen a ÃcritÂ:
> What happens on systems without an HMAT? Does this new memory get merged
> 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.