Skip to content

Comments

feat(qrm, sysadvisor): Periodically (every 300s) clean up excessive (>2000) dying mem cgroups#1069

Open
Zera-Algorithm wants to merge 6 commits intokubewharf:mainfrom
Zera-Algorithm:main
Open

feat(qrm, sysadvisor): Periodically (every 300s) clean up excessive (>2000) dying mem cgroups#1069
Zera-Algorithm wants to merge 6 commits intokubewharf:mainfrom
Zera-Algorithm:main

Conversation

@Zera-Algorithm
Copy link

What type of PR is this?

feat(qrm, sysadvisor): Periodically (every 300s) clean up excessive (>2000) dying mem cgroups.

BREAKING CHANGES:

  1. Add a scheduled task in SysAdvisor to trigger dying memcg cleanup every 300s.
  2. Add a new task in the QRM plugin to trigger dying memcg cleanup via memory reclamation using memory.reclaim.

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer:

…>2000) dying mem cgroups.

BREAKING CHANGES:
1. Add a scheduled task in SysAdvisor to trigger dying memcg cleanup every 300s.
2. Add a new task in the QRM plugin to trigger dying memcg cleanup via memory reclamation using memory.reclaim.
@codecov
Copy link

codecov bot commented Feb 2, 2026

Codecov Report

❌ Patch coverage is 8.26446% with 111 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.31%. Comparing base (47e5c4f) to head (68e3fb6).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
pkg/util/cgroup/manager/cgroup.go 0.00% 60 Missing ⚠️
...ins/memory/dynamicpolicy/policy_advisor_handler.go 0.00% 32 Missing ⚠️
...saware/resource/memory/plugin/memory_offloading.go 29.62% 19 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1069      +/-   ##
==========================================
- Coverage   60.41%   60.31%   -0.10%     
==========================================
  Files         700      700              
  Lines       66674    66796     +122     
==========================================
+ Hits        40278    40286       +8     
- Misses      21832    21948     +116     
+ Partials     4564     4562       -2     
Flag Coverage Δ
unittest 60.31% <8.26%> (-0.10%) ⬇️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant