diff --git a/Makefile b/Makefile index 1ba57eb..844df53 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ # limitations under the License. # CFLAGS=-std=gnu99 -g -O3 -fomit-frame-pointer -fno-unroll-loops -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wmissing-declarations -Wnested-externs -Wpointer-arith -W -Wno-unused-parameter -Werror -pthread -Wno-tautological-compare -LDFLAGS=-g -O3 -static -pthread +LDFLAGS=-g -O3 -pthread LDLIBS=-lrt -lm ARCH ?= $(shell uname -m) diff --git a/run_multichase.sh b/run_multichase.sh new file mode 100755 index 0000000..a1933c2 --- /dev/null +++ b/run_multichase.sh @@ -0,0 +1,14 @@ +#/bin/bash +printf "%4s %7s %7s %7s %7s\n" "CPU" "NODE0" "NODE1" "NODE2" "NODE3" + +for cpu in $(seq 0 24 184) +do + printf "%4s " ${cpu} + for numa in $(seq 0 3) + do + result=$(numactl -C ${cpu} -m ${numa} ./multichase -s 512 -m 1g -n 120) + printf "%7.1f " ${result} + done + printf "\n" +done +