You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Levi Tamasi
7818560194
Add a dedicated cache entry role for blobs ( #10601 )
...
Summary:
The patch adds a dedicated cache entry role for blob values and switches
to a registered deleter so that blobs show up as a separate bucket
(as opposed to "Misc") in the cache occupancy statistics, e.g.
```
Block cache entry stats(count,size,portion): DataBlock(133515,531.73 MB,13.6866%) BlobValue(1824855,3.10 GB,81.7071%) Misc(1,0.00 KB,0%)
```
Pull Request resolved: https://github.com/facebook/rocksdb/pull/10601
Test Plan: Ran `make check` and tested the cache occupancy statistics using `db_bench`.
Reviewed By: riversand963
Differential Revision: D39107915
Pulled By: ltamasi
fbshipit-source-id: 8446c3b190a41a144030df73f318eeda4398c125
2 years ago
..
cache.cc
Add a blob-specific cache priority ( #10461 )
2 years ago
cache_bench.cc
Add (& fix) some simple source code checks ( #8821 )
3 years ago
cache_bench_tool.cc
Add a blob-specific cache priority ( #10461 )
2 years ago
cache_entry_roles.cc
Add a dedicated cache entry role for blobs ( #10601 )
2 years ago
cache_entry_roles.h
Expose `CacheEntryRole` and map keys for block cache stat collections ( #9838 )
3 years ago
cache_entry_stats.h
New stable, fixed-length cache keys ( #9126 )
3 years ago
cache_helpers.h
Eliminate the copying of blobs when serving reads from the cache ( #10297 )
2 years ago
cache_key.cc
Derive cache keys from SST unique IDs ( #10394 )
2 years ago
cache_key.h
Derive cache keys from SST unique IDs ( #10394 )
2 years ago
cache_reservation_manager.cc
Charge blob cache usage against the global memory limit ( #10321 )
2 years ago
cache_reservation_manager.h
Account memory of FileMetaData in global memory limit ( #9924 )
3 years ago
cache_reservation_manager_test.cc
Derive cache keys from SST unique IDs ( #10394 )
2 years ago
cache_test.cc
Towards a production-quality ClockCache ( #10418 )
2 years ago
charged_cache.cc
Charge blob cache usage against the global memory limit ( #10321 )
2 years ago
charged_cache.h
Charge blob cache usage against the global memory limit ( #10321 )
2 years ago
clock_cache.cc
Add a blob-specific cache priority ( #10461 )
2 years ago
clock_cache.h
Enable ClockCache in DB block cache test ( #10482 )
2 years ago
compressed_secondary_cache.cc
Add a blob-specific cache priority ( #10461 )
2 years ago
compressed_secondary_cache.h
Add a blob-specific cache priority ( #10461 )
2 years ago
compressed_secondary_cache_test.cc
Add a blob-specific cache priority ( #10461 )
2 years ago
fast_lru_cache.cc
Towards a production-quality ClockCache ( #10418 )
2 years ago
fast_lru_cache.h
Clock cache ( #10273 )
3 years ago
lru_cache.cc
Add a blob-specific cache priority ( #10461 )
2 years ago
lru_cache.h
Add a blob-specific cache priority ( #10461 )
2 years ago
lru_cache_test.cc
Add a blob-specific cache priority ( #10461 )
2 years ago
sharded_cache.cc
Update Cache::Release param from force_erase to erase_if_last_ref ( #9728 )
3 years ago
sharded_cache.h
Charge blob cache usage against the global memory limit ( #10321 )
2 years ago