Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id D5BB8650282 for ; Tue, 12 Aug 2008 23:58:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 82371-07 for ; Tue, 12 Aug 2008 23:58:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by postgresql.org (Postfix) with ESMTP id 1AD35650287 for ; Tue, 12 Aug 2008 23:58:55 -0300 (ADT) Received: by wf-out-1314.google.com with SMTP id 25so2526763wfc.28 for ; Tue, 12 Aug 2008 19:58:54 -0700 (PDT) Received: by 10.142.222.21 with SMTP id u21mr3030593wfg.318.1218595930581; Tue, 12 Aug 2008 19:52:10 -0700 (PDT) Received: by 10.143.39.19 with HTTP; Tue, 12 Aug 2008 19:52:10 -0700 (PDT) Message-ID: Date: Tue, 12 Aug 2008 19:52:10 -0700 From: "Scott Carey" To: david@lang.hm Subject: Re: Filesystem benchmarking for pg 8.3.3 server Cc: "Ron Mayer" , "Greg Smith" , Henrik , pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_119411_21157146.1218595930571" References: <32A7A76B-16CA-4CDB-AD43-973AD6A3FC7B@mac.se> <48A2050D.4050803@cheapcomplexdevices.com> <48A22D72.6030306@cheapcomplexdevices.com> X-Google-Sender-Auth: aae84fc5a8d94550 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200808/143 X-Sequence-Number: 31024 ------=_Part_119411_21157146.1218595930571 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm not an expert on which and where -- its been a while since I was expose= d to the issue. From what I've read in a few places over time ( storagereview.com, linux and windows patches or knowledge base articles), i= t 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 an= d 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 th= e 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 =95 Title : OPN FIBRE CHANNEL DISK FIRMWARE =95 Platform : S-Series & NS-Series only with FCDMs =95 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 a= n 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, 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 > ------=_Part_119411_21157146.1218595930571 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
I'm not an expert on which and where -- its been a whi= le 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.  Driv= ers / Controller cards often take longer to fix.  Anyway, my anecdotal= recollection was with a few instances of this occuring about 4 years ago a= nd manefesting itself with complaints on message boards then going away.&nb= sp; 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, lik= e the below:
http://www.fixya.com/support/t163682-hard_drive_corru= pt_every_reboot

And here is an example of an HP Fiber Channel Disk firmware bug:
HS02969 28SEP07
=95
Title
: OPN FIBRE CHANNEL DIS= K FIRMWARE
=95
Platform
: S-Series & NS-Series only with FCDMs
=95
Sum= mary
:
HP recently discovered a firmware flaw in some versions of 72,=
146, and 300 Gigabyte fibre channel disk devices that shipped in late 2= 006
and early 2007. The flaw enabled the affected disk devices to inadvertently=
cache write data. In very rare instances, this caching operation presen= ts an
opportunity for disk write operations to be lost.


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

On Tue, Aug 12, 2008 at 6:33 PM, <david@lang.hm><= /span> 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 s= upport.

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

------=_Part_119411_21157146.1218595930571--