Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2015 06:32:56 +1000
From:      andrew clarke <>
Cc:        "" <>, Jaime Kikpole <>
Subject:   Re: ZFS in a VM?
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri 2015-05-29 09:36:53 UTC-0400, ( wrote:

> > Keep in mind that large capacity ZFS datasets can require several GBs
> > of memory to work well, particularly if you're using dedup, so you'll
> > need to adjust your VM guest's memory appropriately.
> Be careful with dedup. The memory requirements are so large that with
> large amounts of data is is easy to get into a situation that takes days
> to recover from.
> When not using dedup: There are reports that ZFS can be used in as little
> as 4GB of memory -- in the i386 FreeBSD at that! I've got a small setup
> with 8GB of memory that works well for me, but I'm not using dedup until
> I can put a lot more memory in this machine. 

I've used ZFS-on-root on amd64 with just 1.5 GB memory for a two-way 1 TB
mirror without any dramas for over a year. I wasn't using dedup or
snapshots, though, and I avoided running any userland software that
ate lots of memory. This was also on bare metal, not a VM.

It now has 4 GB, which is plenty.

Want to link to this message? Use this URL: <>