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
c41122b1a0
Even more HyperClockCache refactoring ( #11630 )
...
Summary:
... ahead of dynamic variant.
* Introduce an Unref function for a common pattern. Cases that were previously using std::memory_order_acq_rel we doing so because we were saving the pre-updated value in case it might be used. Now we are explicitly throwing away the pre-updated value so do not need the acquire semantic, just release.
* Introduce a reusable EvictionData struct and TrackAndReleaseEvictedEntry() function.
* Based on a linter suggesting, use const Func& parameter type instead of Func for templated callable parameters.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/11630
Test Plan: existing tests, and performance test with release build of cache_bench. Getting 1-2% difference between before & after from run to run, but inconsistent about which one is faster.
Reviewed By: jowlyzhang
Differential Revision: D47657334
Pulled By: pdillinger
fbshipit-source-id: 5cf2377c0d47a39143b04be6735f98c550e8bdc3
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 small improvements to HyperClockCache ( #11601 )
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
Even more HyperClockCache refactoring ( #11630 )
1 year ago
compressed_secondary_cache.cc
Integrate CacheReservationManager with compressed secondary cache ( #11449 )
2 years ago
compressed_secondary_cache.h
Integrate CacheReservationManager with compressed secondary cache ( #11449 )
2 years ago
compressed_secondary_cache_test.cc
Integrate CacheReservationManager with compressed secondary cache ( #11449 )
2 years 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 )
2 years ago
secondary_cache_adapter.h
Integrate CacheReservationManager with compressed secondary cache ( #11449 )
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