pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Stone <mstone+postgres@mathom.us>
To: pgsql-performance@postgresql.org
Subject: Re: What's the best hardver for PostgreSQL 8.1?
Date: Tue, 27 Dec 2005 16:15:18 -0500
Message-ID: <20051227211518.GC6811@mathom.us> (raw)
In-Reply-To: <6.2.5.6.0.20051227144047.01dbe940@earthlink.net>
References: <20051224135042.484c6e32.frank@wiles.org>
	<6.2.5.6.0.20051224161551.01dc5d98@earthlink.net>
	<Pine.LNX.4.62.0512241350010.2807@qnivq.ynat.uz>
	<6.2.5.6.0.20051224172653.01dd4c08@earthlink.net>
	<20051225173755.GA6986@mathom.us>
	<33c6269f0512260932g38c9b7a4uc2aba00f72ff77@mail.gmail.com>
	<20051227133526.GA6811@mathom.us>
	<6.2.5.6.0.20051227110304.01dc1000@earthlink.net>
	<20051227190516.GB6811@mathom.us>
	<6.2.5.6.0.20051227144047.01dbe940@earthlink.net>

On Tue, Dec 27, 2005 at 02:57:13PM -0500, Ron wrote:
>Your quoted position is "there isn't a 'RAID 5 penalty' assuming 
>you've got a reasonably fast controller and you're doing large 
>sequential writes (or have enough cache that random writes can be 
>batched as large sequential writes)."

And you said that RAID 5 writes are slower than reads. That's a
completely different statement. The traditional meaning of "RAID 5
penalty" is the cost of reading a stripe to calculate parity if only a
small part of the stripe changes. It has a special name because it can
result in a condition that the performance is catastrophically worse
than an optimal workload, or even the single-disk non-RAID case. It's
still an issue, but might not be relevant for a particular workload.
(Hence the recommendation to benchmark.) 

>My experience across a wide range of HW, OSs, DBMS, and applications
>says you are wrong.  Given enough IO, RAID 5 takes a bigger 
>performance hit for writes than RAID 10 does.

I don't understand why you keep using the pejorative term "performance
hit". Try describing the "performance characteristics" instead.  Also,
claims about performance claims based on experience are fairly useless.
Either you have data to provide (in which case claiming vast experience
is unnecessary) or you don't.

>Said RAID 10 array will also be more robust than a RAID 5 built using 
>the same number of HDs.

And a RAID 6 will be more robust than either. Basing reliability on
"hopefully you wont have both disks in a mirror fail" is just silly.
Either you need double disk failure protection or you don't.

Mike Stone



view thread (54+ messages)  latest in thread

Message-ID: <20051227211518.GC6811@mathom.us>
Permalink:  ../20051227211518.GC6811@mathom.us/
Also on:    postgresql.org/message-id/20051227211518.GC6811@mathom.us

 · 

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: mstone+postgres@mathom.us
  Subject: Re: What's the best hardver for PostgreSQL 8.1?
  In-Reply-To: <20051227211518.GC6811@mathom.us>

* 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