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
Signed-off-by: wangyang60 <wangy9834@163.com>
…ord-yarn-operator.

Signed-off-by: wangyang60 <wangy9834@163.com>
@tan90github
Copy link
Author

PTAL @zwzhang0107

@tan90github
Copy link
Author

cc @j4ckstraw @yangfeiyu20102011

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