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

refine GetSiblingNumaInfo #612

Closed luomingmeng closed 3 weeks ago

luomingmeng commented 4 weeks ago

What type of PR is this?

Enhancements

What this PR does / why we need it:

Refine GetSiblingNumaInfo logic support sibling numa distance larger than the distance to itself

Which issue(s) this PR fixes:

Special notes for your reviewer:

codecov[bot] commented 4 weeks ago

Codecov Report

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

Project coverage is 56.14%. Comparing base (abfa348) to head (f40b9c5). Report is 1 commits behind head on main.

Files Patch % Lines
cmd/katalyst-agent/app/options/global/base.go 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #612 +/- ## ========================================== - Coverage 56.23% 56.14% -0.10% ========================================== Files 535 535 Lines 49869 49878 +9 ========================================== - Hits 28044 28003 -41 - Misses 18252 18318 +66 + Partials 3573 3557 -16 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/612/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/612/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `56.14% <77.77%> (-0.10%)` | :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.