-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Comments
flag names : rss_oom_deny_ratio oom_deny_ratio |
fixes dragonflydb#4011 Signed-off-by: Stepan Bagritsevich <[email protected]>
fixes dragonflydb#4011 Signed-off-by: Stepan Bagritsevich <[email protected]>
fixes dragonflydb#4011 Signed-off-by: Stepan Bagritsevich <[email protected]>
Another issue (#4139) was created for this task |
fixes dragonflydb#4011 Signed-off-by: Stepan Bagritsevich <[email protected]>
Current problem: mimalloc does not release RSS memory back to the OS. Alternatively, the OS might not be reclaiming this freed memory due to a lack of memory pressure. This is a common issue in mimalloc, and I have tried various options, but only one of them helped. The more info is provided in this PR: #4772 |
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
The text was updated successfully, but these errors were encountered: