[
https://issues.apache.org/jira/browse/HBASE-18442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16135442#comment-16135442
]
Ted Yu commented on HBASE-18442:
--------------------------------
{code}
try {
81 this.pool = initializePool(globalMemStoreSize,
poolSizePercentage, initialCountPercentage);
82 } catch (Exception e) {
83 throw new RuntimeException(e);
84 }
{code}
Is the above necessary (catching Exception) ?
Can you outline performance improvement stats ?
> 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, HBASE-18442_2.patch,
> HBASE-18442_3.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)