Commit Graph

1 Commits (00a2808f4f176953dc9bbc6ebdddc04cd7b5b9b5)

Author SHA1 Message Date
Jordan Whited 290fb92069 net/udprelay: bind multiple sockets per af on Linux
This commit uses SO_REUSEPORT (when supported) to bind multiple sockets
per address family. Increasing the number of sockets can increase
aggregate throughput when serving many peer relay client flows.
Benchmarks show 3x improvement in max aggregate bitrate in some
environments.

Updates tailscale/corp#34745

Signed-off-by: Jordan Whited <jordan@tailscale.com>
15 hours ago