Re: interesting benchmarks PG/Firebird Linux/Windows fsync/nofsync - Mailing list pgsql-performance

From Bruce Momjian
Subject Re: interesting benchmarks PG/Firebird Linux/Windows fsync/nofsync
Date
Msg-id 200503151355.j2FDtYi13867@candle.pha.pa.us
Whole thread Raw
In response to interesting benchmarks PG/Firebird Linux/Windows fsync/nofsync  (Chris Mair <list@1006.org>)
List pgsql-performance
Chris Mair wrote:
> Timings are in msec, note that you cannot directly
> compare Windows and Linux Performance, since machines
> were different.
>
> You can, however, compare PG to Firebird, and you
> can see the effect of the 3 varied parametert.
>
> One thing that stands out is how terribly
> bad Windows performed with many small single
> transactions and fsync=true.
>
> Appearantly fsync on Windows is a very costly
> operation.

Yes, we now enable FILE_FLAG_WRITE_THROUGH on Win32 for open_sync and I
am about to open a discussion whether this should be the default for
Win32, and whether we should backpatch this to 8.0.X.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-performance by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: interesting benchmarks PG/Firebird Linux/Windows fsync/nofsync
Next
From: Tom Lane
Date:
Subject: Re: Changing the random_page_cost default (was: cpu_tuple_cost)