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
docs: NodePort XDP on AWS #12156
docs: NodePort XDP on AWS #12156
Conversation
Please set the appropriate release note label. |
3 similar comments
Please set the appropriate release note label. |
Please set the appropriate release note label. |
Please set the appropriate release note label. |
ba27208
to
0bc8fdc
Compare
Write up a small getting started guide based on Tobias' notes on EKS (https://gist.github.com/tklauser/268641aea4fced9e8c3b4a2f7536661b). Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
The default MTU is set to 9001 on the ena driver. Given XDP buffers are linear, they | ||
operate on a single page. A driver typically reserves some headroom for XDP as well | ||
(e.g. for encapsulation purpose), therefore, the highest possible MTU for XDP would | ||
be 3818. |
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.
Limitation is a bit unfortunate. I wonder if we should add an option to configure mtu for 1.9?
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.
Yes, the agent could take care of it for 1.9.
Combined: 4 | ||
|
||
In order to use XDP the channels must be set to at most 1/2 of the value from | ||
``Combined`` above. Both, MTU and channel changes are applied as follows: |
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.
iirc some drivers will automagically reconfigure to meet the rx/tx queue requirements perhaps we should file a feature request against ena to do this.
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.
Agree, either that or implement it directly upstream. E.g. on Azure no additional knobs are needed.
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.
LGTM perhaps in future release we can make this a bit more seamless but this is awesome to see XDP being used here.
Write up a small getting started guide based on Tobias' notes on
EKS (https://gist.github.com/tklauser/268641aea4fced9e8c3b4a2f7536661b).
Signed-off-by: Tobias Klauser tklauser@distanz.ch
Signed-off-by: Daniel Borkmann daniel@iogearbox.net