You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We further break down the block cache metrics by level.
The level is plumbed through the level iterator. However, it is not
currently plumbed for the initial open of a file, and it is not
plumbed for blob value reads. I will investigate plumbing a level
through `LazyFetcher` separately.
The n/a level reflects accesses where the level is not known and any
accesses on flushable ingests.
Metrics after 30m of ycsb-A:
```
BLOCK CACHE: 592 entries (17MB)
miss rate [percentage of total misses] since start
level | | background sstdata sstval blobval filter index
-------+------------+------------------------------------------------------------------------------
n/a | 2.3% [91%] | 9.6% [7.4%] 4.1% [81%] 0.2% [3.3%]
L0 | 22% [4.6%] | 36% [1.3%] 24% [2%] 15% [1.3%]
L6 | 0% [4.1%] | 0% [0%] 0% [2.8%] 0% [1.3%]
total | 0.3% | 10% [8.7%] 0% [4.8%] 4.1% [81%] 0% [5.9%]
```
Benchmark (before = without the level AND the category changes). On a
GCE worker, `--benchtime=10s`:
```
name old time/op new time/op delta
CacheGet-24 52.0ns ± 1% 44.0ns ± 1% -15.40% (p=0.008 n=5+5)
```
0 commit comments