-
Notifications
You must be signed in to change notification settings - Fork 109
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
support utilization based canonical cpu headroom policy #59
support utilization based canonical cpu headroom policy #59
Conversation
270a6b4
to
e1b5e39
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #59 +/- ##
==========================================
+ Coverage 51.30% 51.54% +0.23%
==========================================
Files 318 325 +7
Lines 32418 32999 +581
==========================================
+ Hits 16632 17009 +377
- Misses 13840 13996 +156
- Partials 1946 1994 +48
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
ce90d3c
to
6b4dcd9
Compare
c3ca424
to
f17d1ac
Compare
} | ||
|
||
func (p *PolicyAdaptive) Update() error { | ||
regionInfo, ok := p.metaReader.GetRegionInfo(p.regionName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why we need to get region-info and judge with its type? should we just verify this logic when NewPolicyAdaptive is called? for dedicated_cores, can it still work since it will never update() with nil error at all?
18616a4
to
3ae3eac
Compare
3ae3eac
to
a7ef6d8
Compare
* support adaptive cpu headroom policy * fix network policy register not import path * rename sysadvisor RegisterHealthzCheckRules to RegisterAdvisorPlugin * change policy name adaptive to utilization
What type of PR is this?
Features
What this PR does / why we need it:
To increase the utilization of reclaimed_cores pool, the cpu headroom report to cnr can be oversold to schedule more reclaimed_cores workload to the machine
Which issue(s) this PR fixes:
Special notes for your reviewer: