47a88c0d1327c82007cd036a0377d1100eae6a69
[tridge/dbench.git] / loadfiles / scsi.txt
1 # Example loadfile for SCSI
2 # last value is sense or *
3 #
4 # timestamp TESTUNITREADY sense
5 0.000 TESTUNITREADY 0x00
6 #
7 #
8 # timestamp READ6 lba #xferlen sense
9 #    if lba is 0xffffffff this means to use a random lba
10 0.000 READ6    0 1 0x00
11 #
12 #
13 # timestamp READ10 lba #xferlen rd grp sense
14 #   if lba is 0xffffffff this means to use a random lba
15 #
16 #   rd is :
17 #     3 bits     0xe0 : RDPROTECT
18 #     1 bit      0x10 : DPO
19 #     1 bit      0x08 : FUA
20 #     1 bit      0x02 : FUA_NV
21 0.000 READ10    0 256 0 0 0x00
22 0.000 READ10 1000 256 0 0 0x00
23 0.000 READ10 2000 256 0 0 0x00
24 0.000 READ10 5000 256 0 0 0x00
25 #
26 #
27 # timestamp READCAPACITY10 lba pmi(0/1) sense
28 0.000 READCAPACITY10 0 0 0x00
29 #
30 #
31 # timestamp WRITE10 lba #xferlen FUAbits grp sense
32 # WRITES are ignored by default and must be activated using --allow-scsi-writes
33 #
34 #   if lba is 0xffffffff this means to use a random lba
35 #
36 #   FUAbits are cdb byte#1 in SBC:
37 #     a value of 0x06 will force the data to be written to the medium
38 #     a value of 0x00 allow the device to only write to nv-ram and not medium
39 0.000 WRITE10 5000 1 0x06 0 0x00
40
41