[hwloc-users] PCI to NUMA node mapping.

2020-02-03 Thread Murphy, Liam
Newbie question. I know that dmidecode uses the num_node files under /sys/devices/pcie..., but hwloc does not seem to use the same mechanism to determine which PCI devices are on which numa node? From which file is it deriving the information? Regards, Liam

Re: [hwloc-users] PCI to NUMA node mapping.

2020-02-03 Thread Brice Goglin
Hello Liam dmidecode is usually reserved to root only because it uses SMBIOS or whatever hardware/ACPI/... tables. Those tables are read by the Linux kernel and exported to non-root users in sysfs: $ cat /sys/bus/pci/devices/:ae:0c.6/numa_node 1 However this file isn't that good because