[ https://issues.apache.org/jira/browse/KUDU-613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875056#comment-17875056 ]
ASF subversion and git services commented on KUDU-613: ------------------------------------------------------ Commit 4b5003add94e382278942489ef51662967b66197 in kudu's branch refs/heads/master from Mahesh Reddy [ https://gitbox.apache.org/repos/asf?p=kudu.git;h=4b5003add ] KUDU-613: Integrate SLRU cache into block cache This patch integrates the new SLRU cache into the block cache. It adds several flags to make the SLRU cache configurable for capacity and lookups as well as adding an eviction_policy flag to give users the option to use the new SLRU cache. The default value is still the old LRU cache. Many integration tests that use the block cache are also updated to include the block cache of SLRU eviction policy. Change-Id: I04411ab2756045f15a272f3397d46d871b087b03 Reviewed-on: http://gerrit.cloudera.org:8080/21390 Reviewed-by: Alexey Serbin <ale...@apache.org> Tested-by: Alexey Serbin <ale...@apache.org> > Scan-resistant cache replacement algorithm for the block cache > -------------------------------------------------------------- > > Key: KUDU-613 > URL: https://issues.apache.org/jira/browse/KUDU-613 > Project: Kudu > Issue Type: Improvement > Components: perf > Affects Versions: M4.5 > Reporter: Andrew Wang > Assignee: Mahesh Reddy > Priority: Major > Labels: performance, roadmap-candidate > > The block cache currently uses LRU, which is vulnerable to large scan > workloads. It'd be good to implement something like 2Q. > ARC (patent encumbered, but good for ideas): > https://www.usenix.org/conference/fast-03/arc-self-tuning-low-overhead-replacement-cache > HBase (2Q like): > https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java -- This message was sent by Atlassian Jira (v8.20.10#820010)