This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

test script

By: a guest on May 2nd, 2011  |  syntax: Bash  |  size: 0.37 KB  |  views: 129  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/sh
  2.  
  3. DEV=ad4
  4.  
  5. echo "Clean FS"
  6. newfs -E /dev/$DEV > /dev/null
  7.  
  8. echo "Dirty FS for 10 minutes"
  9. ./sio/sio 0 100 4096 50g 600 10 /dev/ad4
  10.  
  11. #Sequencial reads
  12. echo "Dirty Read test"
  13. time iot -i 50000 -b 65536 -d -r10 /dev/$DEV
  14.  
  15. echo "Clean FS"
  16. newfs -E /dev/$DEV >/dev/null
  17.  
  18. #Sequencial reads
  19. echo "Clean Read test"
  20. time iot -i 50000 -b 65536 -d -r10 /dev/$DEV
clone this paste RAW Paste Data