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
Clarify conditions for disabling spin bit #3296
Conversation
selection process SHOULD be designed such that on average the spin bit is | ||
disabled for at least one eighth of network paths. The selection process | ||
performed at the beginning of the connection SHOULD be applied for all paths | ||
used by the connection. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see the last sentence being dropped in the updated text. Is that intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it seems to be duplicative as the text now talks about paths rather than connections.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One suggestion
draft-ietf-quic-transport.md
Outdated
used by the connection. | ||
the spin bit is not disabled by the administrator, endpoints MUST disable their | ||
use of the spin bit for a random selection of at least one in every 16 network | ||
paths, or for one in every 16 connection IDs. This ensures that the spin bit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
paths, or for one in every 16 connection IDs. This ensures that the spin bit | |
paths, or for one in every 16 connection IDs. Since both endpoints in a connection disable the spin bit independently, this ensures that the spin bit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good technically. It may be slightly confusing, though, that the last sentence only talks about paths, while a sentence before talks about "paths or connection IDs". In any case, the behavior ensures a sufficient amount of traffic without the spin bit to prevent ossification of the bit.
This builds on #3270 to address the linkability issues that it added. It recommends 1/16 of network paths are disabled randomly as suggested by @kazuho. It also allows the determination to be made per connection ID rather than per-path (which is more granular, but I expect it will have a nearly identical effect). The net effect is that 1/8 paths will not spin as originally intended.
Closes #3270.
Closes #3257.
Closes #2628.