From owner-freebsd-stable@FreeBSD.ORG Mon Apr 16 17:29:07 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1651D106566C for ; Mon, 16 Apr 2012 17:29:07 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9088C8FC0A for ; Mon, 16 Apr 2012 17:29:06 +0000 (UTC) Received: by eaaf13 with SMTP id f13so1488256eaa.13 for ; Mon, 16 Apr 2012 10:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=OsNEVpnt2q8ei+rdHXa9oRUyPDnlru3QaeSQsaik7P8=; b=BZsRk0roBViKrpww7u/zxutt8hbgSbs0AiOr0WbXU8UzZHZFmZoF0cdqESnDjKkhJK mZ0WRZnxhGfFRPOcVX9sDd9kpoFw24V188ukEk0IDdCywdcGCjwyx5jIJ8g4BGt8+aLC dJC52+VI63B9LDe1jOiSO3QY/lc0L5SPgXqpTRHqRhnWz5vGCjF5iSyr8LiO3HjO6/H3 ArO2rYh7SD86bbEX2NFftL80ur/Ir8Eo3/eIp5ffvo3M9MAxDgNrUxviMq5cQxHtiYLE 4+DwiWdW3HS7ts7jSIoVJuY1TgOR2b22WfZwxj3oZ1PSYWTZB2I8KuOan55STiHn1P05 xTOA== Received: by 10.213.35.129 with SMTP id p1mr917281ebd.248.1334597340570; Mon, 16 Apr 2012 10:29:00 -0700 (PDT) Received: from silmaril.hpulabs.org (81.Red-83-63-141.staticIP.rima-tde.net. [83.63.141.81]) by mx.google.com with ESMTPS id z47sm89877515een.5.2012.04.16.10.28.58 (version=SSLv3 cipher=OTHER); Mon, 16 Apr 2012 10:28:59 -0700 (PDT) Message-ID: <4F8C56D9.4040309@gmail.com> Date: Mon, 16 Apr 2012 19:28:57 +0200 From: carlopmart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111109 Red Hat/3.1.16-2.el6_1 Lightning/1.0b2 Thunderbird/3.1.16 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4F8C4F89.7090205@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ZFS options for FreeBSD 8.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2012 17:29:07 -0000 On 04/16/2012 07:10 PM, Chuck Swiger wrote: > 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, Thanks Chuck. Yes, I know it is not hte best option. But I need to tunning this vm with ZFS. Almost, is the minimum RAM needed for ZFS according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/filesystems-zfs.html. -- CL Martinez carlopmart {at} gmail {d0t} com