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
f4a02f2c52
Add hash_seed to Caches ( #11391 )
...
Summary:
See motivation and description in new ShardedCacheOptions::hash_seed option.
Updated db_bench so that its seed param is used for the cache hash seed.
Made its code more safe to ensure seed is set before use.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/11391
Test Plan:
unit tests added / updated
**Performance** - no discernible difference seen running cache_bench repeatedly before & after. With lru_cache and hyper_clock_cache.
Reviewed By: hx235
Differential Revision: D45557797
Pulled By: pdillinger
fbshipit-source-id: 40bf4da6d66f9d41a8a0eb8e5cf4246a4aa07934
2 years 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
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years 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
Add hash_seed to Caches ( #11391 )
2 years ago
clock_cache.h
Add hash_seed to Caches ( #11391 )
2 years ago
compressed_secondary_cache.cc
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
compressed_secondary_cache.h
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
compressed_secondary_cache_test.cc
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
lru_cache.cc
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
lru_cache.h
Add hash_seed to Caches ( #11391 )
2 years ago
lru_cache_test.cc
Add hash_seed to Caches ( #11391 )
2 years ago
secondary_cache.cc
Simplify tracking entries already in SecondaryCache ( #11299 )
2 years ago
secondary_cache_adapter.cc
Re-clarify SecondaryCache API ( #11316 )
2 years ago
secondary_cache_adapter.h
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago
sharded_cache.cc
Add hash_seed to Caches ( #11391 )
2 years 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