Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: increases DERP send queue length to 512 for increased throughput #54

Merged
merged 1 commit into from
May 30, 2024

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

@spikecurtis spikecurtis requested a review from deansheather May 30, 2024 06:56
@spikecurtis spikecurtis merged commit 1ac63d3 into main May 30, 2024
6 of 35 checks passed
@sreya sreya deleted the spike/derp-q-512 branch May 31, 2024 17:39
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