Skip to content

demo: document kernel rcvbuf sysctls for 64 MiB parser buffer#23

Open
armcconnell wants to merge 1 commit into
mainfrom
docs/parser-rcvbuf-sysctl
Open

demo: document kernel rcvbuf sysctls for 64 MiB parser buffer#23
armcconnell wants to merge 1 commit into
mainfrom
docs/parser-rcvbuf-sysctl

Conversation

@armcconnell

Copy link
Copy Markdown
Contributor

Summary

The parsers raise SO_RCVBUF to 64 MiB (#21) to absorb feed bursts, but the kernel clamps that request to net.core.rmem_max — which defaults far lower on a fresh host. Without raising it, the rcvbuf bump is only partially honored and sustained bursts can still drop at the socket layer.

This ports the operator sysctl guidance from the now-closed #13 into the demo README so the 64 MiB buffer can actually grow:

net.core.rmem_max=134217728
net.core.rmem_default=16777216
net.core.netdev_max_backlog=50000

Docs-only; no code change.

Context

The parsers SetReadBuffer to 64 MiB, but the kernel clamps that to
net.core.rmem_max, which defaults far lower on a fresh host. Without
raising it the rcvbuf bump from #21 is only partially effective and
bursts can still drop at the socket layer. Port the operator sysctl
guidance (from the now-closed #13) into the demo README.
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