Options for zfs inside a VM backed by zfs on the host

Gary Palmer gpalmer at freebsd.org
Sat Aug 29 14:55:07 UTC 2015


On Thu, Aug 27, 2015 at 08:12:54PM -0400, Quartz wrote:
> > I am right now exploring the question: are SSD ZILs necessary in an all SSD
> > pool?
> 
> Something mentioned in another recent thread on this list (or maybe it 
> was -questions?) was that yes, you really should consider a separate ZIL 
> if you're using primarily SSDs. Without a separate disk, log writes have 
> to steal blocks from the pool itself which then have to be deleted 
> afterwards to let go of the space. Besides causing excess file 
> fragmentation, the write-delete cycle doesn't play well with SSDs and 
> trim and can seriously hamper performance. With a dedicated disk, it 
> writes and then just leaves it there, only overwriting later if necessary.

Presumably they're only necessary if you're dealing with sync writes?  If
the vast majority of your workload is async writes, does a separate ZIL SSD
still help?

And I still am curious why ZFS has no stats for letting you measure sync
vs async writes

Gary


More information about the freebsd-fs mailing list