Commit | Line | Data |
---|---|---|
de141540 JA |
1 | # Do some important numbers on SSD drives, to gauge what kind of |
2 | # performance you might get out of them. | |
3 | # | |
4 | # Sequential read and write speeds are tested, these are expected to be | |
5 | # high. Random reads should also be fast, random writes are where crap | |
6 | # drives are usually separated from the good drives. | |
7 | # | |
8 | # This uses a queue depth of 4. New SATA SSD's will support up to 32 | |
9 | # in flight commands, so it may also be interesting to increase the queue | |
10 | # depth and compare. Note that most real-life usage will not see that | |
11 | # large of a queue depth, so 4 is more representative of normal use. | |
12 | # | |
13 | [global] | |
14 | bs=4k | |
15 | ioengine=libaio | |
16 | iodepth=4 | |
17 | size=1g | |
18 | direct=1 | |
19 | runtime=60 | |
20 | directory=/mount-point-of-ssd | |
21 | filename=ssd.test.file | |
22 | ||
23 | [seq-read] | |
24 | rw=read | |
25 | stonewall | |
26 | ||
27 | [rand-read] | |
28 | rw=randread | |
29 | stonewall | |
30 | ||
31 | [seq-write] | |
32 | rw=write | |
33 | stonewall | |
34 | ||
35 | [rand-write] | |
36 | rw=randwrite | |
37 | stonewall |