Re: Actual window sized used
> Do TCP window parameter settings in the OS affect the window size used
> iperf? For example, if I make the following registry edits in Win2K:
> and the start iperf with the following:
> iperf -s -w 65700
> will iperf use a 65700 byte window or will it use a 17520 window? It
> that is using a window size of 64K but I just want to verify that what
> reporting is actually true.
> Whatever window size you set on iperf's command line will override the
> OS setting. If you don't specify a window using -w then iperf will use
> the window size your OS specifies.
Taking that a step further, I've noticed the requested and actual window
sizes are always the exact same. For example, on OS X when I request a
window size of 17520 iperf reports:
TCP window size: 18.4 KByte (WARNING: requested 17.1 KByte)
Does iperf automatically choose a window size that is a multiple of the MSS?
In the case of OS X the MSS is 1448. 17520 is a multiple of 1460. The closet
multiple of 1448 (rounding up) would be 18824, or 18.4K.
Just looking for verification on that.