Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 0ECC1B5DBD9 for ; Thu, 18 Aug 2011 00:48:18 -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 01621-07 for ; Thu, 18 Aug 2011 03:48:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by mail.postgresql.org (Postfix) with ESMTP id 39BD5B5DBC4 for ; Thu, 18 Aug 2011 00:48:11 -0300 (ADT) Received: from [10.0.1.7] (unknown [69.245.205.64]) by smtp.mxes.net (Postfix) with ESMTPA id AF00650A66; Wed, 17 Aug 2011 23:48:09 -0400 (EDT) Subject: Re: Raid 5 vs Raid 10 Benchmarks Using bonnie++ Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Ogden In-Reply-To: <4E4C2FB4.4010409@2ndQuadrant.com> Date: Wed, 17 Aug 2011 22:48:09 -0500 Cc: Greg Smith Content-Transfer-Encoding: quoted-printable Message-Id: <207E881B-73CD-4C31-A863-2C238838C41F@darkstatic.com> References: <959BD2FA-0312-458B-BD5F-ED358D2C47ED@darkstatic.com> <75A85649-2B95-43D5-8404-4776D2E580EC@darkstatic.com> <4E4C2FB4.4010409@2ndQuadrant.com> To: pgsql-performance@postgresql.org X-Mailer: Apple Mail (2.1082) 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 X-Spam-Level: X-Archive-Number: 201108/216 X-Sequence-Number: 44663 On Aug 17, 2011, at 4:16 PM, Greg Smith wrote: > 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? >>=20 >> The benchmark results are here: >> http://malekkoheavyindustry.com/benchmark.html >>=20 >=20 > 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. >=20 > 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. Isn't this very dangerous? I have the Dell PERC H700 card - I see that = it has 512Mb Cache. Is this the same thing and good enough to switch to = nobarrier? Just worried if a sudden power shut down, then data can be = lost on this option.=20 I did not do that with XFS and it did quite well - I know it's up to my = app and more testing, but in your experience, what is usually a good = filesystem to use? I keep reading conflicting things.. Thank you Ogden