-
Notifications
You must be signed in to change notification settings - Fork 71
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
Memory Manager: Report to the log per cf / level / block type stats #660
Comments
@hilikspdb - It seems there is no dedicated cache entry role for compression dictionaries. There is:
that may be used to charge to cache the memory used to build the block, but that is not the role used when inserting the compression dictionary block into the cache. According to my checks, the role used is |
you can add this ... currently the "metadata block" (which contains the
delete range tombstone) and the dictionary are accounted as "others"
…On Wed, Oct 11, 2023 at 7:38 PM udi-speedb ***@***.***> wrote:
@hilikspdb <https://github.com/hilikspdb> - It seems there is no
dedicated cache entry role for compression dictionaries. There is:
// Compression dictionary building buffer's charge to account for
// its memory usage
kCompressionDictionaryBuildingBuffer,
that may be used to charge to cache the memory used to *build* the block,
but that is *not* the role used when inserting the compression dictionary
block into the cache. According to my checks, the role used is
CacheEntryRole::kOtherBlock
—
Reply to this email directly, view it on GitHub
<#660 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZKTXGEWJS5FN5XJM3DW573X63DR3ANCNFSM6AAAAAA4JF4KZQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@hilikspdb - Do you mean that I should maintain counters for kOtherBlock? |
It is counted toward the cache as part of the static pinning under the
others. It is always pinned even if there is not enough space..
…On Wed, 11 Oct 2023, 20:15 udi-speedb, ***@***.***> wrote:
you can add this ... currently the "metadata block" (which contains the
delete range tombstone) and the dictionary are accounted as "others"
… <#m_3023917537616854293_>
On Wed, Oct 11, 2023 at 7:38 PM udi-speedb *@*.*> wrote: @hilikspdb
<https://github.com/hilikspdb> https://github.com/hilikspdb
<https://github.com/hilikspdb> - It seems there is no dedicated cache entry
role for compression dictionaries. There is: // Compression dictionary
building buffer's charge to account for // its memory usage
kCompressionDictionaryBuildingBuffer, that may be used to charge to cache
the memory used to build the block, but that is not the role used when
inserting the compression dictionary block into the cache. According to my
checks, the role used is CacheEntryRole::kOtherBlock — Reply to this email
directly, view it on GitHub <#660 (comment)
<#660 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZKTXGEWJS5FN5XJM3DW573X63DR3ANCNFSM6AAAAAA4JF4KZQ
<https://github.com/notifications/unsubscribe-auth/AZKTXGEWJS5FN5XJM3DW573X63DR3ANCNFSM6AAAAAA4JF4KZQ>
. You are receiving this because you were mentioned.Message ID: @.*>
@hilikspdb <https://github.com/hilikspdb> - Do you mean that I should
maintain counters for kOtherBlock?
—
Reply to this email directly, view it on GitHub
<#660 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZKTXGHYWECSUN7ASPIX7JLX63H4ZANCNFSM6AAAAAA4JF4KZQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
To sum this up: Compression Dictionary blocks will remain under the kOtherBlock cache entry role and will be reported under that role. |
The information will be printed to the log according to the
stats_dump_period_sec
option.The feature currently only supports the LRU-Cache
The text was updated successfully, but these errors were encountered: