[
https://issues.apache.org/jira/browse/HBASE-18442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ramkrishna.s.vasudevan updated HBASE-18442:
-------------------------------------------
Attachment: HBASE-18442_1.patch
Patch for trunk. Creates the BBs parallely. I tried moving the adding to
reclaimedChunks in the main thread and having it as in the current way of
patch. Did not observe significant difference. If it needs to be moved to the
main thread after waiting for the Future to get completed I can make suitable
changes to the patch.
> Speed up Memstore chunk pool ByteBuffer allocations
> ---------------------------------------------------
>
> Key: HBASE-18442
> URL: https://issues.apache.org/jira/browse/HBASE-18442
> Project: HBase
> Issue Type: Improvement
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 2.0.0
>
> Attachments: HBASE-18442_1.patch
>
>
> Like in HBASE-17738 we can speed up the allocation of memstore chunk pool's
> ByteBuffers. {code}
> 2017-07-24 17:51:09,726 INFO [regionserver/stobdtserver6/10.66.254.41:16020]
> regionserver.ChunkCreator: Allocating MemStoreChunkPool with chunk size 2 MB,
> max count 12288, initial count 12288
> 2017-07-24 17:51:19,642 INFO [regionserver/stobdtserver6/10.66.254.41:16020]
> regionserver.HRegionServer: Serving as stobdtserver6,16020,1500898858958,
> RpcServer on stobdtserver6/10.66.254.41:16020, sessionid=0x15d748a9ccc0002
> {code}
> Allocating 12288 buffers of 2MB size takes around 10 secs.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)