You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The equation in cache_metadata_size assumes the mappings and hints are stored in btrees rather than arrays: The BYTES_PER_BLOCK denotes the 16-byte key & value for each cache block, and the HINT_OVERHEAD_PER_BLOCK stands for the 8-byte key for each hint entry. It's an outdated design and will be revised someday.
I nearly read cache like tools and read the cache_metadata_size.cc with some questions.
I want to ask how to estimate the
BYTES_PER_BLOCK
&HINT_OVERHEAD_PER_BLOCK
?I thought
BYTES_PER_BLOCK
be 12 ? because the following struct in mapping_array.hAnd what's the
HINT_OVERHEAD_PER_BLOCK
meaning?thanks.
The text was updated successfully, but these errors were encountered: