-
Notifications
You must be signed in to change notification settings - Fork 104
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
feat(qrm): support memory enhancement numa_exclusive #19
Conversation
14015a4
to
767ba8c
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #19 +/- ##
==========================================
+ Coverage 51.30% 51.48% +0.18%
==========================================
Files 318 331 +13
Lines 32418 33501 +1083
==========================================
+ Hits 16632 17249 +617
- Misses 13840 14218 +378
- Partials 1946 2034 +88
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
09c2e22
to
77d1be9
Compare
// we use options to control those different values | ||
// the key here is specific enhancement key such as "numa_binding", "numa_exclusive" | ||
// the value is the default value of the key | ||
EnhancementDefaultValues map[string]string |
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.
the qos adaption logic has already becomes a little complicated, maybe we should add a new issue to add more documentation with examples to explain the behaviors; I will add it here #27, will submit a new pr to resolve this in the future
@@ -150,13 +152,28 @@ func (p *DynamicPolicy) calculateHints(reqInt int, machineState state.NUMANodeMa | |||
return nil, fmt.Errorf("GetNUMANodesCountToFitCPUReq failed with error: %v", err) | |||
} | |||
|
|||
// because it's hard to control memory allocation accurately, |
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.
need to refine, but will not block this pr from merge, same as #30
please have a look at the comments about qos and function placement, for the other two comments, will take time to refine qrm implementation and qos documentations since they become a little difficult to maintain |
732e23e
to
1d8b92c
Compare
What type of PR is this?
Enhancements
What this PR does / why we need it:
Which issue(s) this PR fixes:
resolve #18