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

Replace recovery epoch with congestion event #2585

Merged
merged 2 commits into from
Apr 2, 2019

Conversation

ianswett
Copy link
Contributor

@ianswett ianswett commented Apr 2, 2019

Recovery epoch was undefined and congestion event makes more sense for QUIC.

Fixes #2566

Recovery epoch was undefined and congestion event makes more sense for QUIC.
@ianswett ianswett added editorial An issue that does not affect the design of the protocol; does not require consensus. -recovery labels Apr 2, 2019
@@ -1319,7 +1319,7 @@ window.
~~~
CongestionEvent(sent_time):
// Start a new congestion event if the sent time is larger
// than the start time of the previous recovery epoch.
// than the start time of the previous congestion event.
Copy link
Contributor

@janaiyengar janaiyengar Apr 2, 2019

Choose a reason for hiding this comment

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

Suggestion: "... if the packet was sent after the start of the last congestion event."

// Start a new congestion event if the sent time is larger
// than the start time of the previous recovery epoch.
// Start a new congestion event if packet was sent after the
// start of the previous congestion event.
Copy link
Contributor

Choose a reason for hiding this comment

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

I understand what the start and the end of an epoch are, but what is the start and end of a congestion event.
In my understanding, a congestion event is when a packet is acknowledged or when a packet is declared lost, and there’s no start and end to it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. We don't use epoch anywhere else in this doc except this pseudocode, and it's different from the definition in security contexts, so I'd like to avoid the term.

Do you have any other suggestions? Congestion Period, etc? I'm not even that happy about using InRecovery here, since in TCP that has a distinct meaning that doesn't map 1:1 to QUIC.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe keep congestion event as the trigger. Isn't the period referred to as the recovery period, if entered.

Copy link
Contributor

Choose a reason for hiding this comment

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

Well, seems like you just made a commit doing exactly that ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

PTAL at #2588

Copy link
Contributor

@mikkelfj mikkelfj Apr 3, 2019

Choose a reason for hiding this comment

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

I did, we keep cross-posting.

@mikkelfj
Copy link
Contributor

mikkelfj commented Apr 3, 2019

Events tend to be points in time, I agree.

ianswett added a commit that referenced this pull request Apr 3, 2019
Addresses follow-up comments on #2585
janaiyengar pushed a commit that referenced this pull request Apr 5, 2019
* Use Congestion Recovery Period in psuedocode

Addresses follow-up comments on #2585

* Update draft-ietf-quic-recovery.md

* Remove duplicate comments
@janaiyengar janaiyengar deleted the ianswett-congestion-event branch May 22, 2019 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-recovery editorial An issue that does not affect the design of the protocol; does not require consensus.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants