On 11/29/2024 10:12 AM, Burakov, Anatoly wrote:
On 11/28/2024 6:20 PM, Stephen Hemminger wrote:
On Thu, 28 Nov 2024 16:08:55 +0000
Anatoly Burakov <[email protected]> wrote:
+ # occasionally, system may report NUMA support but lspci will
not, so we
+ # want to go through all devices and see if any of them do not
have NUMANode
+ # property - this will mean it is not safe to try to access it
+ for device_dict in devices.values():
+ if "NUMANode" not in device_dict:
+ return False
Any indication as to why this happens, what kernel, what device?
We've had internal validation team report this happenning on VM's,
particularly ESXi. I did not dig deeper as to what particular
configurations cause this to happen, I didn't have a chance to reproduce
this myself.
I just reproduced this on my machine by disabling NUMA support in BIOS.
I can confirm that /sys/devices/system/node exists in sysfs but lspci
will not report NUMA node in that case. So, it probably applies to all
kernels.
--
Thanks,
Anatoly