From owner-freebsd-fs@FreeBSD.ORG Wed Mar 2 11:31:40 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 8D7F3106564A for ; Wed, 2 Mar 2011 11:31:40 +0000 (UTC) (envelope-from numisemis@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 17E548FC1D for ; Wed, 2 Mar 2011 11:31:39 +0000 (UTC) Received: by bwz12 with SMTP id 12so57310bwz.13 for ; Wed, 02 Mar 2011 03:31:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=btmdVBlSgF2DCs+YMo5Jlt+7jthCgm1efk4VG3BZSLM=; b=RSe5Yf+fxgtHskctRTvRPhQzTOmywonMomA9fCiA3O7z1+eFf8itujUB7dAE7BPODM UpsER+ZKf2KyXfpq5dqyGEfRSIaTC71VazvkKwMZQJWkVEgWd9tOkhLkOUHiA6l2JwLN KijtWgA2TniEqb8mmLQ28IAaOe3RRCMV2rqDU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=nI4W7CZrrqI4CAPmcmRrFzvaaY7JQRS5YBQCjkcstnJKlujyYkPh4EUuCrTHT8kOQJ apq5uXuE7eagiw7mYe5e3JIMlMX35e4wvbgC42N5Eja1QJgoKB/3xla8KvMd+XJlL0ja U3ITApKgEuVw5hkhjslztYOKyyjIK53hjWbvE= MIME-Version: 1.0 Received: by 10.204.26.214 with SMTP id f22mr1155231bkc.100.1299063750053; Wed, 02 Mar 2011 03:02:30 -0800 (PST) Received: by 10.204.115.211 with HTTP; Wed, 2 Mar 2011 03:02:30 -0800 (PST) In-Reply-To: <20110302105000.GA38004@roberto-al.eurocontrol.fr> References: <0E00DAFC-C39F-47DC-B9AF-16419C20997F@tao.org.uk> <615F1346-E830-42E2-B229-4181B8BC56BD@exonetric.com> <53FA69D2-2EF0-4CBF-985B-6E710F15FE02@tao.org.uk> <20110302001650.GB49147@icarus.home.lan> <27423168-85BE-41B1-8E14-94F01310EFE4@tao.org.uk> <20110302105000.GA38004@roberto-al.eurocontrol.fr> Date: Wed, 2 Mar 2011 12:02:30 +0100 Message-ID: From: =?UTF-8?Q?=C5=A0imun_Mikecin?= To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: ZFS on a single disk? 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: Wed, 02 Mar 2011 11:31:40 -0000 2011/3/2 Ollivier Robert > According to Dr Josef Karthauser: > > I guess I should have been a bit clearer, I mean without any external > devices backing them. Seeing as this is to be running on a VPS/Xen at a > hosting environment I'm not able to add any additional devices. > > It will work even w/o anything added. I've run an amd64 VM for several > months like that. > > > I'm not memory starved however. Is it madness to use a memory disk? (The > instance in question will have 6gb of ram total to play with.). > > You could use an md device to serve as a cache but with only 6 GB, just let > ZFS use whatever it needs. > ZFS cache device (L2ARC) are beneficial when their size can be much larger than size of your ARC cache. If you have much RAM, use it for ARC. L2ARC acts like an extension of ARC, but is slower than ARC. It would really be madness to use that RAM for a memory disk on which you configure a ZFS cache device (L2ARC).