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

koord-yarn-operator: add cache filter in Manager to reduce memory occupied by the koord-yarn-operator. #90

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tan90github
Copy link

Ⅰ. Describe what this PR does

When we used yarn-operator internally for yarn mixing, we found that the yarn-operator component took up a lot of memory. Through pprof inspection, we found that ListAndWatch took up a lot of memory. Finally, we found that the reason was the field index. Therefore, we modified the default Cache so that the field index only focuses on the NMpod of interest.
image

before:
image

after:
image

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

V. Checklist

  • I have written necessary docs and comments
  • I have added necessary unit tests and integration tests
  • All checks passed in make test

wangyang60 added 2 commits October 28, 2024 16:56
@tan90github
Copy link
Author

PTAL @zwzhang0107

@tan90github
Copy link
Author

cc @j4ckstraw @yangfeiyu20102011

Copy link

stale bot commented Jan 26, 2025

This issue has been automatically marked as stale because it has not had recent activity.
This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, the issue is closed
    You can:
  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Close this issue or PR with /close
    Thank you for your contributions.

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

Successfully merging this pull request may close these issues.

1 participant