Thread (5 messages) 5 messages, 4 authors, 2024-06-20

Re: [PATCH v2 1/1] powerpc/numa: Online a node if PHB is attached.

From: Srikar Dronamraju <hidden>
Date: 2024-05-22 02:06:48

* Nilay Shroff [off-list ref] [2024-05-17 19:55:23]:

Hi Nilay,
In the current design, a numa-node is made online only if
that node is attached to cpu/memory. With this design, if
any PCI/IO device is found to be attached to a numa-node
which is not online then the numa-node id of the corresponding
PCI/IO device is set to NUMA_NO_NODE(-1). This design may
negatively impact the performance of PCIe device if the
numa-node assigned to PCIe device is -1 because in such case
we may not be able to accurately calculate the distance
between two nodes.
The multi-controller NVMe PCIe disk has an issue with
calculating the node distance if the PCIe NVMe controller
is attached to a PCI host bridge which has numa-node id
value set to NUMA_NO_NODE. This patch helps fix this ensuring
that a cpu/memory less numa node is made online if it's
attached to PCI host bridge.
Looks good to me.

Reviewed-by: Srikar Dronamraju <redacted>

-- 
Thanks and Regards
Srikar Dronamraju
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help