From: Sage Weil Date: Sun, 3 Feb 2013 17:28:22 +0000 (-0800) Subject: qa: smalliobenchrbd workunit X-Git-Tag: v0.57~59 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b970d054cef9d351aea8d254255de3874c2b10ca;p=ceph.git qa: smalliobenchrbd workunit Run a bunch of parallel smalliobenchrbd processes. Signed-off-by: Sage Weil --- diff --git a/qa/workunits/rbd/smalliobench.sh b/qa/workunits/rbd/smalliobench.sh new file mode 100755 index 000000000000..5cedc78e7689 --- /dev/null +++ b/qa/workunits/rbd/smalliobench.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +NUM="$1" +GAP="$2" +DUR="$3" + +[ -z "$NUM" ] && NUM=30 +[ -z "$GAP" ] && GAP=5 +[ -z "$DUR" ] && DUR=30 + +for n in `seq 1 $NUM`; do + echo "Starting $n of $NUM ..." + smalliobenchrbd --pool rbd --duration $DUR --disable-detailed-ops 1 & + sleep $GAP +done +echo "Waiting..." +wait +echo "OK"