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

Vladimir Rodionov commented on HBASE-15544:
-------------------------------------------

Experimental patch. Only for compaction threads. The optimization should work 
for any scanner with caching disabled, but make it easy usable for general case 
is not that easy (hate additional config options)
This shows some 20% reduction in memory allocation speed during compactions. 
Combined with HBASE-15509 it will give 40-45% reduction.

> HFileReaderImpl.readBlock allocates memory for HFileBlock on every call
> -----------------------------------------------------------------------
>
>                 Key: HBASE-15544
>                 URL: https://issues.apache.org/jira/browse/HBASE-15544
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Compaction
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15544-v1.patch
>
>
> This accounts for 25% of memory allocation during compaction when compression 
> is enabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to