Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2012 10:10:35 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        carlopmart <carlopmart@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ZFS options for FreeBSD 8.3
Message-ID:  <A0B3357E-44AE-46B9-A883-D939C236E64B@mac.com>
In-Reply-To: <4F8C4F89.7090205@gmail.com>
References:  <4F8C4F89.7090205@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 16, 2012, at 9:57 AM, carlopmart wrote:
> I have installed FreeBSD 8.3 amd64 release in an ESXi server. Due to some limitations, I can only assign 2GiB of RAM to this virtual machine and I need to use ZFS as filesystem to store some data (MySQL databases).

That combination doesn't make much sense, frankly.

ZFS is very memory hungry--  I wouldn't want to run it on anything with less than 4GB of RAM, although other folks around here have reported successful setups under 2GB of RAM with some tuning.  However, the data integrity benefits of ZFS mostly come from it talking directly to disks in JBOD configuration; if ZFS is just running in a VM and talking to a filesystem image, it loses much of the advantage which it might otherwise provide.

You'd almost certainly get better MySQL performance by going with UFSv2 and having the DB use most of the RAM, instead of having it be sucked away by ZFS.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A0B3357E-44AE-46B9-A883-D939C236E64B>