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/wgengine
James Tucker f5d3c59a92 wgengine/magicsock: shorten process internal DERP queue
DERP writes go via TCP and the host OS will have plenty of buffer space.
We've observed in the wild with a backed up TCP socket kernel side
buffers of >2.4MB. The DERP internal queue being larger causes an
increase in the probability that the contents of the backbuffer are
"dead letters" - packets that were assumed to be lost.

A first step to improvement is to size this queue only large enough to
avoid some of the initial connect stall problem, but not large enough
that it is contributing in a substantial way to buffer bloat /
dead-letter retention.

Updates tailscale/corp#31762

Signed-off-by: James Tucker <james@tailscale.com>
3 months ago
..
bench all: update the tsd.System constructor name (#15372) 8 months ago
filter wgengine/filter: add check for unknown proto 10 months ago
magicsock wgengine/magicsock: shorten process internal DERP queue 3 months ago
netlog wgengine: add exit destination logging enable for wgengine logger (#11952) 2 years ago
netstack wgengine/netstack: correctly proxy half-closed TCP connections 5 months ago
router wgengine/router: rely on events for deleted IP rules (#16744) 4 months ago
wgcfg go.mod,wgengine/magicsock: update wireguard-go (#16148) 6 months ago
wgint wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine 2 years ago
wglog all: use Go 1.22 range-over-int 2 years ago
winnet all: add test for package comments, fix, add comments as needed 1 year ago
mem_ios.go all: update copyright and license headers 3 years ago
pendopen.go all: add Node.HomeDERP int, phase out "127.3.3.40:$region" hack [capver 111] 11 months ago
userspace.go ipn/ipnlocal,wgengine{/magicsock}: replace SetNetworkMap with eventbus (#16299) 6 months ago
userspace_ext_test.go net/netmon: publish events to event bus 8 months ago
userspace_test.go net/netmon: publish events to event bus 8 months ago
watchdog.go feature/capture: move packet capture to feature/*, out of iOS + CLI 10 months ago
watchdog_js.go all: update copyright and license headers 3 years ago
watchdog_test.go net/netmon: publish events to event bus 8 months ago
wgengine.go feature/capture: move packet capture to feature/*, out of iOS + CLI 10 months ago