[
https://issues.apache.org/jira/browse/HBASE-23296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974839#comment-16974839
]
chenxu commented on HBASE-23296:
--------------------------------
bq. Any specific reason why u can not use the off heap Bucket Cache instead of
on heap LRU cache?
In our own env, each machine have 12 HDDs and one SSD, about 60TB of storage,
we wan't cache all the index & bloom data in L1Cache(about 100G), and HOT data
block in L2Cache(SSD), so an Bucket based L1Cache is wanted, it can be offheap.
> 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)