From owner-freebsd-fs@FreeBSD.ORG Tue Nov 22 00:07:41 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCDE5106566B for ; Tue, 22 Nov 2011 00:07:41 +0000 (UTC) (envelope-from ian@ndwns.net) Received: from smtpauth.rollernet.us (smtpauth.rollernet.us [IPv6:2607:fe70:0:3::d]) by mx1.freebsd.org (Postfix) with ESMTP id 88D9B8FC08 for ; Tue, 22 Nov 2011 00:07:41 +0000 (UTC) Received: from smtpauth.rollernet.us (localhost [127.0.0.1]) by smtpauth.rollernet.us (Postfix) with ESMTP id 3CF04594012 for ; Mon, 21 Nov 2011 16:07:23 -0800 (PST) Received: from localhost (c-76-126-116-195.hsd1.ca.comcast.net [76.126.116.195]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtpauth.rollernet.us (Postfix) with ESMTPSA for ; Mon, 21 Nov 2011 16:07:22 -0800 (PST) Date: Mon, 21 Nov 2011 16:07:26 -0800 From: Ian Downes To: freebsd-fs@freebsd.org Message-ID: <20111122000726.GA46653@weta.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Rollernet-Abuse: Processed by Roller Network Mail Services. Contact abuse@rollernet.us to report violations. Abuse policy: http://www.rollernet.us/policy X-Rollernet-Submit: Submit ID 7eef.4ecae7ba.e6797.0 Subject: tune ZFS for fast clone and creation? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2011 00:07:41 -0000 Hello, I know ZFS is already 'fast' with COW clones etc., but can ZFS be tuned for faster clone and creation? The fast random access of a SSD helps but what other options are there? Tuning caches? Different zpool layouts? ...? I haven't been able to find any info so any suggestions would be welcome! some basic experiments: zpool with a single 500 GB 7200 rpm consumer HDD zpool with a single 64 GB consumer SSD zfs create: 250 ms on HDD 110 ms on SSD zfs clone: (about 1 GB of mixed size) 250 ms on HDD 85 ms on SSD