You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/udprelay
Jordan Whited a663639bea net/udprelay: replace map+sync.Mutex with sync.Map for VNI lookup
This commit also introduces a sync.Mutex for guarding mutatable fields
on serverEndpoint, now that it is no longer guarded by the sync.Mutex
in Server.

These changes reduce lock contention and by effect increase aggregate
throughput under high flow count load. A benchmark on Linux with AWS
c8gn instances showed a ~30% increase in aggregate throughput (37Gb/s
vs 28Gb/s) for 12 tailscaled flows.

Updates tailscale/corp#35264

Signed-off-by: Jordan Whited <jordan@tailscale.com>
5 days ago
..
endpoint wgengine/magicsock,all: allocate peer relay over disco instead of PeerAPI (#16603) 5 months ago
status cmd/tailscale/cli,ipn,all: make peer relay server port a *uint16 4 weeks ago
server.go net/udprelay: replace map+sync.Mutex with sync.Map for VNI lookup 5 days ago
server_linux.go net/udprelay: bind multiple sockets per af on Linux 3 weeks ago
server_notlinux.go net/udprelay: bind multiple sockets per af on Linux 3 weeks ago
server_test.go net/udprelay: replace map+sync.Mutex with sync.Map for VNI lookup 5 days ago