Re: Postgres performance on Linux and Windows

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Dusan Misic" <promisic(at)gmail(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Postgres performance on Linux and Windows
Date: 2011-08-03 17:29:47
Message-ID: 4E393F3B020000250003FA24@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Dusan Misic <promisic(at)gmail(dot)com> wrote:

> My question is simple. Does PostgreSQL perform better on Linux
> than on Windows and how much is it faster in your tests?

We tested this quite a while back (on 8.0 and 8.1) with identical
hardware and identical databases running in matching versions of
PostgreSQL. On both saturation stress tests and load balancing a
real live web site between PostgreSQL on Windows and Linux, Linux
came out about 40% faster. Who knows what the number would be
today, with current PostgreSQL, Linux, and Windows? Anyway, perhaps
it's a useful data point for you.

BTW, I wrote a tiny Java program to push data in both directions as
fast a possible over our network to check for networking problems
(it really showed up half duplex legs pretty dramatically), and when
everything was on one switch it ran 30% faster if both ends were
Linux than when both ends were Windows. I found it interesting that
with one end on Linux and one on Windows, it split the difference.
So this is not unique to PostgreSQL.

-Kevin

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Robert Klemme 2011-08-03 17:30:46 Re: Performance penalty when using WITH
Previous Message Dusan Misic 2011-08-03 17:16:35 Re: Postgres performance on Linux and Windows