benchmark silo added
[c11concurrency-benchmarks.git] / silo / benchmarks / gc_runner.sh
1 #!/bin/bash
2
3 set -x
4
5 BENCH=./dbtest
6 NTHREADS=28
7 PREFIX=$1
8 YCSB_MEM=`python -c "print int(100+1.4*$NTHREADS)"`
9
10 $BENCH \
11   --verbose \
12   --bench ycsb \
13   --db-type ndb-proto2 \
14   --scale-factor 320000 \
15   --num-threads $NTHREADS \
16   --bench-opts '--workload-mix 80,0,20,0' \
17   --numa-memory ${YCSB_MEM}G \
18   --parallel-loading \
19   --runtime 60 \
20   --slow-exit 2>&1 | grep chain_ > results/$PREFIX-ycsb-chains.txt
21
22 $BENCH \
23   --verbose \
24   --bench tpcc \
25   --db-type ndb-proto2 \
26   --scale-factor $NTHREADS \
27   --num-threads $NTHREADS \
28   --numa-memory $((4 * $NTHREADS))G \
29   --parallel-loading \
30   --runtime 60 \
31   --slow-exit 2>&1 | grep chain_ > results/$PREFIX-tpcc-chains.txt