Re: [RFC v2 0/5] surface heterogeneous memory performance information
From: Dave Hansen
Date: Fri Jul 07 2017 - 12:20:08 EST
On 07/06/2017 11:27 PM, Balbir Singh wrote:
> On Thu, 2017-07-06 at 15:52 -0600, Ross Zwisler wrote:
>> # grep . mem_tgt2/* mem_tgt2/local_init/* 2>/dev/null
This is here for folks that know their platform and know exactly the
firmware ID (PXM in ACPI parlance) of a given piece of memory. Without
this, we might be stuck with requiring the NUMA node ID that the kernel
uses to be bound 1:1 with the firmware ID.
This tells whether the memory is cached by some other memory. MCDRAM is
an example of this. It can be used as a high-bandwidth cache in front
of the lower-bandwidth DRAM.
This is referred to as "Memory Side Cache Information Structure" in the
ACPI spec: www.uefi.org/sites/default/files/resources/ACPI_6_2.pdf
This one is described in detail in the ACPI spec. It's called
"Reservation hint" in there.
> How to these numbers compare to normal system memory?
They're made up in this instance. But, it's safe to expect 10x swings
in bandwidth in latency, both up and down.