Click to See Complete Forum and Search --> : Manipulation of TCP sliding window size in win2k


maz2003
November 5th, 2003, 02:03 PM
Manipulation of TCP sliding window size in Win2k

Hello,
Does anyone know how to manually change the size of the TCP sliding window in Windows 2000? I am NOT talking about the TCP window size in the TCP header( that's the same as the Receive Buffer Size; I know how to set that in the registry.)
The sliding window size is the number of packets that can be transmitted without requiring an acknowledgement. I need to know how to increase the size to around 30 or 40 packets transmitted before requiring an acknowledgement. In my tests, I've only seen sizes of 2 or 3 packets before an acknowledgement, regardless of how fast I pump out the data.
I'm using a default MSS of 1460 bytes, corresonding to the Ethernet MTU of 1500 bytes.
I have attached an Ethereal sniffer trace (in txt format) of the beginning portion of a sample FTP session between two Win2k hosts to illustrate the 2 packet sliding window size used in the data transfer.

Any help is appreciated.
Thanks,
Maz

Waldo2k2
November 7th, 2003, 10:29 AM
HOLY CRAP!
Can you Believe it?
There's this magical place called google, and when I typed the subject of this thread into it, the FIRST page that came up had an answer for me! WOW!
:rolleyes:

I pulled this from the last paragraph on the first page that came up

You can use several cool utilities to monitor and manage your RAS connections' MTU sizes and other TCP/IP parameters, such as the Maximum Segment Size (MSS—the MTU value minus the IP overhead of 40 bytes) and the TCP sliding window size (the amount of data that the sending host can transfer to the receiving host before the sending host requires an ACK from the receiver). For example, iSpeed from High Mountain Software (http://www.hms.com), TweakDUN from Patterson Design Systems (http://www.pattersondesigns.com), and Mike Sutherland's MTUSpeed (http://www.mjs.u-net.com/ mtuspeed.htm) not only let you view and modify RAS and TCP/IP-related performance parameters but also let you test the results of each modification to determine the optimal setting for a particular connection.