Commit Graph

9 Commits (9eced1a344f2dd8788ae2ac23e85fb694a310e5d)

Author SHA1 Message Date
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 3afed7408c Replace per-shard chained hash tables with open-addressing scheme (#10194) 2 years ago
Peter Dillinger 1aac814578 Use optimized folly DistributedMutex in LRUCache when available (#10179) 2 years ago
Guido Tagliavini Ponce f105e1a501 Make the per-shard hash table fixed-size. (#10154) 2 years ago
Guido Tagliavini Ponce 415200d792 Assume fixed size key (#10137) 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
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) 3 years ago
anand76 a50da404be Fix a tsan warning due to reading flags in LRUHandle without holding a mutex (#8433) 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 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) 5 years ago
Zhongyi Xie d68f9f4580 simplify include directive involving inttypes (#5402) 6 years ago
Levi Tamasi 34f8ac0c99 Make adaptivity of LRU cache mutexes configurable (#5054) 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
Yanqin Jin 26d67e357e Support group commits of version edits (#3944) 6 years ago
Taewook Oh b557499eee Suppress leak warning for clang(LLVM) asan (#4066) 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
Phani Shekhar Mantripragada 4b65cfc723 Support for block_cache num_shards and other config via option string. 7 years ago
Prashant D d9240b548c Fix coverity uninitialized fields warnings in lru_cache 7 years ago
raistlin ee2b1ec1e8 Fix unstable floating point exception 7 years ago
Dmitri Smirnov 0ec90a7cc2 Add -DPORTABLE=1 to MSVC CI build 7 years ago
Yi Wu e83d6a02e3 Not using aligned_alloc with gcc4 + asan 7 years ago
Archit Mishra 09ac6206ab Circumvent ASAN false positive 7 years ago
yiwu-arbug e367774d19 Overload new[] to properly align LRUCacheShard 7 years ago