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/tsnet
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
..
example tsnet: split user facing and backend logging 2 years ago
depaware.txt wgengine/magicsock: shorten process internal DERP queue 3 months ago
example_tshello_test.go tsnet: add examples (#8289) 2 years ago
example_tsnet_test.go tsnet: split user facing and backend logging 2 years ago
packet_filter_test.go tsnet: add test for packet filter generation from netmap 7 months ago
tsnet.go ipn,tsnet: update AdvertiseTags documentation (#16931) 3 months ago
tsnet_test.go tsnet: use test logger for testcontrol and node logs 9 months ago