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

scripts/perftune.py: improve a dry-run printout #2443

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vladzcloudius
Copy link
Contributor

Let's be optimistic when printing our intention during --dry-run execution: let's print the IRQ affinity configuration intent as if the Rx channels setting was successful.

Without this patch we are going to print a different configuration intent than what we are actually going to configure.

Note: unfortunatelly the same trick is not possible for RPS/XPS configuration intent because different NIC drivers are going to behave differently in regards to rps_cpus and xps_cpus files when one changes the numeber of Rx channels.

Let's be optimistic when printing our intention during --dry-run execution:
let's print the IRQ affinity configuration intent as if the Rx channels setting was successful.

Without this patch we are going to print a different configuration
intent than what we are actually going to configure.

Note: unfortunatelly the same trick is not possible for RPS/XPS
configuration intent because different NIC drivers are going to behave
differently in regards to rps_cpus and xps_cpus files when one changes
the numeber of Rx channels.
@vladzcloudius
Copy link
Contributor Author

vladzcloudius commented Sep 19, 2024

CI failures don't seem to be related to the patch itself.

cc @xemul

@tchaikov
Copy link
Contributor

CI failures don't seem to be related to the patch itself.

cc @xemul

tracked by #2445, and has been fixed.

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

Successfully merging this pull request may close these issues.

2 participants