Skip to content
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

enhance memory plugin with advisor #136

Merged
merged 7 commits into from
Jul 18, 2023

Conversation

csfldf
Copy link
Collaborator

@csfldf csfldf commented Jul 10, 2023

enhance memory plugin with advisor

@csfldf csfldf force-pushed the dev/mem_plugin_with_advisor branch from 6b5e1aa to 0bae8a3 Compare July 10, 2023 08:56
@csfldf csfldf self-assigned this Jul 10, 2023
@csfldf csfldf force-pushed the dev/mem_plugin_with_advisor branch 4 times, most recently from 9362003 to 1dd6e40 Compare July 11, 2023 13:31
@csfldf csfldf added the workflow/need-review review: test succeeded, need to review label Jul 11, 2023
@codecov
Copy link

codecov bot commented Jul 11, 2023

Codecov Report

Patch coverage: 45.59% and project coverage change: +0.01 🎉

Comparison is base (20bae0a) 50.25% compared to head (ad27894) 50.27%.

❗ Current head ad27894 differs from pull request most recent head 1762111. Consider uploading reports for the commit 1762111 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #136      +/-   ##
==========================================
+ Coverage   50.25%   50.27%   +0.01%     
==========================================
  Files         393      403      +10     
  Lines       37767    38502     +735     
==========================================
+ Hits        18978    19355     +377     
- Misses      16642    16978     +336     
- Partials     2147     2169      +22     
Flag Coverage Δ
unittest 50.27% <45.59%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...md/katalyst-agent/app/options/global/qrmadvisor.go 64.70% <ø> (ø)
pkg/agent/qrm-plugins/commonstate/utils.go 0.00% <0.00%> (ø)
...-plugins/cpu/dynamicpolicy/policy_async_handler.go 15.82% <0.00%> (ø)
pkg/config/agent/global/qrmadvisor.go 100.00% <ø> (ø)
pkg/config/agent/qrm/cpu_plugin.go 100.00% <ø> (ø)
pkg/config/agent/qrm/memory_plugin.go 100.00% <ø> (ø)
pkg/util/cgroup/manager/manager.go 62.50% <ø> (ø)
pkg/util/cgroup/manager/v1/fs_linux.go 34.59% <0.00%> (+0.10%) ⬆️
pkg/util/cgroup/manager/v2/fs_linux.go 0.87% <0.00%> (-0.04%) ⬇️
...g/agent/qrm-plugins/memory/dynamicpolicy/policy.go 39.95% <6.12%> (-5.11%) ⬇️
... and 13 more

... and 36 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@csfldf csfldf force-pushed the dev/mem_plugin_with_advisor branch 12 times, most recently from 48990a6 to cb13f99 Compare July 18, 2023 11:06
@csfldf csfldf force-pushed the dev/mem_plugin_with_advisor branch from cb13f99 to 1762111 Compare July 18, 2023 11:14
@waynepeking348 waynepeking348 added the workflow/merge-ready merge-ready: code is ready and can be merged label Jul 18, 2023
@waynepeking348 waynepeking348 merged commit de23e44 into kubewharf:main Jul 18, 2023
luomingmeng pushed a commit to luomingmeng/katalyst-core that referenced this pull request Oct 11, 2024
* fix(qrm): fix cpu allocation handlers log

* feat(qrm): enhance memory plugin with advisor

* fix(qrm): use NUMA balance stategy for blocks with fake NUMA id

* test(qrm): add unit-tests for memory plugin with advisor

* fix(qrm): fix cpu/memory state struct clone semantic

* refine(qrm): refine according to comments for memory plugin with advisor

* fix(test): fix write/read race for testing

---------

Co-authored-by: shaowei.wayne <shaowei.wayne@bytedance.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workflow/merge-ready merge-ready: code is ready and can be merged workflow/need-review review: test succeeded, need to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants