RE: [PATCH 7/7] x86/resctrl: Determine if Sub-NUMA Cluster is enabled and initialize.
From: Luck, Tony
Date: Mon Mar 13 2023 - 12:39:00 EST
> In the case I saw, the nodes were AEP DIMMs, so all-memory nodes.
Peter,
Thanks. This helps a lot.
Ok. I will add code to count the number of memory only nodes and subtract
that from the numerator of "nodes / L3-caches".
I'll ignore the weird case of a memory-only SNC node when other SNC
nodes on the same socket do have CPUs until such time as someone
convinces me that there is a real-world reason to enable SNC and then
disable the CPUs in one node. It would seem much better to keep SNC
turned off so that the remaining CPUs on the socket get access to all
of the L3.
-Tony