First off, I apologize if this has been discussed before, my search yielded nothing. Secondly, a lot of this is new to me so it is possible that I'm missing something rather glaring.
I am running SE11 with napp-it. When I run the dd bench via napp-it against my raid-z pool I see better performance than I do with a zfs mirror pool, using the same drives. Here are the results:
RAID-Z:
NAME STATE READ WRITE CKSUM
testpool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
c9t0d0 ONLINE 0 0 0
c9t1d0 ONLINE 0 0 0
c9t2d0 ONLINE 0 0 0
c9t3d0 ONLINE 0 0 0
cache
c9t5d0 ONLINE 0 0 0
c9t6d0 ONLINE 0 0 0
write 10.24 GB via dd, please wait...
time dd if=/dev/zero of=/testpool/dd.tst bs=1024000 count=10000
10000+0 records in
10000+0 records out
real 29.7
user 0.0
sys 6.3
10.24 GB in 29.7s = 344.78 MB/s Write
________________________________________
read 10.24 GB via dd, please wait...
time dd if=/testpool/dd.tst of=/dev/null bs=1024000
10000+0 records in
10000+0 records out
real 30.8
user 0.0
sys 4.4
10.24 GB in 30.8s = 332.47 MB/s Read
ZFS MIRROR:
NAME STATE READ WRITE CKSUM
testpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c9t0d0 ONLINE 0 0 0
c9t1d0 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
c9t2d0 ONLINE 0 0 0
c9t3d0 ONLINE 0 0 0
cache
c9t5d0 ONLINE 0 0 0
c9t6d0 ONLINE 0 0 0
write 10.24 GB via dd, please wait...
time dd if=/dev/zero of=/testpool/dd.tst bs=1024000 count=10000
10000+0 records in
10000+0 records out
real 47.6
user 0.0
sys 5.8
10.24 GB in 47.6s = 215.13 MB/s Write
_______________________________________
read 10.24 GB via dd, please wait...
time dd if=/testpool/dd.tst of=/dev/null bs=1024000
10000+0 records in
10000+0 records out
real 32.6
user 0.0
sys 4.0
10.24 GB in 32.6s = 314.11 MB/s Read
As you can see, the write/read raid-z versus mirror difference is not huge (344/332 vs 215/314) but it does goes against everything I've read about mirror giving better performance.
Does this make any sense?
I am running SE11 with napp-it. When I run the dd bench via napp-it against my raid-z pool I see better performance than I do with a zfs mirror pool, using the same drives. Here are the results:
RAID-Z:
NAME STATE READ WRITE CKSUM
testpool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
c9t0d0 ONLINE 0 0 0
c9t1d0 ONLINE 0 0 0
c9t2d0 ONLINE 0 0 0
c9t3d0 ONLINE 0 0 0
cache
c9t5d0 ONLINE 0 0 0
c9t6d0 ONLINE 0 0 0
write 10.24 GB via dd, please wait...
time dd if=/dev/zero of=/testpool/dd.tst bs=1024000 count=10000
10000+0 records in
10000+0 records out
real 29.7
user 0.0
sys 6.3
10.24 GB in 29.7s = 344.78 MB/s Write
________________________________________
read 10.24 GB via dd, please wait...
time dd if=/testpool/dd.tst of=/dev/null bs=1024000
10000+0 records in
10000+0 records out
real 30.8
user 0.0
sys 4.4
10.24 GB in 30.8s = 332.47 MB/s Read
ZFS MIRROR:
NAME STATE READ WRITE CKSUM
testpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c9t0d0 ONLINE 0 0 0
c9t1d0 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
c9t2d0 ONLINE 0 0 0
c9t3d0 ONLINE 0 0 0
cache
c9t5d0 ONLINE 0 0 0
c9t6d0 ONLINE 0 0 0
write 10.24 GB via dd, please wait...
time dd if=/dev/zero of=/testpool/dd.tst bs=1024000 count=10000
10000+0 records in
10000+0 records out
real 47.6
user 0.0
sys 5.8
10.24 GB in 47.6s = 215.13 MB/s Write
_______________________________________
read 10.24 GB via dd, please wait...
time dd if=/testpool/dd.tst of=/dev/null bs=1024000
10000+0 records in
10000+0 records out
real 32.6
user 0.0
sys 4.0
10.24 GB in 32.6s = 314.11 MB/s Read
As you can see, the write/read raid-z versus mirror difference is not huge (344/332 vs 215/314) but it does goes against everything I've read about mirror giving better performance.
Does this make any sense?