Skip site navigation (1)Skip section navigation (2)


| raw e-mail | index | archive | help
When I said "33kiB" I meant "33 pages", or 132 kB.  And the solution
turns out to be very easy.  Since I'm using ZFS on top of geli, with
the default recsize of 128kB, I'll just set
vfs.zfs.vdev.aggregation_limit to 128 kB.  That way geli will never
need to allocate more than 128kB contiguously.  ZFS doesn't even need
those big allocations to be contiguous; it's just aggregating smaller
operations to reduce disk IOPs.  But aggregating up to 1MB (the
default) is overkill; any rotating HDD should easily be able to max
out its consecutive write IOPs with 128kB operation size.  I'll add a
read-only sysctl for g_eli_alloc_sz too.  Thanks Mark.

-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>