Commit Graph

50 Commits (433d7e4594fd4d14f81e0f4a09be826328fe6ffa)

Author SHA1 Message Date
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
Peter Dillinger 5724348689 Revamp, optimize new experimental clock cache (#10626) 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
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 0b6bc101ba Charge blob cache usage against the global memory limit (#10321) 2 years ago
Bo Wang 86c2d0a95d Add the secondary cache information into LRUCache:: GetPrintableOptions (#10346) 2 years ago
Peter Dillinger 1aac814578 Use optimized folly DistributedMutex in LRUCache when available (#10179) 2 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
anand76 add68bd28a Add a stat to count secondary cache hits (#8666) 3 years ago
Peter Dillinger df5dc73bec Don't hold DB mutex for block cache entry stat scans (#8538) 3 years ago
Peter Dillinger 5ad3227650 Work around falsely reported data race on LRUHandle::flags (#8539) 3 years ago
anand76 8ea0a2c1bd Parallelize secondary cache lookup in MultiGet (#8405) 3 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 711881bc25 Fix some typos in comments (#8066) 4 years ago
Dylan Wen a65e905bbb Fix typos in comments (#7687) 4 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
anand76 16fa6fd2a6 Remove key length assertion LRUHandle::CalcTotalCharge (#6115) 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) 5 years ago
Siying Dong 479c566771 Add final annotations to some cache functions (#5156) 6 years ago
Levi Tamasi 34f8ac0c99 Make adaptivity of LRU cache mutexes configurable (#5054) 6 years ago
Levi Tamasi f83eecff99 Introduce an enum for flag types in LRUHandle (#5024) 6 years ago
Yi Wu 05d9d82181 Revert "Move MemoryAllocator option from Cache to BlockBasedTableOpti… (#4697) 6 years ago
Yi Wu b32d087dbb Move MemoryAllocator option from Cache to BlockBasedTableOptions (#4676) 6 years ago
Yi Wu f560c8f5c8 s/CacheAllocator/MemoryAllocator/g (#4590) 6 years ago
Igor Canadi 1cf5deb8fd Introduce CacheAllocator, a custom allocator for cache blocks (#4437) 6 years ago
Yi Wu 724855c7da Fix LRUCache missing null check on destruct 7 years ago
Yi Wu bc7e8d472e LRUCache midpoint insertion 7 years ago
Yi Wu 7a99c04311 refactor constructor of LRUCacheShard 7 years ago
Agam Brahma c3401846ef Minor typo in comment (s/pro/pri) 7 years ago
Phani Shekhar Mantripragada 4b65cfc723 Support for block_cache num_shards and other config via option string. 7 years ago
yiwu-arbug e367774d19 Overload new[] to properly align LRUCacheShard 7 years ago
Daniel Black 16e0388205 LRUCacheShard cache line size alignment 7 years ago
Sushma Devendrappa 0655b58582 enable PinnableSlice for RowCache 7 years ago
Siying Dong 3c327ac2d0 Change RocksDB License 7 years ago
Siying Dong d616ebea23 Add GPLv2 as an alternative license. 8 years ago
Maysam Yabandeh 4c9447d889 Add erase option to release cache 8 years ago
Siying Dong d2dce5611a Move some files under util/ to separate dirs 8 years ago