From owner-freebsd-questions@FreeBSD.ORG Fri Sep 16 11:43:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13FB5106564A for ; Fri, 16 Sep 2011 11:43:53 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id C4EF58FC08 for ; Fri, 16 Sep 2011 11:43:52 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R4Wpj-0006zU-Ad for freebsd-questions@freebsd.org; Fri, 16 Sep 2011 13:43:51 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2011 13:43:51 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Sep 2011 13:43:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 16 Sep 2011 13:43:36 +0200 Lines: 31 Message-ID: References: <20110916063153.200375qdq59crf8c@mail.top-consulting.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.1) Gecko/20110907 Thunderbird/6.0.1 In-Reply-To: <20110916063153.200375qdq59crf8c@mail.top-consulting.net> X-Enigmail-Version: 1.1.2 Subject: Re: FS of choice for max random iops ( Maildir ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2011 11:43:53 -0000 On 16/09/2011 12:31, freebsd@top-consulting.net wrote: > A. TEST1: dd bs=1024 if=/dev/zero of=/data/t1 count=1M > > 1. ZFS performed the worst, averaging 67MB/sec > 2. UFS + gjournal did around 130MB/sec > 3. UFS did around 190MB/sec > > B. TEST2 ( random file creation ): bonnie++ -d /data -c 10 -s 0 -n 50 -u 0 > > 1. UFS + gjournal performed the worst > 2. ZFS performed somewhat better > 3. UFS performed the best again ( about 50% better ) > > C. TEST3 ( sequential writing ): bonnie++ -d /data -c 10 -s 8088 -n 0 -u 0 > > 1. UFS + gjournal crashed the box > 2. ZFS performed average > 3. UFS performed better than ZFS ( about 50% better ) > > > I really like the concepts behind ZFS and UFS + Journaling but the > performance hit is quite drastic when compared to UFS. > > What I'm looking for here is max IOPS when doing random read/writes. Is > UFS the best choice for this ? Do my results make sense ? Your tests do look a bit odd - ZFS usually does better on sequential and UFS on random IO (rw mix). For random IO I'd go with UFS. Try comparing with blogbench.