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 (#3).

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       | 10.90M      | 99.8%
ZIPFIAN        ratio=1.00x | SLRU      | 10.19M      | 98.3%
ZIPFIAN        ratio=3.00x | LRU       | 11.22M      | 95.9%
ZIPFIAN        ratio=3.00x | SLRU      | 9.37M       | 93.3%
UNIFORM        ratio=1.00x | LRU       | 8.67M       | 99.7%
UNIFORM        ratio=1.00x | SLRU      | 7.51M       | 50.1%
UNIFORM        ratio=3.00x | LRU       | 6.66M       | 33.3%
UNIFORM        ratio=3.00x | SLRU      | 5.18M       | 11.0%
PRE_DETERMINED ratio=1.00x | LRU       | 18.13M      | 94.0%
PRE_DETERMINED ratio=1.00x | SLRU      | 19.47M      | 99.0%
PRE_DETERMINED ratio=3.00x | LRU       | 17.43M      | 94.0%
PRE_DETERMINED ratio=3.00x | SLRU      | 20.11M      | 99.1%

Change-Id: I1c128a9f047497373ce3e740056eaa89a352261b
---
M src/kudu/util/cache-bench.cc
1 file changed, 60 insertions(+), 20 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/01/21601/3
--
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: 3
Gerrit-Owner: Mahesh Reddy <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mahesh Reddy <[email protected]>

Reply via email to