|
|
@ -73,8 +73,12 @@ while IFS='' read -r line || [[ -n "$line" ]]; do |
|
|
|
IFS=' ' read ip port mode shardID <<< $line |
|
|
|
IFS=' ' read ip port mode shardID <<< $line |
|
|
|
#echo $ip $port $mode |
|
|
|
#echo $ip $port $mode |
|
|
|
if [ "$mode" != "client" ]; then |
|
|
|
if [ "$mode" != "client" ]; then |
|
|
|
./bin/benchmark -ip $ip -port $port -log_folder $log_folder $DB $PEER -min_peers $MIN & |
|
|
|
if [ -z "$PEER" ]; then |
|
|
|
sleep 10 |
|
|
|
./bin/benchmark -ip $ip -port $port -config_file $config -log_folder $log_folder $DB -min_peers $MIN & |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
./bin/benchmark -ip $ip -port $port -log_folder $log_folder $DB $PEER -min_peers $MIN & |
|
|
|
|
|
|
|
sleep 5 |
|
|
|
|
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
done < $config |
|
|
|
done < $config |
|
|
|
|
|
|
|
|
|
|
|