kubewharf / katalyst-core

Katalyst aims to provide a universal solution to help improve resource utilization and optimize the overall costs in the cloud. This is the core components in Katalyst system, including multiple agents and centralized components
Apache License 2.0
394 stars 91 forks source link

feat(qrm): do evict and balance at the same time #503

Closed zzzzhhb closed 4 months ago

zzzzhhb commented 4 months ago

What type of PR is this?

Features

What this PR does / why we need it:

when there is a numa hotspot, numa balancer evicts reclaimed pod and balance the memory at the same time.

Which issue(s) this PR fixes:

Special notes for your reviewer:

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 88.23529% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 55.11%. Comparing base (fbb326a) to head (5367f5b).

Files Patch % Lines
...qosaware/resource/memory/plugin/memory_balancer.go 88.23% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #503 +/- ## ========================================== + Coverage 55.02% 55.11% +0.09% ========================================== Files 513 513 Lines 56727 56733 +6 ========================================== + Hits 31212 31270 +58 + Misses 22183 22122 -61 - Partials 3332 3341 +9 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/503/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | Coverage Δ | | |---|---|---| | [unittest](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/503/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `55.11% <88.23%> (+0.09%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.