Date: Wed, 2 Mar 2011 04:16:12 -0800 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: Dr Josef Karthauser <joe@tao.org.uk> Cc: freebsd-fs@freebsd.org Subject: Re: ZFS on a single disk? Message-ID: <20110302121612.GA61020@icarus.home.lan> In-Reply-To: <27423168-85BE-41B1-8E14-94F01310EFE4@tao.org.uk> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 02, 2011 at 10:28:50AM +0000, Dr Josef Karthauser wrote: > On 2 Mar 2011, at 00:16, Jeremy Chadwick wrote: > > > Do not disable the ZIL. I hate referring to the Solaris documentation > > for FreeBSD, but it applies: > > > > http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Disabling_the_ZIL_.28Don.27t.29 > > > > And you cannot disable the ARC, so just tune it appropriately (which > > you'll need to do on FreeBSD anyway). In fact, by getting rid of the > > ARC (as you proposed), you would suffer worse performance than if you > > had it in use. > > 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. 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.). Again: don't disable the ZIL, and adjust the ARC to whatever size you want using a combo of vm.kmem_size and vfs.zfs.arc_max. Make use of the RAM you have available to you. :-) -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110302121612.GA61020>