N-way mirror read speedup in zfsonlinux

Martin Matuska mm at FreeBSD.org
Sun Aug 4 09:25:53 UTC 2013


Attached is a FreeBSD version of this patch for testing and comments,
including sysctl tunable:
http://people.freebsd.org/~mm/patches/zfs/vdev_mirror.c.patch

On 2013-07-12 11:21, Martin Matuška wrote:
> Hi everyone,
>
> zfsonlinux has implemented a change in the N-way mirror device selection
> algorithm by selecting the device with the least pending I/O instead of
> random selection. They measured an increased read bandwidth increase
> up to
> 50% and IOPS increase up to 10%.
>
> this might be useful for common ZFS code and we might consider porting
> this
> to illumos and FreeBSD:
> https://github.com/zfsonlinux/zfs/issues/1461
> https://github.com/zfsonlinux/zfs/commit/556011dbec2d10579819078559a77630fc559112
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdev_mirror.c.patch
Type: text/x-patch
Size: 3742 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/zfs-devel/attachments/20130804/b9045dce/attachment.bin>


More information about the zfs-devel mailing list