You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter Dillinger
f9de217353
Some cache_bench enhancements ( #11661 )
...
Summary:
... used in validating some HyperClockCache development in progress.
* Revamp the "populate cache" step to avoid redundant insertions (very rare in practice) and more consistently approach the desired resident_ratio while maintaining appropriate skew (still not perfect).
* Track and print hit ratio on lookups, to ensure a fair comparison is happening between implementations etc.
* Add an option to disable tracking and printing histograms (lots of output)
* Add an option to specify a random seed (for more reproducibility)
* Remove confusing/redundant "-skewed" option
Uses BitwiseAnd from https://github.com/facebook/rocksdb/issues/11660 (tested there)
Pull Request resolved: https://github.com/facebook/rocksdb/pull/11661
Test Plan: manual
Reviewed By: akankshamahajan15, jowlyzhang
Differential Revision: D47937671
Pulled By: pdillinger
fbshipit-source-id: 85a2bb881b1bca4f63e015bac684105fd91c9f35
1 year ago
..
cache.cc
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago
cache_bench.cc
Add (& fix) some simple source code checks ( #8821 )
3 years ago
cache_bench_tool.cc
Some cache_bench enhancements ( #11661 )
1 year ago
cache_entry_roles.cc
Major Cache refactoring, CPU efficiency improvement ( #10975 )
2 years ago
cache_entry_roles.h
Major Cache refactoring, CPU efficiency improvement ( #10975 )
2 years ago
cache_entry_stats.h
Simplify tracking entries already in SecondaryCache ( #11299 )
2 years ago
cache_helpers.cc
Major Cache refactoring, CPU efficiency improvement ( #10975 )
2 years ago
cache_helpers.h
Put Cache and CacheWrapper in new public header ( #11192 )
2 years ago
cache_key.cc
Put Cache and CacheWrapper in new public header ( #11192 )
2 years ago
cache_key.h
Derive cache keys from SST unique IDs ( #10394 )
2 years ago
cache_reservation_manager.cc
Simplify tracking entries already in SecondaryCache ( #11299 )
2 years ago
cache_reservation_manager.h
Major Cache refactoring, CPU efficiency improvement ( #10975 )
2 years ago
cache_reservation_manager_test.cc
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
cache_test.cc
Add hash_seed to Caches ( #11391 )
2 years ago
charged_cache.cc
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago
charged_cache.h
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago
clock_cache.cc
Even more HyperClockCache refactoring ( #11630 )
1 year ago
clock_cache.h
Add some more bit operations to internal APIs ( #11660 )
1 year ago
compressed_secondary_cache.cc
Integrate CacheReservationManager with compressed secondary cache ( #11449 )
1 year ago
compressed_secondary_cache.h
Integrate CacheReservationManager with compressed secondary cache ( #11449 )
1 year ago
compressed_secondary_cache_test.cc
Integrate CacheReservationManager with compressed secondary cache ( #11449 )
1 year ago
lru_cache.cc
Prepare for specialized interface for row cache ( #11620 )
1 year ago
lru_cache.h
Add hash_seed to Caches ( #11391 )
2 years ago
lru_cache_test.cc
Some small improvements to HyperClockCache ( #11601 )
1 year ago
secondary_cache.cc
Simplify tracking entries already in SecondaryCache ( #11299 )
2 years ago
secondary_cache_adapter.cc
Update secondary_cache_adapter.cc ( #11566 )
1 year ago
secondary_cache_adapter.h
Integrate CacheReservationManager with compressed secondary cache ( #11449 )
1 year ago
sharded_cache.cc
Add some more bit operations to internal APIs ( #11660 )
1 year ago
sharded_cache.h
Add hash_seed to Caches ( #11391 )
2 years ago
typed_cache.h
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago