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
388 stars 91 forks source link

feat(qrm): use async worker to set extra cg mem limit to avoid thread stucking #563

Closed csfldf closed 2 months ago

csfldf commented 2 months ago

feat(qrm): use async worker to set extra cg mem limit to avoid thread stucking

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 56.01%. Comparing base (7a1e3f1) to head (ff01a30). Report is 1 commits behind head on main.

Files Patch % Lines
pkg/util/cgroup/manager/cgroup.go 68.75% 8 Missing and 2 partials :warning:
...ins/memory/dynamicpolicy/policy_advisor_handler.go 75.00% 2 Missing :warning:
pkg/util/asyncworker/async_workers.go 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #563 +/- ## ========================================== + Coverage 55.94% 56.01% +0.07% ========================================== Files 532 532 Lines 49593 49624 +31 ========================================== + Hits 27744 27797 +53 + Misses 18316 18279 -37 - Partials 3533 3548 +15 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/563/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/563/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `56.01% <69.56%> (+0.07%)` | :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.