Skip to content

Conversation

@spikecurtis
Copy link

Increases DERP send queue length.

Testing in AWS reveals that a major bottleneck to throughput via DERP is the DERP server itself dropping packets. The queue is 32 packets by default, and even relatively modest speeds of ~50Mbit/s over a 10ms connection resulted in overflowing the queue and dropping packets.

Throughput tests in AWS show a marked increase in throughput with an increase to 512 packets.

derp-queue-len-32-512

Signed-off-by: Spike Curtis <spike@coder.com>
@spikecurtis spikecurtis requested a review from deansheather May 30, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants