Commit Graph

146 Commits (bfc737da2179ec0a1b0cc1d01e1ceea69518813e)

Author SHA1 Message Date
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) 3 years ago
Guido Tagliavini Ponce 54f678cd86 Fix CalcHashBits (#10295) 3 years ago
Guido Tagliavini Ponce 57a0e2f304 Clock cache (#10273) 3 years ago
Guido Tagliavini Ponce c6055cba30 Calculate table size of FastLRUCache more accurately (#10235) 3 years ago
Guido Tagliavini Ponce b52620ab0e Fix key size in cache_bench (#10234) 3 years ago
Guido Tagliavini Ponce 3afed7408c Replace per-shard chained hash tables with open-addressing scheme (#10194) 3 years ago
Peter Dillinger 1aac814578 Use optimized folly DistributedMutex in LRUCache when available (#10179) 3 years ago
Hui Xiao d665afdbf3 Account memory of FileMetaData in global memory limit (#9924) 3 years ago
Guido Tagliavini Ponce f105e1a501 Make the per-shard hash table fixed-size. (#10154) 3 years ago
Guido Tagliavini Ponce 415200d792 Assume fixed size key (#10137) 3 years ago
gitbw95 f4052d13b7 Enable SecondaryCache::CreateFromString to create sec cache based on the uri for CompressedSecondaryCache (#10132) 3 years ago
Peter Dillinger 5fa6ef7f18 Fix fragile CacheTest::ApplyToAllEntriesDuringResize (#10145) 3 years ago
Guido Tagliavini Ponce eb99e08076 Add support for FastLRUCache in cache_bench (#10095) 3 years ago
sdong c78a87cd71 Avoid malloc_usable_size() call inside LRU Cache mutex (#10026) 3 years ago
sdong 736a7b5433 Remove own ToString() (#9955) 3 years ago
Peter Dillinger bb87164db3 Fork and simplify LRUCache for developing enhancements (#9917) 3 years ago
Andrew Kryczka d6e016be6d Expose `CacheEntryRole` and map keys for block cache stat collections (#9838) 3 years ago
Peter Dillinger efd035164b Meta-internal folly integration with F14FastMap (#9546) 3 years ago
gitbw95 f241d082b6 Prevent double caching in the compressed secondary cache (#9747) 3 years ago
Hui Xiao 49623f9c8e Account memory of big memory users in BlockBasedTable in global memory limit (#9748) 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
ehds@qq.com d95e13e9cc typo(clock_cache) fix incomplete message typo (#9638) 3 years ago
Bo Wang f706a9c199 Add a secondary cache implementation based on LRUCache 1 (#9518) 3 years ago
Andrew Kryczka 54fb2a8975 Change type of cache buffer passed to `Cache::CreateCallback()` to `const void*` (#9595) 3 years ago
Peter Dillinger fd3e0f43b3 Require C++17 (#9481) 3 years ago
Peter Dillinger afc280fdfd Enhance new cache key testing & comments (#9329) 3 years ago
Peter Dillinger 0d9b256813 Fix unity build with SUPPORT_CLOCK_CACHE (#9309) 3 years ago
Peter Dillinger 0050a73a4f New stable, fixed-length cache keys (#9126) 3 years ago
Yanqin Jin 42fef0224f Fix build for msvc (#9230) 3 years ago
Peter Dillinger fc3a6eb74a Fix/improve 'must free heap allocations' code (#9209) 3 years ago
Hui Xiao 74544d582f Account Bloom/Ribbon filter construction memory in global memory limit (#9073) 3 years ago
Peter Dillinger f8c685c4fc Check for and disallow shared key space in block caches (#9172) 3 years ago
Hui Xiao 2fbe32b0c1 RAII support for per cache reservation through handle (#9130) 3 years ago
Hui Xiao ffd6085e1f Add new API CacheReservationManager::GetTotalMemoryUsage() (#9071) 3 years ago
Hui Xiao 3018a3e27e Minor improvement to CacheReservationManager/WriteBufferManager/CompressionDictBuilding (#9139) 3 years ago
Hui Xiao 560fe70233 Add new API CacheReservationManager::GetDummyEntrySize() (#9072) 3 years ago
Zhichao Cao 6d93b87588 Add lowest_used_cache_tier to ImmutableDBOptions to enable or disable Secondary Cache (#9050) 3 years ago
Zhichao Cao 699f45049d Introduce a mechanism to dump out blocks from block cache and re-insert to secondary cache (#8912) 3 years ago
Peter Dillinger bda8d93ba9 Fix and detect headers with missing dependencies (#8893) 3 years ago
Hui Xiao 0aad4ca0ff Add comment for new_memory_used parameter in CacheReservationManager::UpdateCacheReservation (#8895) 3 years ago