From owner-freebsd-fs@freebsd.org Sat Aug 29 14:55:07 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CEA129C43F2 for ; Sat, 29 Aug 2015 14:55:07 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 924991C15 for ; Sat, 29 Aug 2015 14:55:07 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ZVhX6-000F0C-I7; Sat, 29 Aug 2015 15:55:04 +0100 Date: Sat, 29 Aug 2015 15:55:04 +0100 From: Gary Palmer To: Quartz Cc: freebsd-fs@freebsd.org Subject: Re: Options for zfs inside a VM backed by zfs on the host Message-ID: <20150829145504.GA99821@in-addr.com> References: <20150827061044.GA10221@blazingdot.com> <20150827062015.GA10272@blazingdot.com> <1a6745e27d184bb99eca7fdbdc90c8b5@SERVER.ad.usd-group.com> <55DF46F5.4070406@redbarn.org> <453A5A6F-E347-41AE-8CBC-9E0F4DA49D38@ccsys.com> <55DFA786.8090809@sneakertech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55DFA786.8090809@sneakertech.com> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 14:55:07 -0000 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