0

Is there any way in a windows system, to (a) programmatically find the NUMA node of a network adapter without writing a driver or (b) read and write the Receive Side Scaling option for a network adapter without writing a driver?

The best solution would be (a) so the configuration could be setup completely automatic.

bazz-dee
  • 687
  • 5
  • 23

1 Answers1

0

This Microsoft blog post details how to get the topology information about the different resources in the system, including how to find the NUMA node of any device in the system. Basically, a program walks the device tree until an entity (such as a PCI bus) is found that is associated with a NUMA node.

(disclaimer: I wrote the post while I worked at Microsoft)

Brian
  • 2,693
  • 5
  • 26
  • 27
  • Well yes i can find the PCI Bus of the network adapter. But i do not know the NUMA node or CPU of this bus – bazz-dee Apr 30 '15 at 21:21
  • The immediate bus (or any bus between your device and the root) should have DEVPKEY_Numa_Proximity_Domain key set. If this key is not set, then the BIOS / ACPI has not exposed the required information to the OS. If the key is set, then you can convert the proximity domain to the NUMA node (they are equivalent). – Brian May 01 '15 at 00:54
  • Thanks, i'll try that on monday – bazz-dee May 01 '15 at 06:18