Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: [PERFORM] Performance on Win32 vs Cygwin


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
  • Cc: "MikeSmialek2(at)Hotmail(dot)com" <mikesmialek2(at)hotmail(dot)com>, pgsql-hackers-win32(at)postgresql(dot)org, pgsql-performance(at)postgresql(dot)org, "Magnus Hagander" <mha(at)sollentuna(dot)net>
  • Subject: Re: [PERFORM] Performance on Win32 vs Cygwin
  • Date: Fri, 15 Oct 2004 13:55:11 -0400
  • Message-id: <11490(dot)1097862911(at)sss(dot)pgh(dot)pa(dot)us>

"Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group