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

feat(server): defrag memory counter for total memory access #537

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

boazsade
Copy link
Contributor

@boazsade boazsade commented Dec 6, 2022

Signed-off-by: Boaz Sade boaz@dragonflydb.io

Another defrag counter - this one count the number of times that we are attempting the defrag operation.
The flag "defrag_attempt_total" will count the number of times that we access the memory to try and check if this memory location is underutilised.
The new flag "defrag_task_invocation_total" will count the number of time that we call the function that do the memory scan (i,e we detect possible memory underutilised).

Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
@romange romange merged commit 5aabc96 into dragonflydb:main Dec 6, 2022
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.

2 participants