Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
M4.5
-
None
Description
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
Attachments
Issue Links
- is duplicated by
-
KUDU-767 Un-cached reads should not bump blocks to front of LRU list
- Reopened
-
KUDU-2707 Improve the performance of the block cache under contention
- Reopened
- is related to
-
IMPALA-10481 Lack of TServer affinity in remote Kudu scans results in bad OS buffer cache behavior on tablet servers
- Resolved
-
KUDU-2707 Improve the performance of the block cache under contention
- Reopened
- relates to
-
KUDU-1502 Block cache with churn burns lots of CPU in MemTracker consume and release
- Resolved