Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.

Numa Nodes & Package Information

robchip
Beginner
652 Views
Hello everyone

I'm trying to detect the NUMA nodes on a system, but I'm a bit confused with the terminology used by Intel:

With the CPUID command I can get package information, etc: Is a NUMA node the same as a package?

Or does a package refer to the CPU socket (which I guess on most NUMA systems would be the same as a NUMA node)?

Thanks in advance for clearing it up!
Robert

Edit: I'd like to do the whole thing without using a library since the program doesn't run on linux/windows/etc. (research OS).
0 Kudos
4 Replies
Thomas_W_Intel
Employee
652 Views
NUMA nodes are provided to the operating systemby the System Resource Affinity Table (SRAT) in the Advanced Configuration and Power Interface (ACPI). From user space, the easiest solution is to rely on libraries like libnumaon Linux or the Windows NUMA interface.
0 Kudos
robchip
Beginner
652 Views
Thank's - I'll look into the document.
Unfortunately the program runs on a research OS - therefore I'd like to do the things without a library (sorry forgot it in the original post)
0 Kudos
Thomas_W_Intel
Employee
652 Views
Only after posting my reply, I remembered that you stated in some other thread that you are working on an OS. :(

The document contains other useful information for OS writers, e.g. about initializingprocessors.

The linkstothe librariesmight be useful for otherswho come across the thread and are not writing an OS :).
0 Kudos
TimP
Honored Contributor III
652 Views
When I've seen the term package used, it's equivalent to a CPU socket. There's lots of dissension over whether "CPU" means core or package.
Could you port the open source hwloc (from OpenMPI)?
0 Kudos
Reply