Layr-Labs / eigenda-operator-setup

Quick start setup guide for EigenDA
MIT License
80 stars 78 forks source link

Define TCP max window 16MB #129

Open pschork opened 3 months ago

pschork commented 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

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'

These values are not hard enforced and the kernel might choose something lower.