/
githubmirror
/
numactl
ОбзорДокументацияВойти
/
githubmirror
/
numactl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
numactl/
test/
..
README

Import numactl 0.9.9

12 лет назад
bind_range

Avoid using /proc/cpuinfo in test suite

3 года назад
checkaffinity

test: make test scripts run from any location.

12 лет назад
checktopology

Avoid using /proc/cpuinfo in test suite

3 года назад
cpuless.c

test: add test case for numa_is_cpuless_node()

8 дней назад
distance.c

Fix: distance test avoid out-of-bounds write causing segfault

6 месяцев назад
ftok.c

Cleanup whitespace from *.c and *.h files

8 лет назад
getnodemask.c

Enable v1 compatibility for unused getnodemask test

3 года назад
mbind_mig_pages.c

test: use sizeof(int) instead of sizeof(int *) for status and nodes

7 месяцев назад
migrate_pages.c

test: use sizeof(int) instead of sizeof(int *) for status and nodes

7 месяцев назад
move_pages.c

move_pages: Fix warning (missing hunk from earlier revert)

3 года назад
mynode.c

Cleanup whitespace from *.c and *.h files

8 лет назад
node-parse.c

Remove unused usage functions

4 года назад
nodemap.c

Cleanup whitespace from *.c and *.h files

8 лет назад
numademo

test: run numademo on "make check"

12 лет назад
pagesize.c

Import numactl 0.6

12 лет назад
prefered.c

Remove unused usage functions

4 года назад
printcpu

test: mark scripts that need bash as such

12 лет назад
randmap.c

make MPOL_ macros match linux kernel

8 лет назад
realloc_test.c

Cleanup whitespace from *.c and *.h files

8 лет назад
regress

Replace fgrep with grep -F to fix warning

2 года назад
regress-io

test: make test scripts run from any location.

12 лет назад
regress2

test: add test case for numa_is_cpuless_node()

8 дней назад
runltp

test: do not set LD_LIBRARY_PATH in test scripts

12 лет назад
shmtest

test: do not set LD_LIBRARY_PATH in test scripts

12 лет назад
tbitmap.c

Set _GNU_SOURCE more broadly

год назад
tshared.c

Cleanup whitespace from *.c and *.h files

8 лет назад
tshm.c

Cleanup whitespace from *.c and *.h files

8 лет назад
README
 
Various simple test scripts to verify some parts of the NUMA API.
 
To do a full regression test run make test
 
You should have at least two nodes on a NUMA system for the test suite.
 
The tests in regress assume that there is enough memory free on nodes 0/1.
They consider PREFERRED/INTERLEAVE not hitting the first choice node an
error.
 
They also require a relatively idle machine to avoid too much
noise from memory allocation from other processes. Without
that regress1 might fail.
 
You can run the tests under valgrind with VALGRIND=valgrind make test
Older valgrind versions incorrectly report a uninitialized byte error
on set_mempolicy. That is a false positive.
 
TBD: more detailed unit tests for mbind / shm / {get,set}_mempolicy
Currently everything is tested using numactl only.