Skip to content

feat: qrm system and topology enhancements#7

Open
luomingmeng wants to merge 2 commits into
refactor/qrm-allocation-hooksfrom
feat/qrm-system-and-topology-enhancements
Open

feat: qrm system and topology enhancements#7
luomingmeng wants to merge 2 commits into
refactor/qrm-allocation-hooksfrom
feat/qrm-system-and-topology-enhancements

Conversation

@luomingmeng

Copy link
Copy Markdown
Owner

What type of PR is this?

Features/Refactor

What this PR does / why we need it:

  • Refactors memory qrm plugin: splits advisor handler into Linux and non-Linux versions to support cross-compilation
  • Adds topology assignments support to CPU allocation response, including plumbing through resource allocation state and surfacing on QRM plugin API

Which issue(s) this PR fixes:

Special notes for your reviewer:

@luomingmeng luomingmeng changed the title Feat/qrm system and topology enhancements Feat: qrm system and topology enhancements May 14, 2026
@luomingmeng luomingmeng changed the title Feat: qrm system and topology enhancements feat: qrm system and topology enhancements May 14, 2026
@luomingmeng luomingmeng force-pushed the refactor/qrm-allocation-hooks branch from 5518efd to f8b2d29 Compare May 16, 2026 03:30
@luomingmeng luomingmeng force-pushed the feat/qrm-system-and-topology-enhancements branch from 1cef9e1 to e90b7b4 Compare May 16, 2026 03:30
@luomingmeng luomingmeng force-pushed the refactor/qrm-allocation-hooks branch from f8b2d29 to 5b1efc7 Compare May 17, 2026 09:16
@luomingmeng luomingmeng force-pushed the feat/qrm-system-and-topology-enhancements branch 2 times, most recently from 472a193 to 2b16f2e Compare May 20, 2026 07:47
@luomingmeng luomingmeng force-pushed the refactor/qrm-allocation-hooks branch from 5b1efc7 to bb15966 Compare May 27, 2026 09:58
@luomingmeng luomingmeng force-pushed the feat/qrm-system-and-topology-enhancements branch from 2b16f2e to 838e2bb Compare May 27, 2026 09:59
IsScalarResource: true,
AllocatedQuantity: float64(allocationInfo.AllocationResult.Size()),
AllocationResult: allocationInfo.AllocationResult.String(),
TopologyAssignments: topologyAssignments,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What is the use of TopologyAssignments?

@luomingmeng luomingmeng force-pushed the refactor/qrm-allocation-hooks branch from bb15966 to ee8d9f9 Compare May 29, 2026 14:49
@luomingmeng luomingmeng force-pushed the feat/qrm-system-and-topology-enhancements branch from 838e2bb to 6efd5de Compare May 29, 2026 14:51
@luomingmeng luomingmeng force-pushed the refactor/qrm-allocation-hooks branch 2 times, most recently from 86fe96c to 8b4290e Compare June 3, 2026 06:30
@luomingmeng luomingmeng force-pushed the feat/qrm-system-and-topology-enhancements branch from 6efd5de to cbf6efc Compare June 3, 2026 06:34
@luomingmeng luomingmeng force-pushed the refactor/qrm-allocation-hooks branch from 8b4290e to 071ab58 Compare June 3, 2026 06:46
…-linux versions

Move the cgroup-v1/v2 dependent handleAdvisorMemoryHot implementation
to platform-specific files to support cross-compilation on non-linux systems
- Plumb topology assignments through resource allocation state.
- Surface topology assignments on the CPU QRM plugin allocation response.
@luomingmeng luomingmeng force-pushed the feat/qrm-system-and-topology-enhancements branch from cbf6efc to d305a35 Compare June 3, 2026 06:55
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.

3 participants