diff options
| author | James Tucker <james@tailscale.com> | 2025-08-28 12:00:03 -0700 |
|---|---|---|
| committer | James Tucker <jftucker@gmail.com> | 2025-08-28 20:44:47 -0700 |
| commit | f5d3c59a925b2f0ea249a32ddc0decdb43ff7ee9 (patch) | |
| tree | 35c4f0dcb092af6d493818bf804340f6ccef60be /control/controlhttp/controlhttpserver | |
| parent | d42f0b6a21dc088a3b7b0366e144e148a118c642 (diff) | |
| download | tailscale-f5d3c59a925b2f0ea249a32ddc0decdb43ff7ee9.tar.xz tailscale-f5d3c59a925b2f0ea249a32ddc0decdb43ff7ee9.zip | |
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>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions
