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