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

Tune eviction threshold in cache mode #4011

Closed
adiholden opened this issue Oct 29, 2024 · 2 comments
Closed

Tune eviction threshold in cache mode #4011

adiholden opened this issue Oct 29, 2024 · 2 comments
Assignees
Labels
bug Something isn't working Next Up task that is ready to be worked on and should be added to working queue

Comments

@adiholden
Copy link
Collaborator

Today eviction starts on 90% memory usage in cache mode
If we set deny_oom_flag to lower than 90% then we reject writes and no eviction is taking place.
We need to set the threshold so it will take into account this flag

@adiholden adiholden added the bug Something isn't working label Oct 29, 2024
@adiholden adiholden added the Next Up task that is ready to be worked on and should be added to working queue label Oct 29, 2024
@adiholden
Copy link
Collaborator Author

adiholden commented Nov 5, 2024

flag names : rss_oom_deny_ratio oom_deny_ratio
pytest for reference how to check eviction : test_heartbeat_eviction_propagation

BagritsevichStepan added a commit to BagritsevichStepan/dragonfly that referenced this issue Nov 18, 2024
BagritsevichStepan added a commit to BagritsevichStepan/dragonfly that referenced this issue Nov 18, 2024
BagritsevichStepan added a commit to BagritsevichStepan/dragonfly that referenced this issue Nov 18, 2024
@BagritsevichStepan
Copy link
Contributor

BagritsevichStepan commented Nov 21, 2024

Another issue (#4139) was created for this task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Next Up task that is ready to be worked on and should be added to working queue
Projects
None yet
Development

No branches or pull requests

2 participants