I am doing some experimentation with ZFS for an NFS file server following ewwhite’s HA ZFS guide and I have run into some problems. The performance of the pool was considerably less than I was expecting so I’ve been working backwards to isolate the problem. First I tried changing mpath settings and disabling it entirely but that didn’t make a noticeable difference.
Now I am testing different raid configurations in ZFS and I have found that no matter what configuration I use the performance is always considerably lower than the speed of a single drive. I have mostly tried with these settings for the zpool -o ashift=12 -o autoexpand=on -o autoreplace=on -o cachefile=none
but have tried changing the ashift a bit and without any settings as well.
These numbers are from fio with this command. I have heard that testing zfs is weird so I’m not sure if this test might be inaccurate for zfs.
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --bs=4k --iodepth=64 --readwrite=randrw --rwmixread=75 --size=4G --filename=
Single Drive XFS
READ: bw=307MiB/s (322MB/s), 307MiB/s-307MiB/s (322MB/s-322MB/s), io=3070MiB (3219MB), run=9995-9995msec
WRITE: bw=103MiB/s (108MB/s), 103MiB/s-103MiB/s (108MB/s-108MB/s), io=1026MiB (1076MB), run=9995-9995msec
Single Drive ZFS
READ: bw=111MiB/s (117MB/s), 111MiB/s-111MiB/s (117MB/s-117MB/s), io=3070MiB (3219MB), run=27616-27616msec
WRITE: bw=37.2MiB/s (38.0MB/s), 37.2MiB/s-37.2MiB/s (38.0MB/s-38.0MB/s), io=1026MiB (1076MB), run=27616-27616msec
Stripe ZFS
READ: bw=92.8MiB/s (97.3MB/s), 92.8MiB/s-92.8MiB/s (97.3MB/s-97.3MB/s), io=3070MiB (3219MB), run=33089-33089msec
WRITE: bw=31.0MiB/s (32.5MB/s), 31.0MiB/s-31.0MiB/s (32.5MB/s-32.5MB/s), io=1026MiB (1076MB), run=33089-33089msec
Raidz 4 Disks
READ: bw=91.1MiB/s (95.5MB/s), 91.1MiB/s-91.1MiB/s (95.5MB/s-95.5MB/s), io=3070MiB (3219MB), run=33711-33711msec
WRITE: bw=30.4MiB/s (31.9MB/s), 30.4MiB/s-30.4MiB/s (31.9MB/s-31.9MB/s), io=1026MiB (1076MB), run=33711-33711msec
Specifications:
Dual 2667 v3
256GB RAM
LSI SAS3008
Dell MD1420 Enclosure
8xSamsung PM1633a
Any help would be appreciated.