[zfs-discuss] read / write performance comparison raidz1 / raid10

Matthias Bodenbinder matthias at bodenbinder.de
Fri Feb 2 05:55:49 EST 2018


I ahve to add that I have set recordsize=1m and compression=off.



Am 02.02.2018 um 09:40 schrieb Matthias Bodenbinder via zfs-discuss:
> Hi,
> 
> I have a raidz1 and a raid10 with 4 drives each: 4x WD20EARX on raidz1 and 4x WD40EZRZ on raid10. The raidz1 is an external USB JBOD, the raid10 is internal SATA.
> 
> I did extensive performance tests with fio.
> 
> fio-rw-generic.fio:
> -------------------
> [global]
> ioengine=libaio
> invalidate=1
> iodepth=1
> refill_buffers
> randrepeat=0
> fallocate=none
> 
> [zstore]
> bs=1m
> stonewall
> rw=rw
> 
> 
> command:
> --------
> fio --size=32G --numjobs=5 fio-rw-generic.fio
> 	and variations of that: --size=5G,10G, etc.
> 	--numjobs=1,5,10, etc.
> with and without --runtime=60
> 
> My RAM is 32GB. 
> 
> In all cases I find that read and write speed are basically equal with less than 5% difference.
> 
> Why is that? I thought that at least for RAID10 the read speed should be significantly higher than write speed.
> 
> Matthias
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
> 



More information about the zfs-discuss mailing list