Conversation
c05cf3a to
b0be27a
Compare
c0afbc2 to
65222de
Compare
b0be27a to
1442dc1
Compare
Contributor
Author
|
Rebase to master. |
14927cc to
a261222
Compare
LPardue
previously approved these changes
Apr 27, 2020
lohith-bellad
previously approved these changes
Apr 27, 2020
c5720d6 to
7fc9321
Compare
Implements Hystart++ based on IETF draft: https://tools.ietf.org/html/draft-balasubramanian-tcpm-hystartplusplus-02 HyStart++ is an improved version of original Hystart. It can be used with Reno and CUBIC (or possibly other loss based congestion control). It's enabled by default. You can disable it by calling config API provided. Config APIs: - C: quiche_config_set_hystart() - Rust: Config.set_hystart() API Changes: - CongestionControlOps API: `epoch`` is added to on_packet_acked() and congestion_event() Tools Update: - tools/apps/quiche-{client,server}: added --disable-hystart command line option Different from TCP: TCP implementation uses sequence number to check a start of the round. In QUIC, current implementation uses packet number instead. However packet number space is unique per epoch but Initial and Handshake epoch is short, so only applies HyStart++ to Application epoch. In TCP, sequence number is reused for retransmitted packets but QUIC will use a new packet number for retransmit so this is not exactly same. But it should be fine because this is only for the slow start episode and when QUIC connection sees a packet loss, it enters into recovery episode and exits from slow start, so retransmitted packet number is not used during HyStart++ slow start.
7fc9321 to
c926498
Compare
Contributor
Author
|
@ghedo let me know if there is additional comments/work needed. I rebased to master again today. |
ghedo
previously approved these changes
May 5, 2020
Member
ghedo
left a comment
There was a problem hiding this comment.
Sorry for the delay @junhochoi I added a couple of suggestions that I can merge manually, I still think we can probably improve the internal API a bit, but we can do it later so there's no point in delaying this further.
ghedo
reviewed
May 5, 2020
ghedo
reviewed
May 5, 2020
ghedo
reviewed
May 5, 2020
Contributor
Author
|
Cool. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note that it's based on #475 since this PR includes changes for CUBIC as well.
Implements Hystart++ based on IETF draft:
https://tools.ietf.org/html/draft-balasubramanian-tcpm-hystartplusplus-02
HyStart++ is an improved version of original Hystart. It can be used
with Reno and CUBIC (or possibly other loss based congestion control).
It's enabled by default. You can disable it by calling config API provided.
Config APIs:
API Changes:
epochis added to on_packet_acked()and congestion_event()
Tools Update:
command line option
Different from TCP: TCP implementation uses sequence number to
check a start of the round. In QUIC, current implementation uses
packet number instead. However packet number space is unique
per epoch but Initial and Handshake epoch is short, so only
applies HyStart++ to Application epoch.
In TCP, sequence number is reused for retransmitted packets
but QUIC will use a new packet number for retransmit so
this is not exactly same. But it should be fine because this is
only for the slow start episode and when QUIC connection sees a
packet loss, it enters into recovery episode and exits from slow
start, so retransmitted packet number is not used during HyStart++
slow start.