From: Dan Williams <dan.j.williams@intel.com>
To: Jane Chu <jane.chu@oracle.com>,
Dan Williams <dan.j.williams@intel.com>,
<vishal.l.verma@intel.com>, <nvdimm@lists.linux.dev>
Cc: Linux-MM <linux-mm@kvack.org>, Joao Martins <joao.m.martins@oracle.com>
Subject: Re: Barlopass nvdimm as MemoryMode question
Date: Thu, 7 Mar 2024 16:49:27 -0800 [thread overview]
Message-ID: <65ea60971700e_1ecd29472@dwillia2-xfh.jf.intel.com.notmuch> (raw)
In-Reply-To: <a0f62478-94d5-4629-8a81-81d6876beaec@oracle.com>
Jane Chu wrote:
> Add Joao.
>
> On 3/7/2024 1:05 PM, Dan Williams wrote:
>
> > Jane Chu wrote:
> >> Hi, Dan and Vishal,
> >>
> >> What kind of NUMAness is visible to the kernel w.r.t. SysRAM region
> >> backed by Barlopass nvdimms configured in MemoryMode by impctl ?
> > As always, the NUMA description, is a property of the platform not the
> > media type / DIMM. The ACPI HMAT desrcibes the details of a
> > memory-side-caches. See "5.2.27.2 Memory Side Cache Overview" in ACPI
> > 6.4.
>
> Thanks! So, compare to dax_kmem which assign a numa node to a newly
> converted pmem/SysRAM region,
...to be clear, dax_kmem is not creating a new NUMA node, it is just
potentially onlining a proximity domain that was fully described by ACPI
SRAT but offline.
> w.r.t. pmem in MemoryMode, is there any clue that kernel exposes(or
> could expose) to userland about the extra latency such that userland
> may treat these memory regions differently?
Userland should be able to interrogate the memory_side_cache/ property
in NUMA sysfs:
https://docs.kernel.org/admin-guide/mm/numaperf.html?#numa-cache
Otherwise I believe SRAT and SLIT for that node only reflect the
performance of the DDR fronting the PMEM. So if you have a DDR node and
DDR+PMEM cache node, they may look the same from the ACPI SLIT
perspective, but the ACPI HMAT contains the details of the backing
memory. The Linux NUMA performance sysfs interface gets populated by
ACPI HMAT.
next prev parent reply other threads:[~2024-03-08 0:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 20:33 Jane Chu
2024-03-07 21:05 ` Dan Williams
2024-03-08 0:30 ` Jane Chu
2024-03-08 0:49 ` Dan Williams [this message]
2024-03-08 1:42 ` Jane Chu
2024-03-08 1:57 ` Jane Chu
2024-03-08 2:53 ` Dan Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=65ea60971700e_1ecd29472@dwillia2-xfh.jf.intel.com.notmuch \
--to=dan.j.williams@intel.com \
--cc=jane.chu@oracle.com \
--cc=joao.m.martins@oracle.com \
--cc=linux-mm@kvack.org \
--cc=nvdimm@lists.linux.dev \
--cc=vishal.l.verma@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox