You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2009/01/18 00:24:59 UTC

[jira] Commented: (HBASE-965) Implement BlockCache using custom LRU/ARC mechanism rather than SoftReferences

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

stack commented on HBASE-965:
-----------------------------

See HBASE-1127 for some issues with Soft References.

> Implement BlockCache using custom LRU/ARC mechanism rather than SoftReferences
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-965
>                 URL: https://issues.apache.org/jira/browse/HBASE-965
>             Project: Hadoop HBase
>          Issue Type: New Feature
>    Affects Versions: 0.19.0
>            Reporter: Jonathan Gray
>            Priority: Minor
>             Fix For: 0.20.0
>
>
> BlockCaching is now turned on by default as of HBASE-953.  This improves all-around performance but is very taxing on the GC.  Random reading tends to thrash the cache.
> As discussed, rather than rely on JVM LRU GC, we should implement our own tracking of cached blocks using an ARC-like algorithm.  This will also allow users to set the cache size per-table or per-family rather than just taking from the allotted Heap pool.
> Paper on ARC algorithm (a scan-resistant LRU):  http://www.almaden.ibm.com/cs/people/dmodha/ARC.pdf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.