From: adilger Date: Wed, 13 Nov 2002 22:27:36 +0000 (+0000) Subject: Allow the iozone record size to be specified. X-Git-Tag: 0.5.17~9 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=8966d430c73232435ebba00bcd77dbbd730b9c88;p=fs%2Flustre-release.git Allow the iozone record size to be specified. --- diff --git a/lustre/tests/runiozone b/lustre/tests/runiozone index deb66a9..aa2a2c2 100755 --- a/lustre/tests/runiozone +++ b/lustre/tests/runiozone @@ -3,12 +3,14 @@ SIZE=5g COUNT=0 [ -z "$VERIFY" ] && VERIFY="-+d" [ -z "$ODIR" ] && ODIR="-I" +[ -z "$REC" ] && REC=64 FILE=/mnt/lustre/test.$$ [ $1 ] && SIZE=$1 rm -f endiozone +echo 0 > /proc/sys/portals/debug while date; do echo "Test #$COUNT" - iozone $VERIFY $ODIR -r 64 -i 0 -i 1 -f $FILE -s $SIZE 2>&1 || exit $? + iozone $VERIFY $ODIR -r $REC -i 0 -i 1 -f $FILE -s $SIZE 2>&1 || exit $? COUNT=`expr $COUNT + 1` [ -f endiozone ] && rm endiozone && exit 0 done | tee /tmp/iozone.log