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

Re: Performance on Win32 vs Cygwin

From: "MikeSmialek2(at)Hotmail(dot)com" <mikesmialek2(at)hotmail(dot)com>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>,<pgsql-performance(at)postgresql(dot)org>,<pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Performance on Win32 vs Cygwin
Date: 2004-10-14 21:45:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers-win32pgsql-performance
Thanks Magnus,

So are we correct to rely on
- 8 being slower than 7.x in general and
- 8 on Win32 being a little faster than 8 on Cygwin?

Will the final release of 8 be faster than the beta?



----- Original Message ----- 
From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "MikeSmialek2(at)Hotmail(dot)com" <mikesmialek2(at)hotmail(dot)com>;
<pgsql-performance(at)postgresql(dot)org>; <pgsql-hackers-win32(at)postgresql(dot)org>
Sent: Thursday, October 14, 2004 12:29 PM
Subject: SV: [pgsql-hackers-win32] Performance on Win32 vs Cygwin

>We are experiencing slow performance on 8 Beta 2 Dev3 on Win32 and are
>trying to determine why. Any info is appreciated.
>We have a Web Server and a DB server both running Win2KServer with all
>service packs and critical updates.
>An ASP page on the Web Server hits the DB Server with a simple
>query that
>returns 205 rows and makes the ASP page delivered to the user
>about 350K.
>On an ethernet lan a client pc perceives just under 1 sec
>performance with
>the following DB Server configuration:
>    PIII 550Mhz
>    256MB RAM
>    7200 RPM HD
>    cygwin
>    Postgresql 7.1.3
>    PGODBC 7.3.2
>We set up another DB Server with 8 beta (same Web Server, same
>network, same
>client pc) and now the client pc perceives response of just
>over 3 sec with
>the following DB server config:
>    PIII 700 Mhz
>    448MB RAM
>    7200 RPM HD
>    8 Beta 2 Dev3 on Win32  running as a service
>Is the speed decrease because it's a beta?
>Is the speed decrease because it's running on Win instead of cygwin?
>We did not install cygwin on the new DB Server.

IIRC, previous versions of postgresql (< 8.0) did not correctly sync
disks when running on Cygwin. I'm not 100% sure, can someone confirm?
8.0 does, and I beleive it does both under native win32 and cygwin.

It's been my experience that the native version is slightly faster than
the cygwin one, but I've only compared 8.0 to 8.0.


In response to


pgsql-performance by date

Next:From: Simon RiggsDate: 2004-10-14 22:36:22
Subject: Re: First set of OSDL Shared Mem scalability results, some wierdness ...
Previous:From: Igor Maciel MacaubasDate: 2004-10-14 21:02:41
Subject: View & Query Performance

pgsql-hackers-win32 by date

Next:From: Tom LaneDate: 2004-10-15 15:37:40
Subject: Re: Performance on Win32 vs Cygwin
Previous:From: Tim PenheyDate: 2004-10-14 20:26:08
Subject: Re: Is there going to be an installer for V8

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group