From 8966d430c73232435ebba00bcd77dbbd730b9c88 Mon Sep 17 00:00:00 2001 From: adilger Date: Wed, 13 Nov 2002 22:27:36 +0000 Subject: [PATCH] Allow the iozone record size to be specified. --- lustre/tests/runiozone | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 1.8.3.1