BPFTUNE-UDP-BUFFER
UDP buffer bpftune plugin for managing UDP buffer sizes, memory limits
- Provided by: bpftune (Version: 0.0~git20251206.4bcc284-1)
- Report a bug
UDP buffer bpftune plugin for managing UDP buffer sizes, memory limits
If receive fails with -ENOBUFS this indicates memory limits are being reached; we adaptively increase pressure and max to ensure that memory exhaustion does not occur (as long as we do not approach real memory exhaustion). As memory exhaustion is approached and we can no longer increase overall memory limits, reduce net.core.rmem* values to limit socket memory overheads.
For UDP receive buffer memory, bump net.core.rmem_max if a socket experiences receive buffer drops within range of the rmem_max_value. Similarly bump rmem_default if sockets are within range of it and do not have a locked (via setsockopt) value.
Tunables: