c++ - How to use GetNumaProximityNode (Win7+)? -


The GetNumaProximityNode (Ex) function is available with

Win7 / Server2008R2. It should help to regain the distance between NUMA nodes, but I can not understand the documentation () how to work. It says that you give it a distance, and it gives the associated node (if any).

Reading some code from the Linux kernel and some HP epic documents I saw that the distance 10 is expressed in the integer multipliers (the distance of self 10), but it slowed 18 times twice) but I still have this To understand the distance between the two nodes, using the Windows API (under a Linux Libanum that has a 'distance' function that is this).

Does anyone have to use this function?

I got a solution for Windows (though not yet tested) Distance SLIT - The system can be found in the Locality Information Table - an extension is provided by the OEM and is available through ACPI. There is an N_CPU x N_CPU matrix that describes the distance ([1] [3] the distance between nodes 1 and 3; [Y] [Y] is always 10, the bottom 10 is invalid).

In Windows Vista + the method is GetSystemFirmwareTable which can be used to retrieve this table (It seems that under XP it can be retrieved from the registry, but it is more difficult ).
The structure of this table can be found in ACPICA package ().


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -