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 03:34:56 UTC

[GitHub] [pulsar] dao-jun removed a comment on issue #14705: what is the mean skipListArenaChunkSize,skipListArenaMaxAllocSize,skipListSizeLimit

dao-jun removed a comment on issue #14705:
URL: https://github.com/apache/pulsar/issues/14705#issuecomment-1077033607


   In my understanding:
   
   skipListSizeLimit: It means how many entries can be added in a `EntryMemTable`
   
   skipListArenaChunkSize: It means the memory size of a `Chunk`(a heap memory pool, to avoid frequently memory allocation and a lot of 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 of an entry can be copy into `Chunk`. If an 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