Re: win32 performance - fsync question - Mailing list pgsql-hackers

From Zeugswetter Andreas DAZ SD
Subject Re: win32 performance - fsync question
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA40184D2FF@m0114.s-mxs.net
Whole thread Raw
In response to win32 performance - fsync question  ("E.Rodichev" <er@sai.msu.su>)
List pgsql-hackers
> One point that I no longer recall the reasoning behind is that xlog.c
> doesn't think O_SYNC is a preferable default over fsync.

For larger (>8k) transactions O_SYNC|O_DIRECT is only good with the recent
pending patch to group WAL writes together. The fsync method gives the OS a
chance to do the grouping. (Of course it does not matter if you have small
tx < 8k WAL)

Andreas


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: UTF8 or Unicode
Next
From: Oliver Jowett
Date:
Subject: Re: UTF8 or Unicode