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

Increase send/receive buffers to 7MiB #4455

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

bt90
Copy link
Contributor

@bt90 bt90 commented Apr 23, 2024

Fixes #4426

@bt90
Copy link
Contributor Author

bt90 commented Apr 23, 2024

We also need to update the relevant section of the wiki.

non-BSD

sysctl -w net.core.rmem_max=7340032
sysctl -w net.core.wmem_max=7340032

BSD

sysctl -w kern.ipc.maxsockbuf=8441037
kern.ipc.maxsockbuf==8441037

@marten-seemann
Copy link
Member

We also need to update the relevant section of the wiki.

non-BSD

sysctl -w net.core.rmem_max=7340032
sysctl -w net.core.wmem_max=7340032

BSD

sysctl -w kern.ipc.maxsockbuf=8441037
kern.ipc.maxsockbuf==8441037

Thanks. Updated on the new (unreleased) docs page.

@bt90
Copy link
Contributor Author

bt90 commented Apr 29, 2024

@marten-seemann I just had a look at the updated wiki entry. Is there a reason why you use 7500000 instead of 7340032 for non-BSD? The defaults and most examples I could find online used values based on KiB/MiB instead of KB/MB.
No idea if this has any side effects or is just an aesthetic thing, though.

@bt90 bt90 deleted the increase_buffer branch April 29, 2024 15:05
calmh pushed a commit to syncthing/syncthing that referenced this pull request May 1, 2024
### Purpose

In preparation for quic-go v0.43.0. see
quic-go/quic-go#4455
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.

Increase buffer sizes
2 participants