Thank you all for your input, and thanks about the tip on ethereal - cool
program. Here's what I've found out from today's testing:
The total size of the recordset that is being served up is about 500kb.
When serving across a network, the time to deliver the records to the client
is largely dependent on the hardware doing the serving (as expected) and
regardless of which OS (Win 2K pro or XP pro). The thing that really threw
me off, and still does is when the same data is served up locally. In this
case, all test win2K machines (Celeron 400 up to pIII 800) retrieved the
data from disk in under 100ms but took an additional 4000ms to send to the
local client. This is observed even if QoS packet scheduler is installed.
By contrast, Win XP serves up locally nice and fast, even when installed on
exactly the same hardware that was used for the win2K test.
Thanks to all for your help and insight on this one, although I'm still
puzzled by the behaviour on the win2K boxes serving locally.
From: Magnus Hagander [mailto:mha(at)sollentuna(dot)net]
Sent: March 23, 2005 12:04 PM
To: Tom Lane; A. Mous
Cc: Richard Huxton; pgsql-general(at)postgresql(dot)org; Joshua D. Drake; Lincoln
Subject: RE: [GENERAL] Simple query takes a long time on win2K
> > The confusing thing for me is that so far, the only
> consistent pattern
> > here is that machines running win2k Pro take roughly 4 seconds to
> > deliver the data to the client, while win XP machines perform much
> > better (<200ms to deliver recordset). I've tried installing QoS
> > packet scheduler on win2K pro machines to no avail.
> I really thought the QoS thing would be it. Maybe there was
> some other thing to do, configuration-wise, to make that do
> its thing properly?
> If you could reproduce this behavior across the network I
> would tell you to get out a packet analyzer (ethereal or some
> such) and sniff the traffic to learn more. Are there any
> programs that can sniff local TCP traffic on win2k?
Microsoft ships a network monitor with Win2k Server. Otherwise, just get
ethereal, it works perfectly on win2k.
In response to
pgsql-hackers-win32 by date
|Next:||From: Bruce Momjian||Date: 2005-03-24 04:31:15|
|Subject: Re: [HACKERS] win32 performance - fsync question|
|Previous:||From: A. Mous||Date: 2005-03-23 19:57:46|
|Subject: Re: Simple query takes a long time on win2K|
pgsql-general by date
|Next:||From: Greg Stark||Date: 2005-03-24 05:42:33|
|Subject: Re: Changing constraints to deferrable|
|Previous:||From: Tom Lane||Date: 2005-03-24 03:23:08|
|Subject: Re: Another help needed on Window client |