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

WIP: Use the new IRQBALANCE_BANNED_CPULIST variable #1227

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

Conversation

MarSik
Copy link
Contributor

@MarSik MarSik commented Nov 26, 2024

Use the new IRQBALANCE_BANNED_CPULIST variable

The IRQBALANCE_BANNED_CPUS variable is deprecated and will not
be used anymore in the near future.

The newer IRQBALANCE_BANNED_CPULIST variable is already supported
by irqbalanced (https://github.com/Irqbalance/irqbalance/blob/v1.9.0/cputree.c#L135)
and should be used.

This must be merged together with cri-o/cri-o#8783

The IRQBALANCE_BANNED_CPUS variable is deprecated and will not
be used anymore in the near future.

The newer IRQBALANCE_BANNED_CPULIST variable is already supported
by irqbalanced (https://github.com/Irqbalance/irqbalance/blob/v1.9.0/cputree.c#L135)
and should be used.

This must be merged together with cri-o/cri-o#8783

Signed-off-by: Martin Sivak <[email protected]>
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 26, 2024
@openshift-ci openshift-ci bot requested review from dagrayvid and ffromani November 26, 2024 13:30
Copy link
Contributor

openshift-ci bot commented Nov 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: MarSik

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

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 26, 2024
@jmencak
Copy link
Contributor

jmencak commented Nov 26, 2024

/cc jmencak

@openshift-ci openshift-ci bot requested a review from jmencak November 26, 2024 13:41
Copy link
Contributor

openshift-ci bot commented Nov 26, 2024

@MarSik: 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-gcp-pao-workloadhints d8acd3a link true /test e2e-gcp-pao-workloadhints
ci/prow/e2e-hypershift-pao d8acd3a link true /test e2e-hypershift-pao
ci/prow/e2e-gcp-pao d8acd3a link true /test e2e-gcp-pao
ci/prow/e2e-no-cluster d8acd3a link true /test e2e-no-cluster
ci/prow/unit d8acd3a link true /test unit

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.

Copy link
Contributor

@jmencak jmencak left a comment

Choose a reason for hiding this comment

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

  • missing "make render-sync"
  • Unit tests are failing with this, they'll likely need to be adjusted.


[ ! -f "${IRQBALANCE_CONF}" ] && exit 0

${SED} -i '/^\s*IRQBALANCE_BANNED_CPUS\b/d' "${IRQBALANCE_CONF}" || exit 0
${SED} -i '/^\s*IRQBALANCE_BANNED_CPULIST\b/d' "${IRQBALANCE_CONF}" || exit 0

# 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.
Copy link
Contributor

Choose a reason for hiding this comment

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

Comment needs to be adjusted, there's no longer 0. We have empty string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants