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

koordlet: fix RDT cache id issue #1789

Merged
merged 3 commits into from Jan 11, 2024

Conversation

bowen-intel
Copy link
Contributor

@bowen-intel bowen-intel commented Dec 21, 2023

Ⅰ. Describe what this PR does

ref: #1777
Temporarily fix the issue of non-contiguous cache IDs by reading the resctrl root schemata. Since it has checked resctrl mount condition, the schemata can be considered reliable. Fix some function name issue.

Ⅱ. Does this pull request fix one issue?

fixes #1777

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

V. Checklist

  • I have written necessary docs and comments
  • I have added necessary unit tests and integration tests
  • All checks passed in make test

@bowen-intel bowen-intel changed the title fix: rdt cacheid issue fix: rdt cacheid issue (WIP) Dec 21, 2023
@zwzhang0107
Copy link
Contributor

nice!

Signed-off-by: bowen-intel <bowen.song@intel.com>
Copy link

codecov bot commented Dec 22, 2023

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (c62d869) 67.00% compared to head (21bf5ea) 67.02%.

Files Patch % Lines
pkg/koordlet/util/system/resctrl.go 77.77% 10 Missing ⚠️
pkg/util/utils.go 80.00% 2 Missing and 2 partials ⚠️
...et/qosmanager/plugins/resctrl/resctrl_reconcile.go 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1789      +/-   ##
==========================================
+ Coverage   67.00%   67.02%   +0.02%     
==========================================
  Files         407      407              
  Lines       45505    45551      +46     
==========================================
+ Hits        30489    30530      +41     
- Misses      12789    12793       +4     
- Partials     2227     2228       +1     
Flag Coverage Δ
unittests 67.02% <81.70%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bowen-intel bowen-intel changed the title fix: rdt cacheid issue (WIP) fix: rdt cacheid issue Dec 22, 2023
@eahydra eahydra changed the title fix: rdt cacheid issue koordlet: fix rdt cacheid issue Dec 22, 2023
@saintube saintube changed the title koordlet: fix rdt cacheid issue koordlet: fix RDT cache id issue Dec 26, 2023
@saintube
Copy link
Member

/lgtm

@koordinator-bot koordinator-bot bot removed the lgtm label Jan 2, 2024
@bowen-intel bowen-intel changed the title koordlet: fix RDT cache id issue koordlet: fix RDT cache id issue(WIP) Jan 2, 2024
@bowen-intel bowen-intel changed the title koordlet: fix RDT cache id issue(WIP) koordlet: fix RDT cache id issue Jan 2, 2024
Signed-off-by: bowen-intel <bowen.song@intel.com>
@Rouzip
Copy link

Rouzip commented Jan 5, 2024

PTAL, thanks 😀 @zwzhang0107

@zwzhang0107
Copy link
Contributor

/lgtm
/approve

Signed-off-by: zwzhang <zzw261520@alibaba-inc.com>
@koordinator-bot koordinator-bot bot removed the lgtm label Jan 10, 2024
@zwzhang0107
Copy link
Contributor

/assign @FillZpp

@zwzhang0107
Copy link
Contributor

/lgtm
/approve

@koordinator-bot koordinator-bot bot added the lgtm label Jan 10, 2024
Copy link
Member

@jasonliu747 jasonliu747 left a comment

Choose a reason for hiding this comment

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

/lgtm

@koordinator-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hormes, jasonliu747, zwzhang0107

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

@koordinator-bot koordinator-bot bot merged commit 2be377b into koordinator-sh:main Jan 11, 2024
20 checks passed
bowen-intel added a commit to kangclzjc/koordinator that referenced this pull request Jan 16, 2024
Signed-off-by: bowen-intel <bowen.song@intel.com>
Signed-off-by: zwzhang <zzw261520@alibaba-inc.com>
Co-authored-by: zwzhang <zzw261520@alibaba-inc.com>
ls-2018 pushed a commit to ls-2018/koordinator that referenced this pull request Mar 25, 2024
Signed-off-by: bowen-intel <bowen.song@intel.com>
Signed-off-by: zwzhang <zzw261520@alibaba-inc.com>
Co-authored-by: zwzhang <zzw261520@alibaba-inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Failed to apply l3 cat and mba policy due to deficiencies in CPU cache info collection.
7 participants