dio 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #DESCRIPTION:Direct IO tests
  2. ## Complete a default run.
  3. dio01 diotest1
  4. dio02 diotest2
  5. dio03 diotest3
  6. dio04 diotest4
  7. dio05 diotest5
  8. dio06 diotest6
  9. ## Run the tests with larger buffersize
  10. dio07 diotest1 -b 65536
  11. dio08 diotest2 -b 65536
  12. dio09 diotest3 -b 65536
  13. dio10 diotest4 -b 65536
  14. dio11 diotest5 -b 65536
  15. dio12 diotest6 -b 65536
  16. ### Run the tests with larger iterations
  17. dio13 diotest1 -b 65536 -n 2000
  18. dio14 diotest2 -b 65536 -i 1000
  19. dio15 diotest3 -b 65536 -i 1000
  20. dio16 diotest5 -b 65536 -i 1000
  21. dio17 diotest6 -b 65536 -i 1000
  22. ## Run the tests with larger offset - 1MB
  23. dio18 diotest2 -b 65536 -i 1000 -o 1024000
  24. dio19 diotest3 -b 65536 -i 1000 -o 1024000
  25. dio20 diotest5 -b 65536 -i 1000 -o 1024000
  26. dio21 diotest6 -b 65536 -i 1000 -o 1024000
  27. ## Run the tests with larger offset - 100 MB
  28. dio22 diotest2 -b 65536 -i 1000 -o 104857600
  29. dio23 diotest3 -b 65536 -i 1000 -o 104857600
  30. dio24 diotest5 -b 65536 -i 1000 -o 104857600
  31. dio25 diotest6 -b 65536 -i 1000 -o 104857600
  32. ### Run tests with larger vector array
  33. dio26 diotest6 -b 8192 -v 100
  34. dio27 diotest6 -b 8192 -o 1024000 -i 1000 -v 100
  35. dio28 diotest6 -b 8192 -o 1024000 -i 1000 -v 200
  36. ### Run the tests with more children
  37. dio29 diotest3 -b 65536 -n 100 -i 100 -o 1024000
  38. dio30 diotest6 -b 65536 -n 100 -i 100 -o 1024000
  39. #
  40. # RAW DEVICE TEST SECTION
  41. # DEV1 and DEV2 should be exported prior to execution or
  42. # replaced with the actual device ids, i.e.
  43. # dio33 diotest1 -i /dev/sda2 -o /dev/sda3
  44. #
  45. ### Run the tests with raw device
  46. #dio33 diotest1 -i $DEV1 -o $DEV2
  47. #dio34 diotest2 -f $DEV1
  48. #dio36 diotest3 -f $DEV1
  49. #dio37 diotest5 -f $DEV1
  50. #dio38 diotest6 -f $DEV1
  51. #
  52. ### Run the tests with raw device and larger iterations
  53. #dio39 diotest1 -b 65536 -n 2000 -i $DEV1 -o $DEV2
  54. #dio40 diotest2 -b 65536 -i 1000 -f $DEV1
  55. #dio41 diotest3 -b 65536 -i 1000 -f $DEV1
  56. #dio42 diotest5 -b 65536 -i 1000 -f $DEV1
  57. #dio43 diotest6 -b 65536 -i 1000 -f $DEV1
  58. #
  59. ## Run the tests with raw device and larger offset - 100 MB
  60. #dio44 diotest2 -b 65536 -i 1000 -o 104857600 -f $DEV1
  61. #dio45 diotest3 -b 65536 -i 1000 -o 104857600 -f $DEV1
  62. #dio46 diotest5 -b 65536 -i 1000 -o 104857600 -f $DEV1
  63. #dio47 diotest6 -b 65536 -i 1000 -o 104857600 -f $DEV1