-
Notifications
You must be signed in to change notification settings - Fork 981
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): active memory fragmentation - high level flow #509
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about mimalloc option that we need to enforce decommit immediately?
b6a788e
to
59597f3
Compare
59597f3
to
4eb01aa
Compare
please mark it ready for review when you finish applying changes so that I won't review wip. |
6ec1ca1
to
e901cef
Compare
7c5ea89
to
85118d5
Compare
85118d5
to
c493984
Compare
c024b35
to
1401d09
Compare
1401d09
to
bc38736
Compare
3eb6035
to
b1157ff
Compare
9b96e21
to
786cb25
Compare
03062ca
to
14a6ba8
Compare
src/core/compact_object_test.cc
Outdated
return ptrs; | ||
} | ||
|
||
bool FindUnderutilizedMemory(const std::vector<void*>& ptrs, float ratio) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FindUnderutilizedMemory is a wrong name.
HasUnderutilizedMemory ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will change this name
src/core/compact_object_test.cc
Outdated
return it != ptrs.end(); | ||
} | ||
|
||
void DecimateMemory(std::vector<void*>* ptrs, size_t steps) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i am not sure I understand the meaning of Decimate here. What you are trying to say?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will change the name of the function to something with better naming
14a6ba8
to
f989a96
Compare
Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
f989a96
to
9fefb10
Compare
Signed-off-by: Boaz Sade boaz@dragonflydb.io
This PR is a merge-able version for the high level flow of active deframation.
This contain:
This do not contain: