You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/03/24 04:18:36 UTC

[GitHub] [pulsar] tjiuming edited a comment on issue #14705: what is the mean skipListArenaChunkSize,skipListArenaMaxAllocSize,skipListSizeLimit

tjiuming edited a comment on issue #14705:
URL: https://github.com/apache/pulsar/issues/14705#issuecomment-1077048588


   In my understanding:
   
   skipListSizeLimit: It means how many entries can be added into a `EntryMemTable`. Entries will be cached in heap memory first, then async flush into disk.
   
   skipListArenaChunkSize: It means the memory size of a `Chunk`(a heap memory pool, to avoid frequently memory allocations and too many memory fragments). When bookie received an entry, the entry exists in direct memory, so that it needs to copy into heap memory(`Chunk`).
   
   skipListArenaMaxAllocSize: It means the threshold that if an entry can be copied into `Chunk`. If the entry's size is greater than `skipListArenaMaxAllocSize`, bookie will be allocated heap memory by invoke `new byte[size]` directly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org