Dependency:
1yum install numactlSource code:
Openlab:192.168.1.101:/home/chenzhihui/Ali-test/lmbench-3.0-a9Build:
1234cd lmbench-3.0-a9sed -i 's/--static//' src/Makefilesed -i 's/-O/-O2/g' src/Makefilemake OS=lmbenchTest:
Local memory access:1234numactl --membind=0 --physcpubind=0 ./lat_mem_rd -P 1 -t 32M 128numactl --membind=0 --physcpubind=0-3 ./lat_mem_rd -P 4 -t 32M 128numactl --membind=0 --physcpubind=0-15 ./lat_mem_rd -P 16 -t 32M 128numactl --physcpubind=0-31 ./lat_mem_rd -P 32 -t 32M 128Cross die memory access:
123numactl --membind=1 --physcpubind=0 ./lat_mem_rd -P 1 -t 32M 128numactl --membind=1 --physcpubind=0-3 ./lat_mem_rd -P 4 -t 32M 128numactl --membind=1 --physcpubind=0-15 ./lat_mem_rd -P 16 -t 32M 128
热评文章