Skip to content

congestion: avoid double-reducing CUBIC fast convergence#2640

Merged
Ralith merged 1 commit into
quinn-rs:mainfrom
0xdeafbeef:fast-convergence-qubic
May 14, 2026
Merged

congestion: avoid double-reducing CUBIC fast convergence#2640
Ralith merged 1 commit into
quinn-rs:mainfrom
0xdeafbeef:fast-convergence-qubic

Conversation

@0xdeafbeef

Copy link
Copy Markdown
Contributor

Quinn mistakenly applied the beta multiplier to the newly adjusted W_max instead of the current window. This double-reduced the window to 59.5% instead of the intended 70%. This fixes the math by snapshotting the original window for the multiplicative decrease.

Quinn mistakenly applied the beta multiplier to the newly adjusted `W_max` instead of the current window.
This double-reduced the window to 59.5% instead of the intended 70%. 
This fixes the math by snapshotting the original window for the multiplicative decrease.

@djc djc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find, thanks!

Do you want to backport this to the 0.11.x branch for a release?

You might also be interested in

@0xdeafbeef

Copy link
Copy Markdown
Contributor Author

Great find, thanks!

Do you want to backport this to the 0.11.x branch for a release?

You might also be interested in

* #2481

I've tried to backport it

@Ralith Ralith left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, thank you! Our congestion control performance has always been a little worse than it should; I wonder if this is why... any chance you have before/after data for some interesting case?

@Ralith Ralith added this pull request to the merge queue May 14, 2026
Merged via the queue into quinn-rs:main with commit 3c43d45 May 14, 2026
19 checks passed
@0xdeafbeef

Copy link
Copy Markdown
Contributor Author

Great catch, thank you! Our congestion control performance has always been a little worse than it should; I wonder if this is why... any chance you have before/after data for some interesting case?

Unfortunately no :( I had issues with cubic previously with LFN network(500mbit, 200 ms latency) slowing connection down to several kib/s.

These findings are just comparisons of sources with rfcs and quiche by llm.

I can check other congestion controllers later

@0xdeafbeef 0xdeafbeef deleted the fast-convergence-qubic branch May 14, 2026 13:47
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.

3 participants