Re: [PERFORM] Performance on Win32 vs Cygwin

Tom Lane <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32,gmane.comp.db.postgresql.performance
Message-ID <[email protected]>
"Merlin Moncure" <[email protected]> writes:
> I'm pretty certain that previous to 8.0 no win32 based postgesql
> properly sync()ed the files.  Win32 does not have sync(), and it is
> impossible to emulate it without relying on the application to track
> which files to sync.  8.0 does this because it fsync()s the files
> individually.  Therefore, benchmarking fsync=on on 8.0 to a <8.0 version
> of windows is not apples to apples.  This includes, by the way, the SFU
> based port of postgresql because they didn't implement sync() there,
> either.

This is all true, but for performance testing I am not sure that you'd
notice much difference, because the sync or lack of it only happens
within checkpoints.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.