Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id EDA06650560 for ; Tue, 5 Aug 2008 21:12:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 36889-01-3 for ; Tue, 5 Aug 2008 21:12:04 -0300 (ADT) X-Greylist: delayed 00:15:00.239954 by SQLgrey-1.7.6 Received: from smtp4.clear.net.nz (smtp4.clear.net.nz [203.97.37.64]) by postgresql.org (Postfix) with ESMTP id 883A86500EE for ; Tue, 5 Aug 2008 21:09:29 -0300 (ADT) Received: from zmori.markir.net (121-73-163-60.dsl.telstraclear.net [121.73.163.60]) by smtp4.clear.net.nz (CLEAR Net Mail) with ESMTP id <0K5500IHYJPQUC10@smtp4.clear.net.nz> for pgsql-performance@postgresql.org; Wed, 06 Aug 2008 11:53:51 +1200 (NZST) Date: Wed, 06 Aug 2008 11:53:46 +1200 From: Mark Kirkwood Subject: Re: file system and raid performance In-reply-to: <70c01d1d0808050800j7196922bt2c4b43ba09a19099@mail.gmail.com> To: Mark Wong Cc: greg@tcscs.com, david@lang.hm, pgsql-performance@postgresql.org, Gabrielle Roth Message-id: <4898E80A.3020809@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <70c01d1d0808042154u7b78d988vac1e461a93b0ba10@mail.gmail.com> <70c01d1d0808050800j7196922bt2c4b43ba09a19099@mail.gmail.com> User-Agent: Thunderbird 2.0.0.14 (X11/20080724) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200808/14 X-Sequence-Number: 30895 Mark Wong wrote: > On Mon, Aug 4, 2008 at 10:56 PM, Gregory S. Youngblood wrote: > >> I recently ran some tests on Ubuntu Hardy Server (Linux) comparing JFS, XFS, >> and ZFS+FUSE. It was all 32-bit and on old hardware, plus I only used >> bonnie++, so the numbers are really only useful for my hardware. >> >> What parameters were used to create the XFS partition in these tests? And, >> what options were used to mount the file system? Was the kernel 32-bit or >> 64-bit? Given what I've seen with some of the XFS options (like lazy-count), >> I am wondering about the options used in these tests. >> > > The default (no arguments specified) parameters were used to create > the XFS partitions. Mount options specified are described in the > table. This was a 64-bit OS. > > Regards, > Mark > > I think it is a good idea to match the raid stripe size and give some indication of how many disks are in the array. E.g: For a 4 disk system with 256K stripe size I used: $ mkfs.xfs -d su=256k,sw=2 /dev/mdx which performed about 2-3 times quicker than the default (I did try sw=4 as well, but didn't notice any difference compared to sw=4). regards Mark