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

Li Pi commented on HBASE-4027:
------------------------------

|At one point does stuff go into the offheap cache?

Err, when we catch a block, it gets thrown into both on-heap and off-heap.

|How would an operator monitor offheap if no stats. What should they do? Its 
kinda tough because the cache interface only allows return of one 'size'

Thats an unfortunate problem, seeing as the off heap cache is technically made 
of many differently sized caches. I'll have them log info the same was as the 
on heap cache does every once in a while.



> Enable direct byte buffers LruBlockCache
> ----------------------------------------
>
>                 Key: HBASE-4027
>                 URL: https://issues.apache.org/jira/browse/HBASE-4027
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jason Rutherglen
>            Assignee: Li Pi
>            Priority: Minor
>         Attachments: slabcachepatch.diff, slabcachepatchv2.diff, 
> slabcachepatchv3.1.diff, slabcachepatchv3.2.diff, slabcachepatchv3.diff
>
>
> Java offers the creation of direct byte buffers which are allocated outside 
> of the heap.
> They need to be manually free'd, which can be accomplished using an 
> documented {{clean}} method.
> The feature will be optional.  After implementing, we can benchmark for 
> differences in speed and garbage collection observances.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to