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
435 stars 107 forks source link

feat(sysadvisor): support reclaimed-core numa binding #708

Open funnydreamwinz opened 1 month ago

funnydreamwinz commented 1 month ago

Change-Id: I1058c2a6a8326e8a478e3391afe807492b2290f1

What type of PR is this?

Features

What this PR does / why we need it:

reclaimed-cores support NUMA binding

Which issue(s) this PR fixes:

Special notes for your reviewer:

CLAassistant commented 1 month ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 43.58578% with 365 lines in your changes missing coverage. Please review.

Project coverage is 55.67%. Comparing base (c364e14) to head (c788fee). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...isor/plugin/qosaware/reporter/headroom_reporter.go 14.15% 89 Missing and 2 partials :warning:
...qrm-plugins/cpu/dynamicpolicy/cpuadvisor/cpu.pb.go 3.94% 70 Missing and 3 partials :warning:
...ugin/qosaware/reporter/manager/resource/generic.go 40.00% 38 Missing and 4 partials :warning:
...pu/assembler/headroomassembler/assembler_common.go 58.33% 35 Missing and 5 partials :warning:
...nt/sysadvisor/plugin/qosaware/server/cpu_server.go 52.05% 29 Missing and 6 partials :warning:
...sembler/headroomassembler/assembler_common_util.go 34.21% 21 Missing and 4 partials :warning:
...resource/memory/headroompolicy/policy_canonical.go 70.21% 10 Missing and 4 partials :warning:
...sysadvisor/plugin/qosaware/server/memory_server.go 60.00% 10 Missing and 4 partials :warning:
.../agent/sysadvisor/plugin/qosaware/server/server.go 55.55% 6 Missing and 2 partials :warning:
pkg/agent/sysadvisor/plugin/qosaware/qos_aware.go 45.45% 4 Missing and 2 partials :warning:
... and 6 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #708 +/- ## ========================================== - Coverage 55.91% 55.67% -0.25% ========================================== Files 575 575 Lines 66980 67464 +484 ========================================== + Hits 37454 37561 +107 - Misses 25548 25894 +346 - Partials 3978 4009 +31 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/708/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/708/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `55.67% <43.58%> (-0.25%)` | :arrow_down: | 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.