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

Guanghao Zhang commented on HBASE-23296:
----------------------------------------

{quote}Do you mean BucketCache with heap ioEngine? seems this is not supported 
now. If use LruBlockCache there may be some gc problems.
{quote}
I mean LruBlockCache. For combined cache, now we only support two tired cache, 
let's call it L1 and L2 cache. Now L1 cache must be on heap. And L2 cache may 
be offheap, file or others. Introduce a offheap L1 cache is good idea.

> Add CompositeBucketCache to support tiered BC
> ---------------------------------------------
>
>                 Key: HBASE-23296
>                 URL: https://issues.apache.org/jira/browse/HBASE-23296
>             Project: HBase
>          Issue Type: New Feature
>          Components: BlockCache
>            Reporter: chenxu
>            Assignee: chenxu
>            Priority: Major
>
> LruBlockCache is not suitable in the following scenarios:
> (1) cache size too large (will take too much heap memory, and 
> evictBlocksByHfileName is not so efficient, as HBASE-23277 mentioned)
> (2) block evicted frequently, especially cacheOnWrite & prefetchOnOpen are 
> enabled.
> Since block‘s data is reclaimed by GC, this may affect GC performance.
> So how about enabling a Bucket based L1 Cache.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to