8000 Move to IRQBALANCE_BANNED_CPULIST by Tal-or · Pull Request #8931 · cri-o/cri-o · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Move to IRQBALANCE_BANNED_CPULIST #8931

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 5 commits into
base: main
Choose a base branch
from

Conversation

Tal-or
Copy link
Contributor
@Tal-or Tal-or commented Jan 22, 2025

What type of PR is this?

/kind dependency-change

What this PR does / why we need it:

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.

Implementing this requires new code for byte/hex formatted cpu mask to CPUSet formatting code.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

@Tal-or Tal-or requested a review from mrunalp as a code owner January 22, 2025 10:28
@openshift-ci openshift-ci bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/dependency-change Categorizes issue or PR as related to changing dependencies labels Jan 22, 2025
@openshift-ci openshift-ci bot requested review from hasan4791 and klihub January 22, 2025 10:28
Copy link
Contributor
openshift-ci bot commented Jan 22, 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 haircommander 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

@Tal-or
Copy link
Contributor Author
Tal-or commented Jan 22, 2025

Supersede for: #8783

@Tal-or
Copy link
Contributor Author
Tal-or commented Jan 22, 2025

/cc @MarSik

Copy link
Contributor
openshift-ci bot commented Jan 22, 2025

@Tal-or: GitHub didn't allow me to request PR reviews from the following users: MarSik.

Note that only cri-o members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @MarSik

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.

Copy link
codecov bot commented Jan 22, 2025

Codecov Report

Attention: Patch coverage is 70.33898% with 35 lines in your changes missing coverage. Please review.

Project coverage is 66.41%. Comparing base (155deb6) to head (0ba1338).
Report is 44 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8931      +/-   ##
==========================================
- Coverage   66.92%   66.41%   -0.51%     
==========================================
  Files         198      198              
  Lines       27176    27236      +60     
==========================================
- Hits        18187    18090      -97     
- Misses       7488     7642     +154     
- Partials     1501     1504       +3     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Tal-or Tal-or force-pushed the irqbalance_cpulist branch 6 times, most recently from 0cd6a17 to b3da2f9 Compare January 29, 2025 15:18
@Tal-or Tal-or force-pushed the irqbalance_cpulist branch 2 times, most recently from 7eff2b5 to 8a7d734 Compare January 30, 2025 12:48
@Tal-or
Copy link
Contributor Author
Tal-or commented Feb 4, 2025

/retest-required

if strings.HasPrefix(line, irqBalanceBannedCpusLegacy+"=") {
list := strings.Trim(strings.Split(line, "=")[1], "\"")

return mapHexCharToCPUSet(list)
Copy link
Contributor

Choose a reason for hiding this comment

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

What if both are present at the same time?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It will preferred and go through the legacy flow first and only once.

On the next iteration the legacy value will be commented out and the new value will be used.

@Tal-or
Copy link
Contributor Author
Tal-or commented Mar 3, 2025

/retest

Copy link
github-actions bot commented Apr 3, 2025

A friendly reminder that this PR had no activity for 30 days.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 3, 2025
@Tal-or
Copy link
Contributor Author
Tal-or commented May 5, 2025

/lifecycle/stale remove

@Tal-or
Copy link
Contributor Author
Tal-or commented May 5, 2025

/retest

@github-actions github-actions bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 6, 2025
Copy link
github-actions bot commented Jun 5, 2025

A friendly reminder that this PR had no activity for 30 days.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 5, 2025
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 14, 2025
@github-actions github-actions bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 15, 2025
@MarSik
Copy link
Contributor
MarSik commented Jun 17, 2025

/retest

Tal-or and others added 2 commits June 17, 2025 14:04
Signed-off-by: Talor Itzhak <titzhak@redhat.com>
add helper functions for manipulating different CPU set
representaition.

The unit-tests have been adjusted for validating the
new helper functions.

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
Co-authored-by: Martin Sivak <msivak@redhat.com>
@Tal-or Tal-or force-pushed the irqbalance_cpulist branch from f762eb0 to 19e93fc Compare June 17, 2025 11:22
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 17, 2025
Tal-or and others added 2 commits June 29, 2025 16:37
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.

Implementing this requires new code for byte/hex formatted cpu mask
to CPUSet formatting code.

Co-authored-by: Martin Sivak <msivak@redhat.com>
Signed-off-by: Talor Itzhak <titzhak@redhat.com>
Signed-off-by: Talor Itzhak <titzhak@redhat.com>
@Tal-or Tal-or force-pushed the irqbalance_cpulist 9E88 branch from 19e93fc to 1b67284 Compare June 29, 2025 13:37
Signed-off-by: Talor Itzhak <titzhak@redhat.com>
@Tal-or Tal-or force-pushed the irqbalance_cpulist branch from 1b67284 to 0ba1338 Compare June 29, 2025 14:02
@Tal-or
Copy link
Contributor Author
Tal-or commented Jun 30, 2025

/retest

1 similar comment
@Tal-or
Copy link
Contributor Author
Tal-or commented Jul 1, 2025

/retest

Copy link
Contributor
openshift-ci bot commented Jul 1, 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/ci-cgroupv2-integration 0ba1338 link true /test ci-cgroupv2-integration
ci/prow/ci-fedora-integration 0ba1338 link true /test ci-fedora-integration
ci/prow/ci-e2e-evented-pleg 0ba1338 link false /test ci-e2e-evented-pleg
ci/prow/ci-fedora-kata 0ba1338 link true /test ci-fedora-kata

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/dependency-change Categorizes issue or PR as related to changing dependencies release-note-none Denotes a PR that doesn't merit a release note.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0