Skip to main content

Speed Testing RAID Drives

· 2 min read
Alex Hake
Lead Noob

I recently set up RAID 0 on a few SSDs for the Autonomys Network and I wanted to test out performance with fio. Not all the tests will be indicative of performance on Autonomys, but I was curious to see how the disk would perform with and without RAID. Looking at these results I am fairly impressed with the increase in performance. However, I'd like to rerun a few tests for longer time periods to see if there is an eventual drop off.

Sustained Read Test

Command Used

sudo fio --name=sustained_read_test --filename=/media/temp/testfile --size=10G --bs=1M --ioengine=libaio --direct=1 --rw=read --runtime=60 --time_based --group_reporting

Results Single Disk No Raid

Run status group 0 (all jobs):
READ: bw=458MiB/s (480MB/s), 458MiB/s-458MiB/s (480MB/s-480MB/s), io=26.8GiB (28.8GB), run=60001-60001msec

Results 2 Disk RAID 0

Run status group 0 (all jobs):
READ: bw=906MiB/s (950MB/s), 906MiB/s-906MiB/s (950MB/s-950MB/s), io=53.1GiB (57.0GB), run=60001-60001msec

Random Read/Write (4K Block Size)

Results Single Disk No Raid

Run status group 0 (all jobs):
READ: bw=10.6MiB/s (11.2MB/s), 10.6MiB/s-10.6MiB/s (11.2MB/s-11.2MB/s), io=638MiB (669MB), run=60001-60001msec
WRITE: bw=10.6MiB/s (11.2MB/s), 10.6MiB/s-10.6MiB/s (11.2MB/s-11.2MB/s), io=638MiB (669MB), run=60001-60001msec

Results 2 Disk RAID 0

Run status group 0 (all jobs):
READ: bw=17.2MiB/s (18.0MB/s), 17.2MiB/s-17.2MiB/s (18.0MB/s-18.0MB/s), io=1032MiB (1082MB), run=60010-60010msec
WRITE: bw=17.2MiB/s (18.0MB/s), 17.2MiB/s-17.2MiB/s (18.0MB/s-18.0MB/s), io=1032MiB (1082MB), run=60010-60010msec

Sequential Read/Write (1M Block Size)

Results Single Disk No Raid

Run status group 0 (all jobs):
READ: bw=196MiB/s (206MB/s), 196MiB/s-196MiB/s (206MB/s-206MB/s), io=11.5GiB (12.3GB), run=60071-60071msec
WRITE: bw=203MiB/s (213MB/s), 203MiB/s-203MiB/s (213MB/s-213MB/s), io=11.9GiB (12.8GB), run=60071-60071msec

Results 2 Disk RAID 0

Run status group 0 (all jobs):
READ: bw=416MiB/s (436MB/s), 416MiB/s-416MiB/s (436MB/s-436MB/s), io=24.4GiB (26.2GB), run=60005-60005msec
WRITE: bw=423MiB/s (444MB/s), 423MiB/s-423MiB/s (444MB/s-444MB/s), io=24.8GiB (26.6GB), run=60005-60005msec

Sequential Read Only (1M Block Size)

Results Single Disk No Raid

Run status group 0 (all jobs):
READ: bw=471MiB/s (494MB/s), 471MiB/s-471MiB/s (494MB/s-494MB/s), io=27.6GiB (29.7GB), run=60007-60007msec

Results 2 Disk RAID 0

Run status group 0 (all jobs):
READ: bw=864MiB/s (906MB/s), 864MiB/s-864MiB/s (906MB/s-906MB/s), io=50.6GiB (54.4GB), run=60005-60005msec

Random Write Only (4K Block Size)

Results Single Disk No Raid

Run status group 0 (all jobs):
WRITE: bw=106MiB/s (111MB/s), 106MiB/s-106MiB/s (111MB/s-111MB/s), io=6332MiB (6640MB), run=60004-60004msec

Results 2 Disk RAID 0

Run status group 0 (all jobs):
WRITE: bw=136MiB/s (142MB/s), 136MiB/s-136MiB/s (142MB/s-142MB/s), io=8137MiB (8533MB), run=60006-60006msec