From 07b5695208d4f92e68f5e41c3bb2d002f4e50803 Mon Sep 17 00:00:00 2001 From: arstgr <78465331+arstgr@users.noreply.github.com> Date: Thu, 29 Jun 2023 20:10:40 +0000 Subject: [PATCH 1/2] removed -static from the Makefile. The option could cause g++ to link the libraries statically and thus will search for *.a (lrt, lm etc) instead of the shared version, yet static libraries are not provided by official repos on most Linux distros --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From 5c697a3a844445864e13f878e6e9dd68254be7a4 Mon Sep 17 00:00:00 2001 From: arstgr <78465331+arstgr@users.noreply.github.com> Date: Thu, 29 Jun 2023 21:53:38 +0000 Subject: [PATCH 2/2] script run_multichase.sh for running a multichase test was added --- run_multichase.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 run_multichase.sh 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 +