pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Merlin Moncure <merlin.moncure@rcsonline.com>
Cc: MikeSmialek2@Hotmail.com <mikesmialek2@hotmail.com>
Cc: pgsql-hackers-win32@postgresql.org, pgsql-performance@postgresql.org, "Magnus Hagander" <mha@sollentuna.net>
Subject: Re: [PERFORM] Performance on Win32 vs Cygwin
Date: Fri, 15 Oct 2004 13:55:11 -0400
Message-ID: <11490.1097862911@sss.pgh.pa.us> (raw)
In-Reply-To: <6EE64EF3AB31D5448D0007DD34EEB3412A7506@Herge.rcsinc.local>
References: <6EE64EF3AB31D5448D0007DD34EEB3412A7506@Herge.rcsinc.local>

"Merlin Moncure" <merlin.moncure@rcsonline.com> 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



view thread (8+ messages)  latest in thread

Message-ID: <11490.1097862911@sss.pgh.pa.us>
Permalink:  ../11490.1097862911@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11490.1097862911@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, merlin.moncure@rcsonline.com, mikesmialek2@hotmail.com, mha@sollentuna.net
  Subject: Re: [PERFORM] Performance on Win32 vs Cygwin
  In-Reply-To: <11490.1097862911@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox