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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to