From owner-freebsd-performance@FreeBSD.ORG Thu May 25 12:46:42 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C573516A421; Thu, 25 May 2006 12:46:42 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B40043D46; Thu, 25 May 2006 12:46:41 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k4PCkfov041868; Thu, 25 May 2006 07:46:41 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4475A734.4040909@centtech.com> Date: Thu, 25 May 2006 07:46:44 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: etalk etalk References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.87.1/1481/Thu May 25 04:29:10 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-fs@freebsd.org, freebsd-performance@freebsd.org Subject: Re: about ufs filesystem io performance! X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 12:46:42 -0000 etalk etalk wrote: > 5.3 vs 6.0 The test tool is Iozone3_257, and the test command is > “./iozone -A -f /mnt/tmpfile.test -g 1g -n 1m -q 8k -y 2k -R -b > outfile-Af.xls ” (http://www.iozone.org/src/current/). We ran all the > tests on the same PC with 2.4 GHz Pentium CPU and 512M main memory. > Figure1~Figure5 show the results of the file system performance > comparison between Bsd5.3’s UFS2 and Bsd6.0’s UFS2 when testing with > different file system (local, sync, async, softupdate, sync+softupdate). > According to the figures, our conclusion is: On all kinds of file > systems, the write, rewrite, read and reread performance of the two is > almost same and we cant say that Bsd6.0 make a improvement on file > system IO performance. > http://blog.csdn.net/minerboyIo/Gallery/204114.aspx > linux2.6.11 vs bsd 5.3 The test tool is Iozone3_257, and the test > command is “./iozone -A -f /mnt/tmpfile.test -g 1g -n 4m -q 8k -y 2k -R > -b outfile-Af.xls ” (http://www.iozone.org/src/current/). We ran all the > tests on the same PC with 2.4 GHz Pentium CPU and 512M main memory, > Figure1, Figure2, Figure3 show the results of the file system > performance comparison between Bsd’s UFS2 and Linux’ Ext3 (the Linux > kernel version is 2.6.11, and the Bsd kernel version is 5.3) when > testing with sync, async and local (Bsd using softupdate) file system. > According to the figures, our conclusion is: a.On local file system and > async file system, Fedora4’s write and rewrite is much faster than > Bsd5.3’s (about 5-10 times). b.On all kinds of file systems, the read > and reread performance of FreeBsd5.3 is about 50%-90% lower than that of > Fedora4. c.On sync file system, Bsd5.3 writes several times faster than > Fedora4 does and rewrites over two hundred times faster than Fedora4 > does. http://blog.csdn.net/minerboyIo/Gallery/204107.aspx You don't report the type of disks you are using, or anything about the storage. For the first test, I'd think that it's possible that you were hitting hardware performance bottlenecks before actually testing the filesystem performance. Also, what are the 2,4,8 numbers referencing? How many times did you run the tests? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------