Skip to content

WIP: cpuinfo: cpuallocator: per-node unique core ids - #406

Open
ffromani wants to merge 1 commit into
kubernetes-sigs:mainfrom
ffromani:unique-topology-cpumanager
Open

ffromani wants to merge 1 commit into
kubernetes-sigs:mainfrom
ffromani:unique-topology-cpumanager

Conversation

@ffromani

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind bug

What this PR does / why we need it

Ensure the cpumanager allocator gets uinque core ids. The code we inherited from the kubelet assumes so, and the kubelet does this adjustment when it processes the cadvisor data it gets.

Which issue(s) this PR is related to

Fixes #405

Special notes for reviewers

WIP because we need to fully figure out the implications.
Should we report the per-node unique core ID in the API?
Should external schedulers be affected?

Release note

Report per-node unique core ids when using the cpumanager allocation

AI usage disclosure

YES: the author pointed the agent to borrow the concept and the testcases from kubelet, but adapting to our codebase. The author reviewed and edited the agent changes.

compute per-node unique core-ids, while the hardware,
and therefore the kernel, may only report per-socket
unique ids.

Signed-off-by: Francesco Romani <fromani@redhat.com>
@kubernetes-prow kubernetes-prow Bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/bug Categorizes issue or PR as related to a bug. labels Nov 27, 2026
@netlify

netlify Bot commented Nov 27, 2026

Copy link
Copy Markdown

👷 Deploy request for dra-driver-cpu pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit adb201e

@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords: 2

  • WIP
  • DO NOT MERGE

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

@kubernetes-prow
kubernetes-prow Bot requested a review from AutuSnow November 27, 2026 16:51
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ffromani

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

The pull request process is described here

Details 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

@kubernetes-prow
kubernetes-prow Bot requested a review from pohly November 27, 2026 16:51
@kubernetes-prow kubernetes-prow Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 27, 2026
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/bug Categorizes issue or PR as related to a bug. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cpumanager allocator splits 2-CPU claims across physical cores on multi-socket nodes

1 participant