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

Pacing: Pacing of egress QUIC packets #770

Merged
merged 1 commit into from
May 24, 2021
Merged

Pacing: Pacing of egress QUIC packets #770

merged 1 commit into from
May 24, 2021

Conversation

lohith-bellad
Copy link
Contributor

@lohith-bellad lohith-bellad commented Dec 4, 2020

Currently pacing is enabled for Cubic and Reno, since BBR is under development.

@lohith-bellad lohith-bellad requested a review from a team as a code owner December 4, 2020 23:19
@lohith-bellad lohith-bellad force-pushed the packet_pacing branch 4 times, most recently from d53b9e5 to 91894fd Compare December 5, 2020 00:54
src/recovery/mod.rs Outdated Show resolved Hide resolved
src/ffi.rs Outdated Show resolved Hide resolved
@junhochoi
Copy link
Contributor

junhochoi commented Dec 7, 2020

Please add some test for pacing rate calculation.

@lohith-bellad
Copy link
Contributor Author

Added some tests for pacing.

@lohith-bellad lohith-bellad force-pushed the packet_pacing branch 2 times, most recently from 58bd066 to 69ae476 Compare December 8, 2020 04:10
src/recovery/mod.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/recovery/mod.rs Outdated Show resolved Hide resolved
src/recovery/mod.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/recovery/mod.rs Outdated Show resolved Hide resolved
src/ffi.rs Outdated Show resolved Hide resolved
src/recovery/mod.rs Outdated Show resolved Hide resolved
src/recovery/mod.rs Outdated Show resolved Hide resolved
src/recovery/mod.rs Outdated Show resolved Hide resolved
@lohith-bellad lohith-bellad force-pushed the packet_pacing branch 5 times, most recently from 07683ee to 08113e5 Compare December 11, 2020 07:31
@rafibaum
Copy link

I've been using this branch since March and it's been working excellently for me. The only comment I have would be that paced congestion controllers like BBR may have "send quantum" as an output control signal and future work may want to allow congestion controllers to set a quantum value as well, which would cap the size of generated QUIC datagrams at that size.

include/quiche.h Outdated Show resolved Hide resolved
@ghedo ghedo changed the base branch from master to path-awareness May 18, 2021 09:29
@ghedo ghedo force-pushed the packet_pacing branch 4 times, most recently from 489711c to 00513a8 Compare May 18, 2021 19:31
src/recovery/mod.rs Outdated Show resolved Hide resolved
junhochoi
junhochoi previously approved these changes May 19, 2021
@ghedo ghedo force-pushed the path-awareness branch 2 times, most recently from b426d0c to c57dee4 Compare May 21, 2021 08:22
Base automatically changed from path-awareness to master May 24, 2021 12:04
@ghedo ghedo force-pushed the packet_pacing branch 2 times, most recently from dcba81e to fe2e217 Compare May 24, 2021 12:29
ghedo
ghedo previously approved these changes May 24, 2021
@ghedo ghedo merged commit 9be6b27 into master May 24, 2021
@ghedo ghedo deleted the packet_pacing branch May 24, 2021 12:55
@ghedo
Copy link
Member

ghedo commented May 24, 2021

FTR, I renamed the SendInfo field to at, to be somewhat more consistent. Also, the conversion from Instant to timespec in FFI is now only implemented when OS != macOS, iOS, Windows, in the other cases the field is just set to 0. In the future we can implement more OS-specific conversion functions.

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.

5 participants