Re: Mount options for Ext3?

Ron Johnson <ron.l.johnson@cox.net>

From: Ron Johnson <ron.l.johnson@cox.net>
To: PgSQL Performance ML <pgsql-performance@postgresql.org>
Date: 2003-01-26T08:04:45Z
Lists: pgsql-hackers, 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!!"                                          |
+---------------------------------------------------------------+