Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 58090B5D80A for ; Wed, 17 Aug 2011 18:17:41 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 44548-06 for ; Wed, 17 Aug 2011 21:17:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mail.postgresql.org (Postfix) with ESMTP id B9294B5DBE1 for ; Wed, 17 Aug 2011 18:17:33 -0300 (ADT) Received: from [192.168.1.6] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LodTi-1RVt8I2Yo6-00gkaE; Wed, 17 Aug 2011 23:17:32 +0200 Message-ID: <4E4C2FEB.5060301@2ndQuadrant.com> Date: Wed, 17 Aug 2011 17:17:31 -0400 From: Greg Smith User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110702 Icedove/3.0.11 MIME-Version: 1.0 To: 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> In-Reply-To: <75A85649-2B95-43D5-8404-4776D2E580EC@darkstatic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:5YteDYjovrfCbTaSFTy/FJtNFGEyjzERnwstliFSPhA xF68TR9DRkWkkcDVGbEQpNfbLYuwbJ8zYRaHlP3XmPvuIgGiy1 msIvg22Ay0xRbnNUM+lhp4SlycpNWkk0jY1ldqdSHKexqMkaGC ATeFx6D0f+4Kv4pKLk7xI1xM+MZZfjfM3rwrKeI7frTWhBzcLX 7cAnN0o8oiyGKZPFsA88OYr2FACTpugM0T84oNiCMA= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201108/211 X-Sequence-Number: 44658 On 08/17/2011 02:26 PM, 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 Congratulations--you're now qualified to be a member of the "RAID5 sucks" club. You can find other members at http://www.miracleas.com/BAARF/BAARF2.html Reasonable read speeds and just terrible write ones are expected if that's on your old hardware. Your new results are what I would expect from the hardware you've described. The only thing that looks weird are your ext4 "Sequential Output - Block" results. They should be between the ext3 and the XFS results, not far lower than either. Normally this only comes from using a bad set of mount options. With a battery-backed write cache, you'd want to use "nobarrier" for example; if you didn't do that, that can crush output rates. -- Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.us