mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-30 22:41:48 +00:00
fa0190f885
Summary: Currently, when `block_cache_trace_analyzer` analyzes the cache miss ratio, it only analyzes the total miss ratio. But it seems also important to analyze the cache miss ratio of each caller. To achieve this, we can calculate and print the miss ratio of each caller in the analyzer. ## Before modification ``` Running for 1 seconds: Processed 85732 records/second. Trace duration 58 seconds. Observed miss ratio 7.97 ``` ## After modification ``` Running for 1 seconds: Processed 85732 records/second. Trace duration 58 seconds. Observed miss ratio 7.97 Caller Get: Observed miss ratio 6.31 Caller Iterator: Observed miss ratio 11.86 *************************************************************** ``` Pull Request resolved: https://github.com/facebook/rocksdb/pull/10823 Reviewed By: ajkr Differential Revision: D52632764 Pulled By: hx235 fbshipit-source-id: 40994d6039b73dc38fe78ea1b4adce187bb98909 |
||
---|---|---|
.. | ||
__init__.py | ||
block_cache_pysim.py | ||
block_cache_pysim.sh | ||
block_cache_pysim_test.py | ||
block_cache_trace_analyzer.cc | ||
block_cache_trace_analyzer.h | ||
block_cache_trace_analyzer_plot.py | ||
block_cache_trace_analyzer_test.cc | ||
block_cache_trace_analyzer_tool.cc |