Skip to content

script: add IRQBALANCE_BANNED_CPULIST variable #1350

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Tal-or
Copy link
Contributor

@Tal-or Tal-or commented Jun 26, 2025

A new version of irqbalance start using IRQBALANCE_BANNED_CPULIST to mark the banned CPUs
that are not suppose to participate in the irq balancing.

We're setting the new variable with a default value - which
means that all CPUs are participating in the irq balancing.

Signed-off-by: Talor Itzhak [email protected]

@Tal-or
Copy link
Contributor Author

Tal-or commented Jun 26, 2025

/hold

depends on cri-o/cri-o#8931

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 26, 2025
@openshift-ci openshift-ci bot requested review from ffromani and jmencak June 26, 2025 14:36
Copy link
Contributor

openshift-ci bot commented Jun 26, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Tal-or
Once this PR has been reviewed and has the lgtm label, please assign yanirq for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

# CPU numbers which have their corresponding bits set to one in this mask
# will not have any irq's assigned to them on rebalance.
# so zero means all cpus are participating in load balancing.
# '-' is a special value that means all cpus are participating in load balancing.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value - is an edge case of number1-number2 where both number1 and number2 are not defined. While - works, I wonder if it would make sense to try and document this in irqbalance upstream. By doing that, we'd get an official confirmation this is the intended behaviour and that it will not change in the future.

@Tal-or
Copy link
Contributor Author

Tal-or commented Jun 26, 2025

/retest

Tal-or added 4 commits June 29, 2025 12:20
new version of irqbalance start using IRQBALANCE_BANNED_CPULIST to mark the banned CPUs
that are not suppose to participate in the irq balancing.

We're setting the new variable with a default value `-` which
means that all CPUs are participating in the irq balancing.

Signed-off-by: Talor Itzhak <[email protected]>
This is only needed for cases when more
control is required on the restore flow.
cri-o/cri-o@e158549

In our case we do not need the restore flow at all, because
the default behavior of the dynamic irqbalancing provided by cri-o
is good enough for us.

hence, we disable the restore flow completely.

Signed-off-by: Talor Itzhak <[email protected]>
Signed-off-by: Talor Itzhak <[email protected]>
@Tal-or Tal-or force-pushed the banned_cpus_new_var branch from 0eaabf7 to d21cce5 Compare June 29, 2025 13:11
Copy link
Contributor

openshift-ci bot commented Jun 29, 2025

@Tal-or: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-ovn d21cce5 link true /test e2e-aws-ovn
ci/prow/e2e-gcp-pao-updating-profile d21cce5 link true /test e2e-gcp-pao-updating-profile
ci/prow/e2e-gcp-pao d21cce5 link true /test e2e-gcp-pao
ci/prow/e2e-gcp-pao-workloadhints d21cce5 link true /test e2e-gcp-pao-workloadhints
ci/prow/e2e-aws-ovn-techpreview d21cce5 link true /test e2e-aws-ovn-techpreview
ci/prow/e2e-upgrade d21cce5 link true /test e2e-upgrade
ci/prow/e2e-hypershift-pao d21cce5 link true /test e2e-hypershift-pao

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Tal-or
Copy link
Contributor Author

Tal-or commented Jun 30, 2025

/tests won't pass until we'll have cri-o/cri-o#8931 in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants