2014-04-28 15:39:57 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
test_name=$1
|
|
|
|
bin_size=$2
|
|
|
|
version=$3
|
2014-06-06 23:59:33 +00:00
|
|
|
perf_test=$4
|
|
|
|
backend=$5
|
|
|
|
cuttle=$5
|
2014-04-28 15:39:57 +00:00
|
|
|
|
|
|
|
if [ -z $version -o -z $test_name -o -z $bin_size ]; then
|
|
|
|
echo "out"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2014-06-06 23:59:33 +00:00
|
|
|
if [ -z $perf_test ]; then
|
|
|
|
perf_test="get_put"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -z $backend ]; then
|
|
|
|
backend="riak_kv_bitcask_backend"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -z $cuttle ]; then
|
|
|
|
cuttle="--cuttle false"
|
|
|
|
else
|
|
|
|
cuttle=""
|
|
|
|
fi
|
|
|
|
|
|
|
|
./riak_test -c rtperf2 -t $perf_test -b $backend -- --restart true --prepop true \
|
2014-04-28 15:39:57 +00:00
|
|
|
--run-time 120 --target-pct 120 --ram-size 48 \
|
|
|
|
--bin-size $bin_size --name $test_name --bin-type exponential \
|
2014-06-06 23:59:33 +00:00
|
|
|
--version $version $cuttle
|
2014-04-28 15:39:57 +00:00
|
|
|
|
2014-06-06 23:59:33 +00:00
|
|
|
./riak_test -c rtperf2 -t $perf_test -b $backend -- --restart true --prepop true \
|
2014-04-28 15:39:57 +00:00
|
|
|
--run-time 120 --target-pct 70 --ram-size 48 \
|
|
|
|
--bin-size $bin_size --name $test_name --bin-type exponential \
|
2014-06-06 23:59:33 +00:00
|
|
|
--version $version $cuttle
|
2014-04-28 15:39:57 +00:00
|
|
|
|
2014-06-06 23:59:33 +00:00
|
|
|
./riak_test -c rtperf2 -t $perf_test -b $backend -- --restart true --prepop true \
|
2014-04-28 15:39:57 +00:00
|
|
|
--run-time 120 --target-pct 20 --ram-size 48 \
|
|
|
|
--bin-size $bin_size --name $test_name --bin-type exponential \
|
2014-06-06 23:59:33 +00:00
|
|
|
--version $version $cuttle
|
2014-04-28 15:39:57 +00:00
|
|
|
|