tiotest is a nice start to what I would like to see: a replacement
for bonnie... While stripping out the character-based stuff from
bonnie would bring it closer to what I'd like to see, threading
would be a bit of a pain so starting with tiotest as a base might
not be a bad idea if people are willing to help out...

--- tiotest-0.05/tiobench.sh    Mon Nov 29 07:58:12 1999
+++ tiotest-0.05.new/tiobench.sh        Mon Nov 29 17:03:44 1999
@@ -22,7 +22,7 @@
     let tseeks=4000/$i
     ofile=tiob$datestring.$i.txt
     echo -n "Testing with $i threads..."
-    tiotest -t $i -f $tsize -s $tseeks -d $dir >$ofile
+    $TIOTEST -t $i -f $tsize -s $tseeks -d $dir >$ofile
     echo "Done"
 done

@@ -32,6 +32,7 @@
     ofile=tiob$datestring.$i.txt
     grep -A 3 "Total results" $ofile | grep -v "Total results"
     echo ""
+    rm -f $ofile
 done

 echo "Tests done."

James
-- 
Miscellaneous Engineer --- IBM Netfinity Performance Development

Reply via email to