NUMA support for Linux
C Roff Shell M4 Makefile Objective-C
Clone or download
harish-24 and filbranden Fix: move_pages test for non-contiguous nodes
Patch fixes move_pages test for non-contiguous memory nodes and
distributed pages among existing memory nodes instead of assuming
continuous node IDs.

Signed-off-by: Harish <harish@linux.vnet.ibm.com>
Latest commit bad479d Jul 5, 2018
Permalink
Failed to load latest commit information.
m4 build: use -ftree-vectorize for numademo if available Aug 5, 2014
test Fix: move_pages test for non-contiguous nodes Jul 17, 2018
.gitignore Add pkg-config file for NUMA library Apr 5, 2018
.travis.yml build: add Travis config for continuous integration Aug 6, 2014
INSTALL.md Convert README and INSTALL to Markdown Jun 15, 2018
Makefile.am Correct calculation of nr_nodes and re-enable move_pages test Jul 3, 2018
README.md Add Travis build status to numactl README Jun 15, 2018
affinity.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
affinity.h Cleanup whitespace from *.c and *.h files Jun 15, 2018
autogen.sh build: switch from legacy Makefile to automake Aug 5, 2014
clearcache.c Revert "make clearcache work on x86/PIC" Jun 14, 2018
clearcache.h Various fixes to numactl 2.0.0 Jul 23, 2014
configure.ac Release numactl 2.0.12 Jun 15, 2018
distance.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
libnuma.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
manlinks Auto generate manlinks Jul 23, 2014
memhog.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
migratepages.8 Import numactl 0.9.6 Jul 23, 2014
migratepages.c Lee removed trailing spaces from: Jul 23, 2014
migspeed.8 This patch adds the migspeed test program. Jul 23, 2014
migspeed.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
move_pages.2 move_pages support in numactl Jul 23, 2014
mt.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
mt.h Optimize mersenne twister Jul 23, 2014
numa.3 "Further more" should be a single word May 16, 2017
numa.h libnuma: new function numa_run_on_node_mask_all was added to libnuma Jul 23, 2014
numa.pc.in Add pkg-config file for NUMA library Apr 5, 2018
numacompat1.h found an issue with the compat interface for the nodemask_ interfaces. Jul 23, 2014
numactl.8 numactl: new option --all/-a was added for policy settings Jul 23, 2014
numactl.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
numademo.c numademo: fix wrong node input Jun 21, 2018
numaif.h Update prototype of get_mempolicy May 25, 2017
numaint.h Fix numactl --show preferred node for case MPOL_BIND Jul 23, 2014
numamon.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
numastat.8 Add "NAME" section to numastat manpage Apr 17, 2018
numastat.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
rtnetlink.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
rtnetlink.h Add IO affinity support to libnuma Jul 23, 2014
shm.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
shm.h libnuma: preventing sigbus on touch beyond region Jul 23, 2014
stream_lib.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
stream_lib.h Cleanup whitespace from *.c and *.h files Jun 15, 2018
stream_main.c Lee removed trailing spaces from: Jul 23, 2014
syscall.c Allow building on ARM systems Apr 17, 2018
sysfs.c Add IO affinity support to libnuma Jul 23, 2014
sysfs.h Cleanup whitespace from *.c and *.h files Jun 15, 2018
util.c Cleanup whitespace from *.c and *.h files Jun 15, 2018
util.h Fix numactl --show preferred node for case MPOL_BIND Jul 23, 2014
versions.ldscript libnuma: new function numa_run_on_node_mask_all was added to libnuma Jul 23, 2014

README.md

numactl

Build Status

Simple NUMA policy support. It consists of a numactl program to run other programs with a specific NUMA policy and a libnuma shared library ("NUMA API") to set NUMA policy in applications.

The libnuma binary interface is supposed to stay binary compatible.

Incompatible changes will use new symbol version numbers.

In addition there are various test and utility programs, like numastat to display NUMA allocation statistics and memhog.

In test/ there is a small regression test suite.

Note that regress assumes a unloaded machine with memory free on each node. Otherwise you will get spurious failures in the non-strict policies (prefered, interleave.)

See the manpages numactl.8 and numa.3 for details.

License, Copyrights, Acknowledgements

numactl and the demo programs are under the GNU General Public License, v.2.

libnuma is under the GNU Lesser General Public License, v2.1.

The manpages are under the same license as the Linux manpages (see the files.)

numademo links with a library derived from the C version of STREAM by John D. McCalpin and Joe R. Zagar for one sub benchmark. See stream_lib.c for the license. In particular when you publish numademo output you might need to pay attention there or filter out the STREAM results.

It also uses a public domain Mersenne Twister implementation from Michael Brundage.

Version 2.0.10-rc2: (C)2014 SGI

Author: Andi Kleen, SUSE Labs

Version 2.0.0 by Cliff Wickman (cpw@sgi.com), Christoph Lameter (clameter@sgi.com) and Lee Schermerhorn (lee.schermerhorn@hp.com).