From owner-freebsd-questions@FreeBSD.ORG Sat Feb 18 13:52:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BD53106566C for ; Sat, 18 Feb 2012 13:52:57 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id A6E3D8FC08 for ; Sat, 18 Feb 2012 13:52:56 +0000 (UTC) Received: from mail.unitedinsong.com.au (bell.herveybayaustralia.com.au [192.168.0.40]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 579C75C28 for ; Sun, 19 Feb 2012 00:06:22 +1000 (EST) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.177]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 893FC5C22 for ; Sun, 19 Feb 2012 00:06:21 +1000 (EST) Message-ID: <4F3FAC17.8000300@herveybayaustralia.com.au> Date: Sat, 18 Feb 2012 23:48:07 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4F3ECF23.5000706@fisglobal.com> <20120217234623.cf7e169c.freebsd@edvax.de> <3D08D03C85ACFBB1ABCDC5DA@mac-pro.magehandbook.com> <20120218112252.772c878b.freebsd@edvax.de> <4F3F80FD.8070201@herveybayaustralia.com.au> <4F3F8A46.1090908@infracaninophile.co.uk> <4F3F8D39.80907@herveybayaustralia.com.au> <4F3FA9FB.7030203@infracaninophile.co.uk> In-Reply-To: <4F3FA9FB.7030203@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: /usr/home vs /home X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2012 13:52:57 -0000 On 02/18/12 23:39, Matthew Seaman wrote: > On 18/02/2012 11:36, Da Rock wrote: >> If I may, can I ask a quick question: My main misgivings about ZFS have >> been speed, ram use, and up till about a year ago or so relative 'youth' >> (at least on FreeBSD). What would be the minimum ram you would use for a >> high disk use? And what would be recommended to use for the caching? I >> was thinking 8G ram and either a high quality usb/SD(/CF?) disk or a >> sata II/III SSD for cache. > Yes -- ZFS uses RAM heavily to improve performance. I've a VM running > ZFS with only 1GB which is pretty slow. Mind you, a similar VM with > UFS is also pretty slow. > > For an actual machine, about 4GB makes a reasonable ZFS system. More is > better though; 8GB is what I'd recommend. ZFS speed is on the whole > pretty reasonable. It doesn't do small, randomized IO very effectively, > so it's not ideal to run a database on. Other than that, for a home > e-mail / web /fileserver ZFS is just fine. > > I haven't tried SSDs or anything like that -- that's an optimization to > improve latency when accessing lots of different files, and my usage > doesn't really justify it. Try it without before spending any money on > SSDs. It may well be good enough, but if it isn't then adding SSDs and > making ZFS use them for ZIL or cache is pretty simple (and doesn't > require any downtime.) I was thinking along the lines of continuous heavy load of writing (some read) rather large files (5G+ would be average - multiple!) - does that warrant caching or is it only lots of smaller files? That and lots of ~0.5G files (read mostly) is what defines the main load on the system. I ask because I'm not 100% sure of what the caching is for. I had thought it was like the journal log for fast writing to be later written to the filesystem itself, but now I think I may be wrong in my judgement. It now sounds like a fast access for usual suspects. Now you see how a terabyte and a half disk space can be used in a matter of hours :)