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: BAY10-DAV18tI8hsZXK0000e49c@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-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?

Thanks,

Mike

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

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

//Magnus

In response to

Responses

Browse pgsql-hackers-win32 by date

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

Browse pgsql-performance by date

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