-
Notifications
You must be signed in to change notification settings - Fork 339
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
add memory qos strategy #101
add memory qos strategy #101
Conversation
abbd80d
to
c099fbc
Compare
c099fbc
to
bcfbbab
Compare
bcfbbab
to
29ff24f
Compare
Codecov Report
@@ Coverage Diff @@
## main #101 +/- ##
==========================================
+ Coverage 44.19% 47.32% +3.13%
==========================================
Files 73 75 +2
Lines 5965 6658 +693
==========================================
+ Hits 2636 3151 +515
- Misses 3036 3192 +156
- Partials 293 315 +22
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
29ff24f
to
cbae9d2
Compare
cbae9d2
to
e496f6d
Compare
Signed-off-by: saintube <saintube@foxmail.com>
e496f6d
to
24fb108
Compare
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.
/lgtm
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hormes 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 |
Signed-off-by: saintube saintube@foxmail.com
Ⅰ. Describe what this PR does
add Memory QoS strategy to enhance resource assurance for k8s pods.
MinLimtPercent
: allow pods to lock some memory cache from global reclaim.ThrottlingPercent
: allow pods to throttle memory allocation before reaching the memory limit.WmarkRatio
: allow pods to get memory reclaimed asynchronously before direct reclaim.WmarkMinAdj
: allow a node to prioritize global reclaim and make less disruption for high-priority pods.related work: kubernetes/enhancements#2571
Ⅱ. Does this pull request fix one issue?
fixes #55
Ⅲ. Describe how to verify it
CgroupReconcile
in Koordlet.e.g.
Ⅳ. Special notes for reviews
None