Run on NUMA nodes:
lscpu | grep -i numa
You will see something like:
NUMA node(s): 2
NUMA node0 CPU(s): 0,2,4,6
NUMA node1 CPU(s): 1,3,5,7
stressapptest
binding it to one NUMA node or other. Example below binds stressapptest to NUMA group '0'.This will run for 3600 seconds (-s 3600
), on 350000 Megabytes of RAM (-M 3500000
) and on 28 threads (-C 28
), run a more stressful memory copy -W
, and log output (-l stressapptest_node0.log
)numactl --cpunodebind=0 --membind=0 \
stressapptest -s 3600 -M 350000 -C 28 -W -l stressapptest_node0.log