[
https://issues.apache.org/jira/browse/HBASE-23296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974810#comment-16974810
]
Anoop Sam John commented on HBASE-23296:
----------------------------------------
So u mean like a Bucket Cache over heap memory right? BC was there over on
heap, off heap and file initially. We removed the on heap version because we
have better perf with off heap BC than the on heap.. On heap means we need
more Xmx size and old gen size. Any specific reason why u can not use the off
heap Bucket Cache instead of on heap LRU cache?
> Support Bucket based L1 Cache
> -----------------------------
>
> Key: HBASE-23296
> URL: https://issues.apache.org/jira/browse/HBASE-23296
> Project: HBase
> Issue Type: Improvement
> Components: BlockCache
> Reporter: 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)