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

More details in state description #9

Closed
msvoelker opened this issue Jun 14, 2019 · 9 comments
Closed

More details in state description #9

msvoelker opened this issue Jun 14, 2019 · 9 comments
Assignees

Comments

@msvoelker
Copy link
Contributor

In general, I think we should add more details in the state description, since this is the main part of the text. That's why I herewith "reopened" the issue #5.

Here is the current last sentence of the SEARCHING state description.

The state is exited when the PROBE_COUNT reaches MAX_PROBES, a received PTB message is validated, a probe of size MAX_PMTU is acknowledged, or a black hole is detected.

Here is what I would write instead.

The SEARCHING concludes and the state transitions to SEARCH_COMPLETE, when a probe fails (PROBE_COUNT reaches MAX_PROBES), or when a validated PTB message reports a MTU that equals the last successful probed size (PTB_SIZE = PLPMTU). When a previously successful probed packet size is no longer supported by the path (black hole is detected), the state transitions to ERROR.

What do you think?
@adventureloop @gorryfair

@msvoelker msvoelker self-assigned this Jun 14, 2019
@gorryfair
Copy link

gorryfair commented Jun 14, 2019 via email

@msvoelker
Copy link
Contributor Author

When a previously successful probed packet size is no longer supported by the path (black hole is detected), the state transitions to ERROR.

That's not true - Error is entered when no size is supported within the allowed range; or where the results are so inconsistent that it is not possible to determine reliably the actual PMTU.

Oh, you are right. My fault. The state diagram tells us to move to BASE then. So, I would write.

When a previously successful probed packet size is no longer supported by the path (black hole is detected), the state transitions to BASE.

@msvoelker
Copy link
Contributor Author

or when a validated PTB message reports a MTU that equals the last successful probed size (PTB_SIZE = PLPMTU).

It's still possible to probe higher than the PTB_SIZE... It may not work, but I don't see why the searrch absolutely has to exit, that's a design choice - but it would be OK to allow the search to terminate under that condition.

Have you had this case in mind?
Probe S0 --> success
Probe S1 > S0 --> PTB with PTB_SIZE = S0
Probe S2, with S0 = PTB_SIZE < S2 < S1 --> may work

If yes, note issue #7 which describes this independently of a PTB.
If no, I'm not sure what you mean.

@tuexen
Copy link
Contributor

tuexen commented Jul 25, 2019

All information being in the diagram should be in the text.

@msvoelker
Copy link
Contributor Author

All information being in the diagram should be in the text.

Great! First the diagram must match to the two definitions for Black Hole #8. After that, I will update the text.

@msvoelker
Copy link
Contributor Author

Since #8 is closed now, I looked into our state diagram description again. I found a few paragraphs that could contain more details.

SEARCHING:

Old:
The state is exited when the PROBE_COUNT reaches MAX_PROBES, a received PTB message is validated, a probe of size MAX_PMTU is acknowledged, or a black hole is detected.

New:
The state is exited to enter SEARCH_COMPLETE when the PROBE_COUNT reaches MAX_PROBES, a validated PTB is received that reports a MTU equal to the last successfully probed size (PTB_SIZE = PLPMTU), or a probe of size MAX_PMTU is acknowledged (PLPMTU = MAX_PMTU).

The state is also left when a black hole is detected. This causes the PL sender to enter the BASE state.

SEARCH_COMPLETE:

Old:
DPLPMTUD remains in this state until either the PMTU_RAISE_TIMER expires, a received PTB message is validated, or a black hole is detected.

New:
DPLPMTUD remains in this state until either the PMTU_RAISE_TIMER expires or a black hole is detected. The former causes the PL sender to enter the SEARCHING state again in trying to raise PLPMTU. The latter causes the PL sender to enter the BASE state.

ERROR:

Old:
The state is exited when packet probes no longer detect the error or when the PL indicates that connectivity has been lost.

New:
The state is exited when packet probes no longer detect the error. The PL sender then enters the SEARCHING state.

@tuexen @adventureloop @gorryfair
Comments?

@adventureloop
Copy link
Contributor

adventureloop commented Dec 19, 2019 via email

@msvoelker
Copy link
Contributor Author

ERROR:

Old:
The state is exited when packet probes no longer detect the error or when the PL indicates that connectivity has been lost.

New:
The state is exited when packet probes no longer detect the error. The PL sender then enters the SEARCHING state.

The new text now is:
The state is exited when packet probes no longer detect the error or when the PL indicates that connectivity has been lost. The PL sender then enters the SEARCHING state.

We should remove "or when the PL indicates that connectivity has been lost", because we don't want to say that the PL sender enters SEARCHING, when the connectivity is lost.

@adventureloop
Copy link
Contributor

merged, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants