Hacker News new | ask | show | jobs
by raggi 1024 days ago
This doc kinda needs to say "TCP" somewhere, as it's very focused on TCP concerns - which is useful, people are mostly using TCP. The default UDP tunings are awfully low and as such are notably missing.
1 comments

Do you have any good resources for UDP tuning?
I have gotten quite a bit of mileage out of this slide deck: https://events.static.linuxfound.org/sites/events/files/slid...

It's older so some details have changed over time, but the concepts are still relevant. It also has a lot of useful search terms to get you started.

The typical painpoint is the low maximum buffer sizes.

net.core.rmem_max net.core.wmem_max

e.g. wireguard-go will hit those limits of not executed with CAP_NET_ADMIN.