[ 
https://issues.apache.org/jira/browse/HBASE-22531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zheng Hu updated HBASE-22531:
-----------------------------
    Description: 
I'm having a benchmark with block cache disabled for HBASE-21879 branch.   Just 
caurious about why still so many heap allocation in the heap allocation flame 
graph [async-prof-pid-13311-alloc-4.svg | 
https://issues.apache.org/jira/secure/attachment/12970648/async-prof-pid-13311-alloc-4.svg],
   actually, I've set the following config, which means should all allocation 
will be offheap, while it's not: 

{code}
# Disable the block cache
hfile.block.cache.size=0
hbase.ipc.server.reservoir.minimal.allocating.size=0   # Let all allocation 
from pooled allocator. 
{code}

  was:I'm having a benchmark with block cache disabled for HBASE-21879 branch.  
 Just caurious about why still so many heap allocation in the heap allocation 
flame graph [ | ]


> The HFileReaderImpl#shouldUseHeap return the incorrect true when disabled 
> BlockCache 
> -------------------------------------------------------------------------------------
>
>                 Key: HBASE-22531
>                 URL: https://issues.apache.org/jira/browse/HBASE-22531
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Zheng Hu
>            Assignee: Zheng Hu
>            Priority: Major
>         Attachments: async-prof-pid-13311-alloc-4.svg
>
>
> I'm having a benchmark with block cache disabled for HBASE-21879 branch.   
> Just caurious about why still so many heap allocation in the heap allocation 
> flame graph [async-prof-pid-13311-alloc-4.svg | 
> https://issues.apache.org/jira/secure/attachment/12970648/async-prof-pid-13311-alloc-4.svg],
>    actually, I've set the following config, which means should all allocation 
> will be offheap, while it's not: 
> {code}
> # Disable the block cache
> hfile.block.cache.size=0
> hbase.ipc.server.reservoir.minimal.allocating.size=0   # Let all allocation 
> from pooled allocator. 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to