Re: Windows 2003SP2 Socket Sends are much slower than Windows XP on my
- From: redblue <redqil@xxxxxxxxx>
- Date: Wed, 7 May 2008 02:23:15 -0700 (PDT)
On Apr 2, 3:01 am, Kesney <Kes...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
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.
I am encountering something similar. You can read the details in my
post titled "Half the speed migrating from Windows 2000 to Windows
2003". You have given more data points to consider. I am beginning to
think that Microsoft tuned W2k3 for large size transfers, but not
small request/response transactions. The only explanation I can think
of is that they have added delays to counter DDoS kind of attacks (but
that's too speculative to be of any help). Please keep us posted if
you find out more.
.
- Prev by Date: Confusion in MSDN about winsock connect()
- Next by Date: RE: Half the speed migrating from Windows 2000 to Windows 2003
- Previous by thread: Confusion in MSDN about winsock connect()
- Next by thread: c# sniffer filter
- Index(es):
Relevant Pages
|
|