Re: Mount options for Ext3? - Mailing list pgsql-performance

From Ron Johnson
Subject Re: Mount options for Ext3?
Date
Msg-id 1043568285.818.241.camel@haggis
Whole thread Raw
In response to Re: Mount options for Ext3?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On Sat, 2003-01-25 at 23:34, Tom Lane wrote:
> pgsql.spam@vinz.nl writes:
> > If one were certain his OS wouldn't do any re-ordering of writes, would it be
> > safe to run with fsync = off? (not that I'm going to try this, but I'm just
> > curious)
>
> I suppose so ... but if your OS doesn't do *any* re-ordering of writes,
> I'd say you need a better OS.  Even in Postgres, we'd often like the OS
> to collapse multiple writes of the same disk page into one write.  And
> we certainly want the various writes forced by a sync() to be done with
> some intelligence about disk layout, not blindly in order of issuance.

And anyway, wouldn't SCSI's Tagged Command Queueing override it all,
no matter if the OS did re-ordering or not?

But then, it really means it when it says that fsync() succeeds, so does
TCQ matter in this case?

--
+---------------------------------------------------------------+
| Ron Johnson, Jr.        mailto:ron.l.johnson@cox.net          |
| Jefferson, LA  USA      http://members.cox.net/ron.l.johnson  |
|                                                               |
| "Fear the Penguin!!"                                          |
+---------------------------------------------------------------+


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Mount options for Ext3?
Next
From: Medve Gabor
Date:
Subject: bigserial vs serial - which one I'd have to use?