pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Carey <scott@richrelevance.com>
To: david@lang.hm
Cc: Ron Mayer <rm_pg@cheapcomplexdevices.com>
Cc: Greg Smith <gsmith@gregsmith.com>
Cc: Henrik <henke@mac.se>
Cc: pgsql-performance@postgresql.org
Subject: Re: Filesystem benchmarking for pg 8.3.3 server
Date: Tue, 12 Aug 2008 19:52:10 -0700
Message-ID: <a1ec7d000808121952g14c5b646t1009ed2009ab47e4@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.10.0808121831570.10264@asgard.lang.hm>
References: <32A7A76B-16CA-4CDB-AD43-973AD6A3FC7B@mac.se>
	<Pine.GSO.4.64.0808081835320.21924@westnet.com>
	<48A2050D.4050803@cheapcomplexdevices.com>
	<a1ec7d000808121723m19b33fdk281a09434ecd5309@mail.gmail.com>
	<48A22D72.6030306@cheapcomplexdevices.com>
	<alpine.DEB.1.10.0808121831570.10264@asgard.lang.hm>

I'm not an expert on which and where -- its been a while since I was exposed
to the issue.  From what I've read in a few places over time (
storagereview.com, linux and windows patches or knowledge base articles), it
happens from time to time.  Drives usually get firmware updates quickly.
Drivers / Controller cards often take longer to fix.  Anyway, my anecdotal
recollection was with a few instances of this occuring about 4 years ago and
manefesting itself with complaints on message boards then going away.  And
in general some searching around google indicates this is a problem more
often drivers and controllers than drives themselves.

I recall some cheap raid cards and controller cards being an issue, like the
below:
http://www.fixya.com/support/t163682-hard_drive_corrupt_every_reboot

And here is an example of an HP Fiber Channel Disk firmware bug:
HS02969 28SEP07<http://h50025.www5.hp.com/ENP5/Admin/UserFileAdmin/EV/23560/File/Hotstuffs.pdf;
•
Title
: OPN FIBRE CHANNEL DISK FIRMWARE
•
Platform
: S-Series & NS-Series only with FCDMs
•
Summary
:
HP recently discovered a firmware flaw in some versions of 72,
146, and 300 Gigabyte fibre channel disk devices that shipped in late 2006
and early 2007. The flaw enabled the affected disk devices to inadvertently
cache write data. In very rare instances, this caching operation presents an
opportunity for disk write operations to be lost.


Even ext3 doesn't default to using write barriers at this time due to
performance concerns:
http://lwn.net/Articles/283161/

On Tue, Aug 12, 2008 at 6:33 PM, <david@lang.hm> wrote:

> On Tue, 12 Aug 2008, Ron Mayer wrote:
>
>  Scott Carey wrote:
>>
>>> Some SATA drives were known to not flush their cache when told to.
>>>
>>
>> Can you name one?  The ATA commands seem pretty clear on the matter,
>> and ISTM most of the reports of these issues came from before
>> Linux had write-barrier support.
>>
>
> I can't name one, but I've seen it mentioned in the discussions on
> linux-kernel several times by the folks who are writing the write-barrier
> support.
>
> David Lang
>
>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>

view thread (41+ messages)  latest in thread

Message-ID: <a1ec7d000808121952g14c5b646t1009ed2009ab47e4@mail.gmail.com>
Permalink:  ../a1ec7d000808121952g14c5b646t1009ed2009ab47e4@mail.gmail.com/
Also on:    postgresql.org/message-id/a1ec7d000808121952g14c5b646t1009ed2009ab47e4@mail.gmail.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: scott@richrelevance.com, david@lang.hm, rm_pg@cheapcomplexdevices.com, gsmith@gregsmith.com, henke@mac.se
  Subject: Re: Filesystem benchmarking for pg 8.3.3 server
  In-Reply-To: <a1ec7d000808121952g14c5b646t1009ed2009ab47e4@mail.gmail.com>
  References: <32A7A76B-16CA-4CDB-AD43-973AD6A3FC7B@mac.se> <Pine.GSO.4.64.0808081835320.21924@westnet.com> <48A2050D.4050803@cheapcomplexdevices.com> <a1ec7d000808121723m19b33fdk281a09434ecd5309@mail.gmail.com> <48A22D72.6030306@cheapcomplexdevices.com> <alpine.DEB.1.10.0808121831570.10264@asgard.lang.hm> <a1ec7d000808121952g14c5b646t1009ed2009ab47e4@mail.gmail.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