pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andy Colson <andy@squeakycode.net>
To: ktm@rice.edu <ktm@rice.edu>
Cc: Ogden <lists@darkstatic.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Raid 5 vs Raid 10 Benchmarks Using bonnie++
Date: Wed, 17 Aug 2011 13:48:59 -0500
Message-ID: <4E4C0D1B.4080302@squeakycode.net> (raw)
In-Reply-To: <20110817183551.GK26302@staff-mud-56-27.rice.edu>
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>
	<20110817183101.GJ26302@staff-mud-56-27.rice.edu>
	<E6229A9F-876F-4604-900A-EC93C5B720AB@darkstatic.com>
	<20110817183551.GK26302@staff-mud-56-27.rice.edu>

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



view thread (29+ messages)  latest in thread

Message-ID: <4E4C0D1B.4080302@squeakycode.net>
Permalink:  ../4E4C0D1B.4080302@squeakycode.net/
Also on:    postgresql.org/message-id/4E4C0D1B.4080302@squeakycode.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andy@squeakycode.net, ktm@rice.edu, lists@darkstatic.com
  Subject: Re: Raid 5 vs Raid 10 Benchmarks Using bonnie++
  In-Reply-To: <4E4C0D1B.4080302@squeakycode.net>

* 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