From owner-freebsd-fs@FreeBSD.ORG Tue Oct 18 15:55:27 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 CBECC106564A for ; Tue, 18 Oct 2011 15:55:27 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9DAE78FC13 for ; Tue, 18 Oct 2011 15:55:27 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.76 (FreeBSD)) (envelope-from ) id 1RGC0j-000CSa-Ub; Tue, 18 Oct 2011 11:55:25 -0400 Date: Tue, 18 Oct 2011 11:55:25 -0400 From: Gary Palmer To: Patrick Donnelly Message-ID: <20111018155525.GH38162@in-addr.com> References: <4E9AE725.4040001@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on noop.in-addr.com); SAEximRunCond expanded to false Cc: freebsd-fs@freebsd.org Subject: Re: [ZFS] Using SSD with partitions 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, 18 Oct 2011 15:55:27 -0000 On Mon, Oct 17, 2011 at 11:53:43PM -0400, Patrick Donnelly wrote: > Since people have asked about more details for my system: > > It uses old desktop hardware with 5 1TB WD Caviar Blues in a raidz > configuration with 1 of those drives being a hot spare (4 1TB drives > in the raidz). The system currently has 2 GB of RAM IIRC. > > I've been using NFS to access the data on my home network which has > worked pretty well. Writing to NFS over my VPN from across the country > is really bad which is one of the reasons I wanted to use a SSD for a > ZIL. read/write performance overall tends to be bad though so I don't > really know how much it will help. After fiddling around with NFS > settings for a long time I soon gave up and instead use SSH when > outside a LAN. That's another matter though and off-topic. :) Block access protocols (NFS, CIFS) suck over anything other than a LAN. If you think about it you basically have (and yes, this is WAY over simplified but it illustrates the point) Client: request block 0 of file 1 Server: block 0 Client: request block 1 of file 1 Server: block 1 So for each block (whether its 512 bytes, 4k or larger is irrelevant) you spend most of your time waiting for the request to transit the network. You spend very little time actually sending or receiving data. You're probably better off with something like WebDAV or the like as they are less impacted by RTT issues as they request the entire file at once. Gary