pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: david@lang.hm
To: Decibel! <decibel@decibel.org>
Cc: Henrik <henke@mac.se>
Cc: Jeff <threshar@threshar.is-a-geek.com>
Cc: Luke Lonergan <LLonergan@greenplum.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Filesystem benchmarking for pg 8.3.3 server
Date: Sat, 16 Aug 2008 17:15:41 -0700 (PDT)
Message-ID: <alpine.DEB.1.10.0808161714280.12859@asgard.lang.hm> (raw)
In-Reply-To: <04470CDD-146A-4725-BBC5-22E3271B958A@decibel.org>
References: <014F2941B0A1EA47BD61D21526B806E903509704@MI8NYCMAIL08.Mi8.com>
	<F54DECFD-927B-4F64-B913-E8D903892435@mac.se>
	<alpine.DEB.1.10.0808081917080.4561@asgard.lang.hm>
	<AC012133-6932-46DD-A723-B2DCF98E5380@mac.se>
	<2DBD3E73-D9E5-4DFA-832F-3FD53480B284@torgo.978.org>
	<8795DFE4-BFE1-49A5-8341-A6823DF2BE4E@decibel.org>
	<32CD744F-2C1A-4BE2-B4BA-90CFD3A86DF7@mac.se>
	<04470CDD-146A-4725-BBC5-22E3271B958A@decibel.org>

On Sat, 16 Aug 2008, Decibel! wrote:

> On Aug 13, 2008, at 2:54 PM, Henrik wrote:
>>> Additionally, you need to be careful of what size writes you're using. If 
>>> you're doing random writes that perfectly align with the raid stripe size, 
>>> you'll see virtually no RAID5 overhead, and you'll get the performance of 
>>> N-1 drives, as opposed to RAID10 giving you N/2.
>> But it still needs to do 2 reads and 2 writes for every write, correct?
>
>
> If you are completely over-writing an entire stripe, there's no reason to 
> read the existing data; you would just calculate the parity information from 
> the new data. Any good controller should take that approach.

in theory yes, in practice the OS writes usually aren't that large and 
aligned, and as a result most raid controllers (and software) don't have 
the special-case code to deal with it.

there's discussion of these issues, but not much more then that.

David Lang



view thread (41+ messages)  latest in thread

Message-ID: <alpine.DEB.1.10.0808161714280.12859@asgard.lang.hm>
Permalink:  ../alpine.DEB.1.10.0808161714280.12859@asgard.lang.hm/
Also on:    postgresql.org/message-id/alpine.DEB.1.10.0808161714280.12859@asgard.lang.hm

 · 

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: david@lang.hm, decibel@decibel.org, henke@mac.se, threshar@threshar.is-a-geek.com, LLonergan@greenplum.com
  Subject: Re: Filesystem benchmarking for pg 8.3.3 server
  In-Reply-To: <alpine.DEB.1.10.0808161714280.12859@asgard.lang.hm>
  References: <014F2941B0A1EA47BD61D21526B806E903509704@MI8NYCMAIL08.Mi8.com> <F54DECFD-927B-4F64-B913-E8D903892435@mac.se> <alpine.DEB.1.10.0808081917080.4561@asgard.lang.hm> <AC012133-6932-46DD-A723-B2DCF98E5380@mac.se> <2DBD3E73-D9E5-4DFA-832F-3FD53480B284@torgo.978.org> <8795DFE4-BFE1-49A5-8341-A6823DF2BE4E@decibel.org> <32CD744F-2C1A-4BE2-B4BA-90CFD3A86DF7@mac.se> <04470CDD-146A-4725-BBC5-22E3271B958A@decibel.org> <alpine.DEB.1.10.0808161714280.12859@asgard.lang.hm>

* 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