[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: is there a tcp window size restriction?



Lee wrote: 
> I just noticed that I can't get a 1MB tcp window on debian 11
> 
> $ iperf --version
> iperf version 2.1.4 (18 August 2021) pthreads
> 
> $ iperf -s -w 1M --time 60 -i 10
> ------------------------------------------------------------
> Server listening on TCP port 5001
> TCP window size:  416 KByte (WARNING: requested 1.00 MByte)
> 
> 
> The exact same software (.. or at least the same source code) on a
> windows 10/cygwin machine says I get the full 1MB tcp window size:
> TCP window size: 1.00 MByte
> 
> So is there something on the Debian machine limiting the tcp window &
> if so, how do I change it.

https://netbeez.net/blog/how-to-adjust-the-tcp-window-size-limit-on-linux/

Details are not Debian-specific; sysctl config can be placed in
/etc/sysctl.conf or in the /etc/sysctl.d/ directory.

-dsr-


Reply to: