-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmulti_recover_b0_back.sh
executable file
·23 lines (21 loc) · 1.36 KB
/
multi_recover_b0_back.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# ulimit -n 8000
#sudo pkill -f dbtest
mkdir -p xxxx_recover
trd=$1
let yyml=trd+1
echo "./out-perf.masstree/benchmarks/dbtest --verbose --bench tpcc --db-type mbta \
--scale-factor $trd --num-threads $trd --numa-memory 1G \
--parallel-loading --runtime 30 \
--bench-opts="--cpu-gap 1 --num-cpus 32" \
-F third-party/paxos/config/local/2follower_$yyml.yml \
-F third-party/paxos/config/occ_paxos.yml \
--multi-process -P localhost -S 1000 -z 1 > ./xxxx_recover/leader-$trd.log 2>&1 &"
./out-perf.masstree/benchmarks/dbtest --verbose --bench tpcc --db-type mbta \
--scale-factor $trd --num-threads $trd --numa-memory 1G \
--parallel-loading --runtime 30 \
--bench-opts="--cpu-gap 1 --num-cpus 32" \
-F third-party/paxos/config/local/2follower_$yyml.yml \
-F third-party/paxos/config/occ_paxos.yml \
--multi-process -P localhost -S 1000 -z 1 > ./xxxx_recover/leader-$trd.log 2>&1 &
#tail -f ./xxxx_recover/leader-$trd.log