libnuma
libnuma is a userspace library for Linux that provides NUMA (non-uniform memory access) awareness to applications. It offers a C API that enables programs to discover the system's NUMA topology and to control memory allocation and thread or process placement with respect to NUMA nodes. libnuma is commonly used as part of the numactl package to improve locality and performance on systems with multiple memory nodes.
Key capabilities include querying the NUMA topology, allocating memory on specific nodes, and applying memory policies
Internally, libnuma relies on the kernel-provided NUMA topology and uses representations such as node bitmasks to
Platform and usage notes: libnuma runs on Linux on NUMA-enabled architectures and is distributed with the NUMA