Skip to content

shuangkun/numactl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 an unloaded machine with memory free on each node. Otherwise you will get spurious failures in the non-strict policies (preferred, interleave.)

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

concontr-migarate

yum install numactl-devel numactl -y

gcc -c threadpool.c -std=c99

gcc concurrent-migratepages.c threadpool.o -o concurrent-migratepages -lnuma -lpthread

./concurrent-migratepages 1234 1

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 ([email protected]), Christoph Lameter ([email protected]) and Lee Schermerhorn ([email protected]).

About

NUMA support for Linux

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 74.1%
  • Roff 17.0%
  • Shell 4.1%
  • M4 3.7%
  • Makefile 1.1%