Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id C6576B5DBC4 for ; Wed, 17 Aug 2011 15:49:00 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 09674-02 for ; Wed, 17 Aug 2011 18:48:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from marajade.localdomain (97-64-237-59.client.mchsi.com [97.64.237.59]) by mail.postgresql.org (Postfix) with ESMTP id 24F3BB5D80A for ; Wed, 17 Aug 2011 15:48:53 -0300 (ADT) Received: from [192.168.10.84] (unknown [192.168.10.84]) (Authenticated sender: andy) by marajade.localdomain (Postfix) with ESMTPA id 45EE840832; Wed, 17 Aug 2011 13:48:53 -0500 (CDT) Message-ID: <4E4C0D1B.4080302@squeakycode.net> Date: Wed, 17 Aug 2011 13:48:59 -0500 From: Andy Colson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: "ktm@rice.edu" CC: Ogden , pgsql-performance@postgresql.org Subject: Re: Raid 5 vs Raid 10 Benchmarks Using bonnie++ References: <959BD2FA-0312-458B-BD5F-ED358D2C47ED@darkstatic.com> <75A85649-2B95-43D5-8404-4776D2E580EC@darkstatic.com> <20110817183101.GJ26302@staff-mud-56-27.rice.edu> <20110817183551.GK26302@staff-mud-56-27.rice.edu> In-Reply-To: <20110817183551.GK26302@staff-mud-56-27.rice.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.918 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RDNS_DYNAMIC=0.982 X-Spam-Level: X-Archive-Number: 201108/190 X-Sequence-Number: 44637 On 8/17/2011 1:35 PM, ktm@rice.edu wrote: > On Wed, Aug 17, 2011 at 01:32:41PM -0500, Ogden wrote: >> >> On Aug 17, 2011, at 1:31 PM, ktm@rice.edu wrote: >> >>> On Wed, Aug 17, 2011 at 01:26:56PM -0500, Ogden wrote: >>>> I am using bonnie++ to benchmark our current Postgres system (on RAID 5) with the new one we have, which I have configured with RAID 10. The drives are the same (SAS 15K). I tried the new system with ext3 and then XFS but the results seem really outrageous as compared to the current system, or am I reading things wrong? >>>> >>>> The benchmark results are here: >>>> >>>> http://malekkoheavyindustry.com/benchmark.html >>>> >>>> >>>> Thank you >>>> >>>> Ogden >>> >>> That looks pretty normal to me. >>> >>> Ken >> >> But such a jump from the current db01 system to this? Over 20 times difference from the current system to the new one with XFS. Is that much of a jump normal? >> >> Ogden > > Yes, RAID5 is bad for in many ways. XFS is much better than EXT3. You would get similar > results with EXT4 as well, I suspect, although you did not test that. > > Regards, > Ken > A while back I tested ext3 and xfs myself and found xfs performs better for PG. However, I also have a photos site with 100K files (split into a small subset of directories), and xfs sucks bad on it. So my db is on xfs, and my photos are on ext4. The numbers between raid5 and raid10 dont really surprise me either. I went from 100 Meg/sec to 230 Meg/sec going from 3 disk raid 5 to 4 disk raid 10. (I'm, of course, using SATA drives.... with 4 gig of ram... and 2 cores. Everyone with more than 8 cores and 64 gig of ram is off my Christmas list! :-) ) -Andy