XPost: linux.debian.bugs.dist
From: ben@decadent.org.uk
Control: tag -1 moreinfo
On Wed, 13 Aug 2025 20:11:36 -0700 Josh Triplett
wrote:
> Package: linux-sysctl-defaults
> Version: 4.14
> Severity: wishlist
> File: /usr/lib/sysctl.d/50-default.conf
> X-Debbugs-Cc: josh@joshtriplett.org
>
> Current uses of QUIC benefit from higher buffer size limits. Please
> consider setting:
>
> net.core.rmem_max = 7500000
I can see that it makes sense to increase this to allow increasing the
receive window if the QUIC implementation sets its receive window based
on this, or otherwise to reduce the risk of packets being dropped if
user-space is slow to handle them.
I would like to see a detailed justification for the specific value,
though.
> net.core.wmem_max = 7500000
This seems wrong. With QUIC the memory for replaying lost packets is
allocated in user-space, so I don't see any need to increase buffering
on the send side. I think that this would mostly contribute to
bufferbloat.
> See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes
No justification is given there for increasing wmem_max.
Ben.
--
Ben Hutchings
Time is nature's way of making sure that
everything doesn't happen at once.
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmimEUgACgkQ57/I7JWG
EQkDBRAAhQCYrXLFko3Prqjg0ecJEOeVNkESKkW4yQ8N0rRZa3jvB0dq4giBJ6gD
egFvMHLZnFG2sSQi9P2TxonEHRfhGrvS/8IjgcgM8X/V9mLjWZOEWYrSvorajH/s
396Khqtuq6j1eXPCkSNizoWvp6fy/KneNViyBEBwvyuYR1CyE/66f3agKPA4WOto
GrnAAA0FfbdJ6yYrTYBJmtWxhalp8mH+W+7Zo2ublsYSHI7SZRkPifTFGdoqNSoQ
x0wlhYdSvOowPcitmtl1ZKbOsNFjxIkNvGITbYIzL59tz4RVLyr7E+d9+bLhNkfR
HcQO0FGpKmDgKhfGsHlJk2NVpSTPTnzZN+1LSEdrmZcsIlLkgPoykwsz1A4LUc0o
qRNYLe6velBgonzUaEmyemtSAhtwcORiwtPPh67DspKbY08UfEQBumDljZfY6VcH
qbw9YDhJBkluEdA2UkMfa2zgeUbbK8MYzIy81JKqEtaAp3gFlLiAsffiGhRd3CIT
9t4m4a2DkSGDH89BZR5Wv9hGO30L+hiQrarmc6F7QdtMvRgukMFuU/tBf4DJO2Zw
OPzULRLcNmIxTqOy4bVzOrHSTvZ0nHrDVVaI1JRbsURNoHiK3w/nwcySJoWKydOx
wcBCRVK6thjaTtduVQzYNJoDjcHFXMSrpYQNPGpjRpuOHRUsH5A=
=WMl5
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)
|