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

transport: wire up the default pacer #1026

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

WesleyRosenblum
Copy link
Contributor

@WesleyRosenblum WesleyRosenblum commented Dec 6, 2021

Issue #, if available: #146

Description of changes: This change wires up the default packet pacer into the Cubic congestion controller. I've also added a earliest_departure_time method to the CongestionController trait.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@WesleyRosenblum WesleyRosenblum mentioned this pull request Dec 6, 2021
3 tasks
@dougch
Copy link
Contributor

dougch commented Dec 6, 2021

Benchmark report
No change in performance detected.

@@ -140,6 +141,7 @@ pub struct CubicCongestionController {
//# slow start [RFC3742] or hybrid slow start [HR08] for fast and long-
//# distance networks.
slow_start: HybridSlowStart,
pacer: Pacer,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you anticipate there being multiple implementations of a pacer? Will there be any configuration for pacers?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At this point I'm just thinking of the default Pacer and the pacer that BBR uses. No configuration yet, though we can revisit that

@WesleyRosenblum WesleyRosenblum merged commit 91c9095 into main Dec 6, 2021
@WesleyRosenblum WesleyRosenblum deleted the WesleyRosenblum/pacingwireup branch December 6, 2021 21:05
@WesleyRosenblum WesleyRosenblum changed the title Wire up the default pacer transport: wire up the default pacer Feb 17, 2022
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.

None yet

3 participants