blob: 566b1d5be578458286e1063061321ac120ff63fe [file] [log] [blame]
koder aka kdanilov4a72f122015-02-09 12:25:54 +02001#!/bin/bash
2set -x
3set -e
4
5type="iozone"
6
7bsizes="1k 4k 64k 256k 1m"
8ops="randwrite write"
9osync="s a"
10three_times="1 2 3"
11
12for bsize in $bsizes ; do
13 for op in $ops ; do
14 for sync in $osync ; do
15 for xxx in $three_times ; do
16 if [[ "$sync" == "s" ]] ; then
17 ssync="-s"
18 factor="x500"
19 else
20 if [[ "$bsize" == "1k" || "$bsize" == "4k" ]] ; then
21 continue
22 fi
23
24 ssync=
25 factor="r2"
26 fi
27
28 python run_rally_test.py -l -o "--type $type -a $op --iodepth 16 --blocksize $bsize --iosize $factor $ssync" -t io-scenario $type --rally-extra-opts="--deployment perf-2"
29 done
30 done
31 done
32done
33
34bsizes="4k 64k 256k 1m"
35ops="randread read"
36
37for bsize in $bsizes ; do
38 for op in $ops ; do
39 for xxx in $three_times ; do
40 python run_rally_test.py -l -o "--type $type -a $op --iodepth 16 --blocksize $bsize --iosize r2" -t io-scenario $type --rally-extra-opts="--deployment perf-2"
41 done
42 done
43done