Windows 2003SP2 Socket Sends are much slower than Windows XP on my
- From: Kesney <Kesney@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 1 Apr 2008 15:01:01 -0700
I have a client/server C# 2.0 winforms app that simply through a loop reads a
file from disk and send the bytes through the socket. If the buffer size
written to the socket is 64k I get max performance independently of the OS.
If I start to reduce the buffer size down to 1k the performance on WinXP
remains invariable, but on Win2003 SP2 gradually slows down on a factor of 6
times slower.
+ Why is Win2003 SP2 sensitive to the buffersize while XP is not?
After evaluating a wireshark network trace, the packets sent from the
Win2003 looks capped at 250 packets/s and WinXP doesn't present the flat line
seen on Win2003 packets but has peeks of 2000 packets/s. This transfer is
going over the WAN and we already tested with Win2003 on point A and point B
and WinXP on point A and point B. If this is an environmental issue the
direction doesn't change in despite of where we send the data from
(geographically) The only changes that we see is if we send the data from
WinXP vs Win2003. The results are consistent on over 15 WinXP and 7 Win2003
machines that we've tested with.
It looks like something is telling Win2003 not to put the data on the wire
as quick as it could, but as soon as I increase the buffer size to match the
windows size of 64k, Win2003 becomes as peppy as it can be.
Any insights?
Btw, CYSCO has already looked all our routers and switches and they found no
configuration issues and no network bottlenecks. This problem is only seen
with applications that are transfering data over TCP/IP ports with buffers
below 64k.
.
- Prev by Date: Re: closing a socket while other thread does select() on it
- Next by Date: Re: Vista: Bogus gateway after wake
- Previous by thread: Re: Vista: Bogus gateway after wake
- Next by thread: Multiple IPs on single NIC and multiple VLANs
- Index(es):
Relevant Pages
|
Loading