Commit Graph

182 Commits (e9d6a0d7ce763392b695851924100b09540a70a1)

Author SHA1 Message Date
Peter Dillinger 9f7801c5f1 Major Cache refactoring, CPU efficiency improvement (#10975) 2 years ago
Peter Dillinger e079d562af Add a SecondaryCache::InsertSaved() API, use in CacheDumper impl (#10945) 2 years ago
Peter Dillinger 3182beeffc Observe and warn about misconfigured HyperClockCache (#10965) 2 years ago
Peter Dillinger 8c0f5b1fcf Mark HyperClockCache as production-ready (#10963) 2 years ago
Peter Dillinger 32520df1d9 Remove prototype FastLRUCache (#10954) 2 years ago
Peter Dillinger f321e8fc98 Don't attempt to use SecondaryCache on block_cache_compressed (#10944) 2 years ago
Peter Dillinger cc8c8f6958 Refactor (Hyper)ClockCache code (#10887) 2 years ago
Denis Hananein 9f3475eccf Fix compilation errors, clang++-15 (#10907) 2 years ago
Levi Tamasi 22ff8c5af7 Use malloc/free for LRUHandle instead of new[]/delete[] (#10884) 2 years ago
Peter Dillinger 7fff38b1fe clang-format cache/ and util/ directories (#10867) 2 years ago
Peter Dillinger b6e33dbc0e Fix HyperClockCache Rollback bug in #10801 (#10843) 2 years ago
Peter Dillinger 7555243bcf Refactor ShardedCache for more sharing, static polymorphism (#10801) 2 years ago
Peter Dillinger e466173d5c Print stack traces on frozen tests in CI (#10828) 2 years ago
Peter Dillinger b205c6d029 Fix bug in HyperClockCache ApplyToEntries; cleanup (#10768) 2 years ago
Peter Dillinger 5f4391dda2 Some clean-up of secondary cache (#10730) 2 years ago
gitbw95 47b57a3731 add SetCapacity and GetCapacity for secondary cache (#10712) 2 years ago
Levi Tamasi 12f5a1e35c Clarify comments for cache priorities and pool options (#10718) 2 years ago
gitbw95 2cc5b39560 Add enable_split_merge option for CompressedSecondaryCache (#10690) 2 years ago
Peter Dillinger 0f91c72adc Call experimental new clock cache HyperClockCache (#10684) 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
Levi Tamasi 7818560194 Add a dedicated cache entry role for blobs (#10601) 2 years ago
Gang Liao 275cd80cdb Add a blob-specific cache priority (#10461) 2 years ago
Peter Dillinger 86a1e3e0e7 Derive cache keys from SST unique IDs (#10394) 2 years ago
Guido Tagliavini Ponce a0798f6f92 Enable ClockCache in DB block cache test (#10482) 2 years ago
gitbw95 f060b47ee8 Fix the segdefault bug in CompressedSecondaryCache and its tests (#10507) 2 years ago
Bo Wang f28d0c2020 Fix data race reported on SetIsInSecondaryCache in LRUCache (#10472) 2 years ago
Bo Wang 87b82f28a1 Split cache to minimize internal fragmentation (#10287) 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
Guido Tagliavini Ponce d976f68977 Fix assertion failure and memory leak in ClockCache. (#10430) 2 years ago
Guido Tagliavini Ponce 9d7de6517c Towards a production-quality ClockCache (#10418) 2 years ago
Peter Dillinger 01a2e20299 Account for DB ID in stress testing block cache keys (#10388) 2 years ago
Guido Tagliavini Ponce 6a160e1fec Lock-free ClockCache (#10390) 2 years ago
Gang Liao 0b6bc101ba Charge blob cache usage against the global memory limit (#10321) 2 years ago
Gang Liao 95ef007adc Support using secondary cache with the blob cache (#10349) 2 years ago
Guido Tagliavini Ponce efdb428edc Lock-free Lookup and Release in ClockCache (#10347) 2 years ago
Guido Tagliavini Ponce a543773bbc Add lean option to cache_bench (#10363) 2 years ago
Guido Tagliavini Ponce 7e1b417824 Revert NewClockCache signature (#10358) 2 years ago
Bo Wang 86c2d0a95d Add the secondary cache information into LRUCache:: GetPrintableOptions (#10346) 2 years ago
Guido Tagliavini Ponce 9645e66fc9 Temporarily return a LRUCache from NewClockCache (#10351) 2 years ago
Gang Liao c987eb4712 Eliminate the copying of blobs when serving reads from the cache (#10297) 2 years ago
Guido Tagliavini Ponce c277aeb42c Midpoint insertions in ClockCache (#10305) 2 years ago
Peter Dillinger e6c5e0ab9a Have Cache use Status::MemoryLimit (#10262) 2 years ago
Guido Tagliavini Ponce 54f678cd86 Fix CalcHashBits (#10295) 2 years ago
Guido Tagliavini Ponce 57a0e2f304 Clock cache (#10273) 2 years ago
Guido Tagliavini Ponce c6055cba30 Calculate table size of FastLRUCache more accurately (#10235) 2 years ago
Guido Tagliavini Ponce b52620ab0e Fix key size in cache_bench (#10234) 2 years ago