info > numa(7)

Not found locally for numa. Try Google search

NAME

numa β€” overview of Non-Uniform Memory Architecture

πŸš€ Quick Reference

Use Case Command Description
Check NUMA memory policy and allocation for a process cat /proc/<pid>/numa_maps Display NUMA memory map for a process
Set memory policy for a memory range mbind(2) Set memory policy for a memory range
Get memory policy for a memory range get_mempolicy(2) Get memory policy for a memory range
Migrate pages to different nodes migrate_pages(2) Migrate pages between nodes
Move pages between nodes move_pages(2) Move pages between nodes
Set memory policy for a process set_mempolicy(2) Set memory policy for a process
Use libnuma (recommended) #include <numa.h> and link with -lnuma Higher-level NUMA interface

πŸ“ DESCRIPTION

Non-Uniform Memory Access (NUMA) refers to multiprocessor systems whose memory is divided into multiple memory nodes. The access time of a memory node depends on the relative locations of the accessing CPU and the accessed node. (This contrasts with a symmetric multiprocessor system, where the access time for all of the memory is the same for all CPUs.) Normally, each CPU on a NUMA system has a local memory node whose contents can be accessed faster than the memory in the node local to another CPU or the memory on a bus shared by all CPUs.

πŸ”§ NUMA system calls

The Linux kernel implements the following NUMA-related system calls: get_mempolicy(2), mbind(2), migrate_pages(2), move_pages(2), and set_mempolicy(2). However, applications should normally use the interface provided by libnuma; see "Library Support" below.

πŸ“‚ /proc/[number]/numa_maps (since Linux 2.6.14)

This file displays information about a process's NUMA memory policy and allocation.

Each line contains information about a memory range used by the process, displayingβ€”among other informationβ€”the effective memory policy for that memory range and on which nodes the pages have been allocated.

numa_maps is a read-only file. When /proc/<pid>/numa_maps is read, the kernel will scan the virtual address space of the process and report how memory is used. One line is displayed for each unique memory range of the process.

The first field of each line shows the starting address of the memory range. This field allows a correlation with the contents of the /proc/<pid>/maps file, which contains the end address of the range and other information, such as the access permissions and sharing.

The second field shows the memory policy currently in effect for the memory range. Note that the effective policy is not necessarily the policy installed by the process for that memory range. Specifically, if the process installed a "default" policy for that range, the effective policy for that range will be the process policy, which may or may not be "default".

The rest of the line contains information about the pages allocated in the memory range, as follows:

πŸ“œ CONFORMING TO

No standards govern NUMA interfaces.

πŸ“ NOTES

The Linux NUMA system calls and /proc interface are available only if the kernel was configured and built with the CONFIG_NUMA option.

πŸ“š Library support

Link with -lnuma to get the system call definitions. libnuma and the required <numaif.h> header are available in the numactl package.

However, applications should not use these system calls directly. Instead, the higher level interface provided by the numa(3) functions in the numactl package is recommended. The numactl package is available at ftp://oss.sgi.com/www/projects/libnuma/download/. The package is also included in some Linux distributions. Some distributions include the development library and header in the separate numactl-devel package.

πŸ‘οΈ SEE ALSO

πŸ“„ COLOPHON

This page is part of release 5.10 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.

numa(7)
NAME πŸš€ Quick Reference πŸ“ DESCRIPTION
πŸ”§ NUMA system calls πŸ“‚ /proc/[number]/numa_maps (since Linux 2.6.14)
πŸ“œ CONFORMING TO πŸ“ NOTES
πŸ“š Library support
πŸ‘οΈ SEE ALSO πŸ“„ COLOPHON

Generated by phpman v4.10.0-16-g1a0e228 Author: Che Dong Under GNU General Public License
2026-09-22 04:52 @216.73.216.44
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!