pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ogden <lists@darkstatic.com>
To: pgsql-performance@postgresql.org
Cc: Greg Smith <greg@2ndquadrant.com>
Subject: Re: Raid 5 vs Raid 10 Benchmarks Using bonnie++
Date: Wed, 17 Aug 2011 22:48:09 -0500
Message-ID: <207E881B-73CD-4C31-A863-2C238838C41F@darkstatic.com> (raw)
In-Reply-To: <4E4C2FB4.4010409@2ndQuadrant.com>
References: <959BD2FA-0312-458B-BD5F-ED358D2C47ED@darkstatic.com>
	<f4e06a7cad34ee9217a3e57fd4eb0e67.squirrel@sq.gransy.com>
	<D89151D3-D2E5-47E3-8B90-4A573DAB5FFA@darkstatic.com>
	<75A85649-2B95-43D5-8404-4776D2E580EC@darkstatic.com>
	<4E4C2FB4.4010409@2ndQuadrant.com>


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?
>> 
>> 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.


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. 

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





view thread (29+ messages)  latest in thread

Message-ID: <207E881B-73CD-4C31-A863-2C238838C41F@darkstatic.com>
Permalink:  ../207E881B-73CD-4C31-A863-2C238838C41F@darkstatic.com/
Also on:    postgresql.org/message-id/207E881B-73CD-4C31-A863-2C238838C41F@darkstatic.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: lists@darkstatic.com, greg@2ndquadrant.com
  Subject: Re: Raid 5 vs Raid 10 Benchmarks Using bonnie++
  In-Reply-To: <207E881B-73CD-4C31-A863-2C238838C41F@darkstatic.com>
  References: <959BD2FA-0312-458B-BD5F-ED358D2C47ED@darkstatic.com> <f4e06a7cad34ee9217a3e57fd4eb0e67.squirrel@sq.gransy.com> <D89151D3-D2E5-47E3-8B90-4A573DAB5FFA@darkstatic.com> <75A85649-2B95-43D5-8404-4776D2E580EC@darkstatic.com> <4E4C2FB4.4010409@2ndQuadrant.com> <207E881B-73CD-4C31-A863-2C238838C41F@darkstatic.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox