From owner-freebsd-stable@FreeBSD.ORG Sat Jan 8 20:37:25 2011 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 4482B106566C for ; Sat, 8 Jan 2011 20:37:25 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 165358FC16 for ; Sat, 8 Jan 2011 20:37:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 69E7C50901 for ; Sat, 8 Jan 2011 20:37:24 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xzhhuTjX7aMk for ; Sat, 8 Jan 2011 20:37:24 +0000 (GMT) Received: from smtp-auth.unixathome.org (smtp-auth.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) by nyi.unixathome.org (Postfix) with ESMTPSA id 2B147508F4 for ; Sat, 8 Jan 2011 20:37:24 +0000 (GMT) Message-ID: <4D28CB06.8030301@langille.org> Date: Sat, 08 Jan 2011 15:37:26 -0500 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-stable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ZFS - benchmark & tuning before and after doubling RAM 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: Sat, 08 Jan 2011 20:37:25 -0000 I've been running a ZFS array for about 10 months on a system with 4GB of RAM. I'm about to add another 4GB of RAM. I think this might be an opportune time to run some simple benchmarks and do some tuning. Getting more out of the system is not a priority for me. It does what I need now. However, I do see some merit in writing something up for others to see/follow/learn. The system is running FreeBSD 8.2-PRERELEASE #1: Tue Nov 30 22:07:59 EST 2010 on a 64 bit box. The ZFS array consists of 7x2TB commodity drives on two SiI3124 SATA controllers. The OS runs off a gmirror RAID-1. More details here: http://www.freebsddiary.org/zfs-benchmark.php First, up, I've done a simple bonnie++ benchmark before I add more RAM. I ran this on two different datasets; one with compression enabled, one without. If anyone has suggestions for various tests, option settings, etc, I'm happy to run them and include the results. We have lots of time to play with this. -- Dan Langille - http://langille.org/