From owner-freebsd-fs@freebsd.org Wed Aug 19 16:25:04 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 3F1C69BECE3 for ; Wed, 19 Aug 2015 16:25:04 +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 0220412E5 for ; Wed, 19 Aug 2015 16:25:04 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ZS6Ae-000B4D-JR; Wed, 19 Aug 2015 17:25:00 +0100 Date: Wed, 19 Aug 2015 17:25:00 +0100 From: Gary Palmer To: PK1048 Cc: FreeBSD Filesystems , javocado Subject: Re: Optimizing performance with SLOG/L2ARC Message-ID: <20150819162500.GC13503@in-addr.com> References: <023F881D-CCC5-4FCA-B09D-EB92C3BFBC03@pk1048.com> <3FE10173-656C-4744-AB2D-32148A34CB46@pk1048.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FE10173-656C-4744-AB2D-32148A34CB46@pk1048.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: Wed, 19 Aug 2015 16:25:04 -0000 On Wed, Aug 19, 2015 at 12:10:39PM -0400, PK1048 wrote: > On Aug 19, 2015, at 12:02, Schweiss, Chip wrote: > > ZFS doesn't play well with the > > ZIL on the pool with SSDs. Even an SSD of the same type as the pool > > devices as the log device will fix the latency problem and throughput > > problems. > > If your load is sync writes then you decidedly want a LOG device, even if it is the same type as the devices in the pool. For the reasons others have posted. > One thing I am curious about: A lot of posters in the past (not blaming anyone in this thread) have said that the best way to find out if a SLOG device will help your application is to try. While ZFS gathers quite extensive statistics about read/write performance & volumes, ARC/L2ARC stats, etc, it doesn't seem to have any data about the number of writes to the pool that are sync vs async. It has to know, else it couldn't handle them properly. So why are there no stats about percentage of writes that are sync? Thanks, Gary