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
Are the tc prio qdisc flowid's correct in the tuning guide? #11469
Comments
@heyitsanthony do you recall what the original intent was here? @ae6rt My reading of the documentation agrees with what you concluded. It might also be worth documenting what happens to all other traffic. Should 2380 be highest priority, 2379 second highest, and all other traffic lower priority than that? If so we should document that rule as well. I'll wait for some feedback and then send out a PR for the documentation change. |
I'm thinking of something like this as the replacement documentation:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Curious if there was any word from the original author of the tc tuning advice? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Any word on this @jpbetz or @heyitsanthony ? Thanks. |
I didn't have any thoughts beyond what I mentioned in #11469 (comment). If anyone wants to double check or improve and open a PR to fix the documentation I'd be happy to review. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
In the tuning guide Network Section the
flowid
value1:1
is stated to be the same for peer traffic (port 2380) as it is for client traffic (port 2379)If the goal of the
prio
qdisc configuration is to give priority to peer traffic on port 2380, why would the client traffic on port 2379 not be classified to band1:2
? My reading of the man page for tc-prio says that band 0 (parent:1) is dequeued first, followed by band 1 (parent:2), whereparent
is 1 from the qdisc creation itself.It is true that the filter rules themselves are given priorities (
prio 1
andprio 2
) consistent with preferring peer over client traffic, but this is to impose filter evaluation order, and seems orthogonal to how packets are prioritized if peer and client packets are both queued for egress.The text was updated successfully, but these errors were encountered: