Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id AA7AEB5DBF6 for ; Wed, 17 Aug 2011 21:35:33 -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 66696-01 for ; Thu, 18 Aug 2011 00:35:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gy0-f174.google.com (mail-gy0-f174.google.com [209.85.160.174]) by mail.postgresql.org (Postfix) with ESMTP id 1DB1DB5D80A for ; Wed, 17 Aug 2011 21:35:24 -0300 (ADT) Received: by gya6 with SMTP id 6so1155830gya.19 for ; Wed, 17 Aug 2011 17:35:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; bh=NiJE2NeTUH4sK2uMUFpgBFNVBl7XhYkDp2Qu/Jgs3h8=; b=P5xHPCTKM8pCwpAGcUNaKTevbQaoVugMLKpB/3RToTm9krto50f3af3pX21xhxrSe4 oAi2VZbOYKMqOFbneohy+q6biQYui0NJ8XW+lB88TGkCpy/hi8IpMI6Hl7lQ1CEB9ypJ vu1kJs6d3mx0GstT7aTNE9mW/PY6J86J9gxmk= Received: by 10.150.103.11 with SMTP id a11mr120960ybc.76.1313627724753; Wed, 17 Aug 2011 17:35:24 -0700 (PDT) Received: from Duality (67-40-130-232.hlrn.qwest.net [67.40.130.232]) by mx.google.com with ESMTPS id f48sm349782yhh.28.2011.08.17.17.35.22 (version=SSLv3 cipher=OTHER); Wed, 17 Aug 2011 17:35:23 -0700 (PDT) From: "mark" To: References: <959BD2FA-0312-458B-BD5F-ED358D2C47ED@darkstatic.com> <75A85649-2B95-43D5-8404-4776D2E580EC@darkstatic.com> <4E4C2FEB.5060301@2ndQuadrant.com> In-Reply-To: <4E4C2FEB.5060301@2ndQuadrant.com> Subject: Re: Raid 5 vs Raid 10 Benchmarks Using bonnie++ Date: Wed, 17 Aug 2011 18:35:29 -0600 Message-ID: <009f01cc5d3e$bc3bc150$34b343f0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcxdIyadIiz8TZPtRVKDEjm7hLwYpAAGr+6Q Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.552 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_BL_SPAMCOP_NET=1.347 X-Spam-Level: X-Archive-Number: 201108/213 X-Sequence-Number: 44660 > -----Original Message----- > From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance- > owner@postgresql.org] On Behalf Of Greg Smith > Sent: Wednesday, August 17, 2011 3:18 PM > To: pgsql-performance@postgresql.org > Subject: Re: [PERFORM] Raid 5 vs Raid 10 Benchmarks Using bonnie++ > > 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. > To clarify maybe for those new at using non-default mount options. With XFS the mount option is nobarrier. With ext4 I think it is barrier=0 Someone please correct me if I am misleading people or otherwise mistaken. -mark