User Tools

Site Tools


Table of Contents

RAID5 vs RAID10

RAID5

Write, read-write, read

# dd if=/dev/zero of=/mnt/AAA bs=128k count=1000000 status=progress
  130946695168 bytes (131 GB, 122 GiB) transferred 267.028s, 490 MB/s
1000000+0 records in
1000000+0 records out
131072000000 bytes transferred in 267.276048 secs (490399349 bytes/sec)

# dd if=/mnt/AAA of=/mnt/AAA2 bs=128k  status=progress
^C33032896512 bytes (33 GB, 31 GiB) transferred 224.030s, 147 MB/s
252380+0 records in
252380+0 records out
33079951360 bytes transferred in 224.334439 secs (147458194 bytes/sec)

# dd of=/dev/zero if=/mnt/AAA bs=128k count=1000000 status=progress
  130589523968 bytes (131 GB, 122 GiB) transferred 184.058s, 710 MB/s
1000000+0 records in
1000000+0 records out
131072000000 bytes transferred in 184.938336 secs (708733533 bytes/sec)

# gpart show da1
=>         40  23438819248  da1  GPT  (11T)
           40  23438819248    1  freebsd-ufs  (11T)

RAID10

# dd of=/dev/zero if=/mnt/AAA bs=128k count=1000000 status=progress
69164335104 bytes (69 GB, 64 GiB) transferred 173.063s, 400 MB/s
527956+0 records in
527956+0 records out
69200248832 bytes transferred in 173.147398 secs (399660923 bytes/sec)

# dd if=/mnt/AAA of=/mnt/AAA2 bs=128k  status=progress
15308029952 bytes (15 GB, 14 GiB) transferred 199.014s, 77 MB/s
116962+0 records in
116962+0 records out
15330443264 bytes transferred in 199.327982 secs (76910643 bytes/sec)

# dd of=/dev/zero if=/mnt/AAA bs=128k count=1000000 status=progress
81759043584 bytes (82 GB, 76 GiB) transferred 169.005s, 484 MB/s
626718+0 records in
626718+0 records out
82145181696 bytes transferred in 169.969621 secs (483293314 bytes/sec)

result, Mb/s

type write read-write read
raid5 490 147 710
raid10 400 77 484