Skip to content

Commit

Permalink
updated benchmark client
Browse files Browse the repository at this point in the history
  • Loading branch information
wantonsolutions committed Apr 5, 2017
1 parent 7a2ea38 commit 53cc40a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 926 deletions.
8 changes: 5 additions & 3 deletions experiements/etcd/azure/benchmarkClient.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# PUT-AND-GET

#

echo "Launching Client $1 $2 $3 $4 $5"
#latency is measured in ms
LATENCY=latency$4.dat
#bandwidth is measured in r/s
Expand All @@ -30,12 +30,14 @@ echo "" > $BANDWIDTH

start=`date +%s%N`
starts=`date +%s`
if [ "$BENCMARK" == "YCSB-A" ] || [ "$BENCHMARK" == "YCSB-B" ]; then
if [ "$BENCMARK" == "YCSB-A" ]; then
echo "BENCHMARK $BENCHMARK"
if [ "$BENCHMARK" == "YCSB-A" ] || [ "$BENCHMARK" == "YCSB-B" ]; then
if [ "$BENCHMARK" == "YCSB-A" ]; then
mod=2
elif [ "$BENCHMARK" == "YSCB-B" ]; then
mod=20
fi
echo "Beginning requests"

HASPUT=()
for word in $(<$1)
Expand Down
Loading

0 comments on commit 53cc40a

Please sign in to comment.