Re: interesting benchmarks PG/Firebird Linux/Windows fsync/nofsync

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Chris Mair" <list(at)1006(dot)org>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: interesting benchmarks PG/Firebird Linux/Windows fsync/nofsync
Date: 2005-03-15 13:52:05
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE476B04@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


> 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.

What's the hardware? If you're running on disks with write cache
enabled, fsync on windows will write through the write cache *no matter
what*. I don't know of any other OS where it will do that.

If you don't have a battery backed write cache, then all other
configurations are considered very dangerous in case your machine
crashes.

If you have battery backed write cache, then yes, pg on windows will
perform poorly indeed.

There is a patch in the queue for 8.0.2, and already applied to 8.1
IIRC, that will fix the bad performance with write-cache on win32.

(can't read the PDF, it crashes my adobe reader for some reason. Perhaps
it contains the information above...)

//Magnus

Browse pgsql-performance by date

  From Date Subject
Next Message Bruce Momjian 2005-03-15 13:55:34 Re: interesting benchmarks PG/Firebird Linux/Windows fsync/nofsync
Previous Message Chris Mair 2005-03-15 13:44:07 interesting benchmarks PG/Firebird Linux/Windows fsync/nofsync