Hello Alexey Serbin, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/21601
to look at the new patch set (#4).
Change subject: KUDU-613: SLRU Cache Benchmark
......................................................................
KUDU-613: SLRU Cache Benchmark
This patch introduces a new benchmark that
validates the performance of the SLRU cache.
The pattern this benchmark follows is frequent lookups
for a small set of keys followed by lookups for rarely
accessed keys with large values that would normally
evict the frequently accessed keys from the LRU
cache. As the results below show, SLRU cache
performs better with this workload pattern.
Ran benchmarks for RELEASE build locally on macOS.
6 cores and 2.6GHz.
Results:
Test case | Algorithm | Lookups/sec | Hit rate
ZIPFIAN ratio=1.00x | LRU | 11.23M | 99.6%
ZIPFIAN ratio=1.00x | SLRU | 10.64M | 98.5%
ZIPFIAN ratio=3.00x | LRU | 11.53M | 95.9%
ZIPFIAN ratio=3.00x | SLRU | 10.28M | 93.4%
UNIFORM ratio=1.00x | LRU | 10.25M | 99.7%
UNIFORM ratio=1.00x | SLRU | 7.58M | 99.7%
UNIFORM ratio=3.00x | LRU | 5.63M | 33.3%
UNIFORM ratio=3.00x | SLRU | 4.63M | 11.0%
PRE_DETERMINED ratio=1.00x | LRU | 18.16M | 92.9%
PRE_DETERMINED ratio=1.00x | SLRU | 19.09M | 99.3%
PRE_DETERMINED ratio=3.00x | LRU | 17.10M | 93.1%
PRE_DETERMINED ratio=3.00x | SLRU | 19.38M | 99.1%
Change-Id: I1c128a9f047497373ce3e740056eaa89a352261b
---
M src/kudu/util/cache-bench.cc
1 file changed, 62 insertions(+), 20 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/01/21601/4
--
To view, visit http://gerrit.cloudera.org:8080/21601
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1c128a9f047497373ce3e740056eaa89a352261b
Gerrit-Change-Number: 21601
Gerrit-PatchSet: 4
Gerrit-Owner: Mahesh Reddy <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mahesh Reddy <[email protected]>