From 0ad0e4af042dcc9bb30da22f26c486f68317f319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20F=C3=BCrst?= Date: Wed, 17 Jan 2024 13:48:09 +0100 Subject: [PATCH] remove the manual build script and add numa and cpu asignment to the execution script --- qdp_project/bench_max.sh | 5 ++--- qdp_project/cmake_max.sh | 9 --------- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 qdp_project/cmake_max.sh diff --git a/qdp_project/bench_max.sh b/qdp_project/bench_max.sh index b7e0168..e49275b 100644 --- a/qdp_project/bench_max.sh +++ b/qdp_project/bench_max.sh @@ -1,10 +1,9 @@ -#!bin/bash +#!/bin/bash current_date_time=$(date) echo "Benchmark start at: $current_date_time" - -../bin/MAXBench +sudo numactl --cpunodebind=2 -- taskset -c 0,1,2,3,4,5 ../bin/MAXBench current_date_time=$(date) echo "Benchmark end at: $current_date_time" \ No newline at end of file diff --git a/qdp_project/cmake_max.sh b/qdp_project/cmake_max.sh deleted file mode 100644 index 03c137b..0000000 --- a/qdp_project/cmake_max.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!bin/bash - -cmake -DCMAKE_BUILD_TYPE=Release -DWSUPPRESS=suppress -DBARRIER_MODE=global -DBUFFER_LIMIT=unlimited -DQUERY=complex -DTHREAD_FACTOR=2 -DPINNING=cpu -DPCM_M=false .. -cmake --build . --target MAXBench -mv ../bin/MAXBench ../bin/MAXBench_gcc - -cmake -DCMAKE_BUILD_TYPE=Release -DWSUPPRESS=suppress -DBARRIER_MODE=global -DBUFFER_LIMIT=unlimited -DQUERY=complex -DTHREAD_FACTOR=2 -DPINNING=numa -DPCM_M=false .. -cmake --build . --target MAXBench -mv ../bin/MAXBench ../bin/MAXBench_gcn