From owner-freebsd-fs@FreeBSD.ORG Fri Jan 11 15:01:55 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8077B7E9 for ; Fri, 11 Jan 2013 15:01:55 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qa0-f45.google.com (mail-qa0-f45.google.com [209.85.216.45]) by mx1.freebsd.org (Postfix) with ESMTP id 49A4BF3F for ; Fri, 11 Jan 2013 15:01:55 +0000 (UTC) Received: by mail-qa0-f45.google.com with SMTP id j15so2625006qaq.18 for ; Fri, 11 Jan 2013 07:01:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=geMdmdeDJz1BVdTbo36ZePM+ywUfpcv2FwAonzPcPJA=; b=dA8mDG+pvyF41GSopqB+7I/aVBKHQ8hk6Ecfl3HzGbmSiem8cPecQ5X/9t81RaiG4u xzmj4x7yrTAe7ilwTZBNRTfYx4Nfufp2/kyW/RHRBdkhLniPQNoj9aY2AKC3gvQ1imHL ECW+jGkLEnpkQ2KgAt04tI6d/8shYNsHO//Yzx25vHaIyx33+XKF1HnVO2EQi18zEY4C WNQ5LncBxXSaOlQhKN+hhoEJPLIF5tmYu1oEHkvze4lNu+BKonBDERZVTvOuhy3JtOXu 4rMe1fGS9zANyB+ISmfeCwstaYbD211GsnpZJQ48xLI85rO7CgGazN6UOr+lF1I80LTt FK8Q== MIME-Version: 1.0 Received: by 10.49.72.136 with SMTP id d8mr72108441qev.62.1357916138771; Fri, 11 Jan 2013 06:55:38 -0800 (PST) Received: by 10.49.128.168 with HTTP; Fri, 11 Jan 2013 06:55:38 -0800 (PST) In-Reply-To: <1357915426.16602.YahooMailClassic@web190801.mail.sg3.yahoo.com> References: <1357915426.16602.YahooMailClassic@web190801.mail.sg3.yahoo.com> Date: Fri, 11 Jan 2013 08:55:38 -0600 Message-ID: Subject: Re: ZFS sub-optimal performance with default setting From: Adam Vande More To: Patrick Dung Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Tom Evans , freebsd-fs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2013 15:01:55 -0000 On Fri, Jan 11, 2013 at 8:43 AM, Patrick Dung wrote: > Hi Tom, > > To make it simple, I have setup in this setting: > > Host: Intel dual core 3Ghz CPU, RHEL 6.3 x64, RAM 8GB > > Freebsd 9.1 -i386 VM with these setting: > CPU: One > Memory: 2GB > 5GB for OS (da1) > 5GB for ZFS (da2), no separate ZIL > > Installed software: > Postgresql 9.2.2 (compile from ports) /usr/local/pgsql is a ZFS dataset > OTRS 3.1.6 (compile from ports) > Apache 2 install from packages > > zfs/postgresql/otrs/apache is in default setting, except I have turned off > atime in ZFS. I might make the argument ZFS isn't necessary or all that useful in this setup while adding quite a bit of overhead. About all you get over a UFS version is cheap snapshotting and even UFS can snapshot 50 GB with relatively low overhead. Single disk ZFS systems do also offer things like integrity checking, but UFS would still work fine for your use case. Additionally, I would still be worried about stability under load on a low mem 32 bit install. -- Adam Vande More