Commit Graph

74 Commits (77ccfe42849f9262886fdd3201d8fdd152299fb1)

Author SHA1 Message Date
Peter Dillinger 4067acabca Compatibility step for separating BlockCache and GeneralCache APIs (#11450) 2 years ago
Peter Dillinger 206fdea3d9 Change internal headers with duplicate names (#11408) 2 years ago
Peter Dillinger 41a7fbf758 Avoid long parameter lists configuring Caches (#11386) 2 years ago
Peter Dillinger 204fcff751 HyperClockCache support for SecondaryCache, with refactoring (#11301) 2 years ago
Peter Dillinger ccaa3225b0 Simplify tracking entries already in SecondaryCache (#11299) 2 years ago
Peter Dillinger 601efe3cf2 Misc cleanup of block cache code (#11291) 2 years ago
Jaepil Jeong 969d4e1dd2 Fix compile errors in Clang due to unused variables depending on the build configuration (#11234) 2 years ago
anand76 cf09917c18 Add filter/index/data secondary cache hits stats (#11246) 2 years ago
Peter Dillinger 9f7801c5f1 Major Cache refactoring, CPU efficiency improvement (#10975) 2 years ago
Levi Tamasi 22ff8c5af7 Use malloc/free for LRUHandle instead of new[]/delete[] (#10884) 2 years ago
Peter Dillinger 7555243bcf Refactor ShardedCache for more sharing, static polymorphism (#10801) 2 years ago
Peter Dillinger 5f4391dda2 Some clean-up of secondary cache (#10730) 2 years ago
Levi Tamasi 12f5a1e35c Clarify comments for cache priorities and pool options (#10718) 2 years ago
Peter Dillinger 5724348689 Revamp, optimize new experimental clock cache (#10626) 2 years ago
gitbw95 0148c4934d Add PerfContext counters for CompressedSecondaryCache (#10650) 2 years ago
Bo Wang d490bfcdb6 Avoid recompressing cold block in CompressedSecondaryCache (#10527) 2 years ago
Gang Liao 275cd80cdb Add a blob-specific cache priority (#10461) 2 years ago
Bo Wang f28d0c2020 Fix data race reported on SetIsInSecondaryCache in LRUCache (#10472) 2 years ago
anand76 54aebb2cc5 Fix cache metrics update when secondary cache is used (#10440) 2 years ago
Peter Dillinger 65036e4217 Revert "Add a blob-specific cache priority (#10309)" (#10434) 2 years ago
Gang Liao 8d178090be Add a blob-specific cache priority (#10309) 2 years ago
Gang Liao 95ef007adc Support using secondary cache with the blob cache (#10349) 2 years ago
Bo Wang 86c2d0a95d Add the secondary cache information into LRUCache:: GetPrintableOptions (#10346) 2 years ago
Peter Dillinger e6c5e0ab9a Have Cache use Status::MemoryLimit (#10262) 3 years ago
Peter Dillinger 1aac814578 Use optimized folly DistributedMutex in LRUCache when available (#10179) 3 years ago
sdong c78a87cd71 Avoid malloc_usable_size() call inside LRU Cache mutex (#10026) 3 years ago
Peter Dillinger bb87164db3 Fork and simplify LRUCache for developing enhancements (#9917) 3 years ago
gitbw95 f241d082b6 Prevent double caching in the compressed secondary cache (#9747) 3 years ago
Bo Wang bcabee737f Improve comments for some files (#9793) 3 years ago
gitbw95 8102690a52 Update Cache::Release param from force_erase to erase_if_last_ref (#9728) 3 years ago
Peter Dillinger fc3a6eb74a Fix/improve 'must free heap allocations' code (#9209) 3 years ago
anand76 ec9f52ece6 Fix a race in LRUCacheShard::Promote (#8717) 3 years ago
anand76 f35042ca40 Add a PerfContext counter for secondary cache hits (#8685) 3 years ago
anand76 add68bd28a Add a stat to count secondary cache hits (#8666) 3 years ago
Peter Dillinger 5ad3227650 Work around falsely reported data race on LRUHandle::flags (#8539) 3 years ago
anand76 a0cbb69421 Fix assertion failure when releasing a handle after secondary cache lookup fails (#8470) 4 years ago
anand76 a50da404be Fix a tsan warning due to reading flags in LRUHandle without holding a mutex (#8433) 4 years ago
anand76 8ea0a2c1bd Parallelize secondary cache lookup in MultiGet (#8405) 4 years ago
Peter Dillinger 311a544c2a Use deleters to label cache entries and collect stats (#8297) 4 years ago
anand76 feb06e83b2 Initial support for secondary cache in LRUCache (#8271) 4 years ago
Peter Dillinger 78a309bf86 New Cache API for gathering statistics (#8225) 4 years ago
storagezhang d9be6556aa Include C++ standard library headers instead of C compatibility headers (#8068) 4 years ago
Yanqin Jin 394210f280 Remove unused includes (#7604) 4 years ago
Peter Dillinger 249eff0f30 Stats for redundant insertions into block cache (#6681) 5 years ago
Levi Tamasi e6f86cfb36 Revert the recent cache deleter change (#6620) 5 years ago
Levi Tamasi 6301dbe7a7 Use function objects as deleters in the block cache (#6545) 5 years ago
sdong fdf882ded2 Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 5 years ago
Maysam Yabandeh 9a87ae46fd Use total charge in MaintainPoolSize (#5813) 5 years ago
Maysam Yabandeh 638d239507 Charge block cache for cache internal usage (#5797) 5 years ago
Eli Pozniansky 74fb7f0ba5 Cleaned up and simplified LRU cache implementation (#5579) 6 years ago