Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define TCP max window 16MB #129

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Define TCP max window 16MB #129

wants to merge 2 commits into from

Conversation

pschork
Copy link
Collaborator

@pschork pschork commented May 28, 2024

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.

@pschork pschork force-pushed the pschork/tcp_max_window branch 2 times, most recently from 46d9aa2 to 8f37de6 Compare May 28, 2024 00:40
@pschork pschork marked this pull request as draft May 28, 2024 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant