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

refine pressure_supression eviction and getUtilBasedHeadroom #663

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

cheney-lin
Copy link
Member

What type of PR is this?

Enhancements

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer:

@cheney-lin cheney-lin added enhancement New feature or request workflow/need-review review: test succeeded, need to review labels Jul 29, 2024
Copy link

codecov bot commented Jul 29, 2024

Codecov Report

Attention: Patch coverage is 71.11111% with 13 lines in your changes missing coverage. Please review.

Project coverage is 56.78%. Comparing base (df45505) to head (3f4179f).

Files Patch % Lines
...olicy/cpueviction/strategy/pressure_suppression.go 64.28% 2 Missing and 3 partials ⚠️
...sembler/headroomassembler/assembler_common_util.go 60.00% 2 Missing and 2 partials ⚠️
...pu/assembler/headroomassembler/assembler_common.go 71.42% 1 Missing and 1 partial ⚠️
pkg/metaserver/agent/metric/helper/reclaim.go 85.71% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #663      +/-   ##
==========================================
- Coverage   56.84%   56.78%   -0.07%     
==========================================
  Files         553      554       +1     
  Lines       53165    53185      +20     
==========================================
- Hits        30224    30203      -21     
- Misses      19138    19191      +53     
+ Partials     3803     3791      -12     
Flag Coverage Δ
unittest 56.78% <71.11%> (-0.07%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cheney-lin cheney-lin self-assigned this Jul 29, 2024
@cheney-lin cheney-lin force-pushed the dev/refine_util_based branch 2 times, most recently from c30a552 to 5204558 Compare July 30, 2024 02:30
when allow_shared_cores_overlap_reclaimed = true, the workloads of reclaim pool
include shared_cores and reclaimed_cores, so resource supply for reclaimed_cores
should consider shared_cores.

Signed-off-by: linzhecheng <linzhecheng@bytedance.com>
when allow_shared_cores_overlap_reclaimed = true, the workloads of reclaim pool
include shared_cores and reclaimed_cores, so actual resource supply for reclaimed_cores
should be idle of pool plus reclaim usage, so GetEvictPods of pressure_supression is
adapated here.

Signed-off-by: linzhecheng <linzhecheng@bytedance.com>
@nightmeng nightmeng merged commit 7d9189e into kubewharf:main Jul 30, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request workflow/need-review review: test succeeded, need to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants