Browse Source

remove the manual build script and add numa and cpu asignment to the execution script

master
Constantin Fürst 11 months ago
parent
commit
0ad0e4af04
  1. 5
      qdp_project/bench_max.sh
  2. 9
      qdp_project/cmake_max.sh

5
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"

9
qdp_project/cmake_max.sh

@ -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
Loading…
Cancel
Save