Open pschork opened 3 months ago
Experimental TCP max window settings
You can determine current TCP window setting via
> cat /proc/sys/net/ipv4/tcp_rmem 4096 131072 6291456
This output show 6.2MB max window
6.2MB
According to https://www.ibm.com/docs/en/linux-on-systems?topic=tuning-tcpip-ipv4-settings#wkvm_tune_tcpip__title__7 10G nic should be able to handle 16MB max window (or more)
To change tcp_rmem outside of docker, run sudo sysctl -w net.ipv4.tcp_rmem='4096 131072 16000000'
tcp_rmem
sudo sysctl -w net.ipv4.tcp_rmem='4096 131072 16000000'
These values are not hard enforced and the kernel might choose something lower.
Experimental TCP max window settings
You can determine current TCP window setting via
This output show
6.2MB
max windowAccording to https://www.ibm.com/docs/en/linux-on-systems?topic=tuning-tcpip-ipv4-settings#wkvm_tune_tcpip__title__7 10G nic should be able to handle 16MB max window (or more)
To change
tcp_rmem
outside of docker, runsudo sysctl -w net.ipv4.tcp_rmem='4096 131072 16000000'
These values are not hard enforced and the kernel might choose something lower.