[ 
https://issues.apache.org/jira/browse/HBASE-18442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16136396#comment-16136396
 ] 

ramkrishna.s.vasudevan commented on HBASE-18442:
------------------------------------------------

Based on the sizes I got around 50% improvement.
For offheap memstore with ~21k ByteBuffers with patch it took 10 secs and 
without patch it was taking ~21secs.

> 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)

Reply via email to