[upstream] added per tier pool class rolling average latency#45
[upstream] added per tier pool class rolling average latency#45guptask wants to merge 1 commit intointel:mainfrom
Conversation
38b17a8 to
caa1318
Compare
igchor
left a comment
There was a problem hiding this comment.
Reviewable status: 0 of 7 files reviewed, 3 unresolved discussions (waiting on @guptask)
cachelib/allocator/Cache.h line 89 at r1 (raw file):
// TODO: come up with some reasonable number static constexpr unsigned kMaxTiers = 2;
Can we not include any references to tiers in this PR? We could add support for tracking latency per class, per pool, right?
cachelib/allocator/CacheAllocator-inl.h line 2231 at r1 (raw file):
template <typename CacheTrait> double CacheAllocator<CacheTrait>::slabsApproxFreePercentage(TierId tid) const {
I think this should not part of the latency tracking patch.
cachelib/allocator/CacheAllocator-inl.h line 2236 at r1 (raw file):
template <typename CacheTrait> AllocationClassBaseStat CacheAllocator<CacheTrait>::getAllocationClassStats(
Same here, you should probably just store allocLatenencyNs.
You can rebase onto #42 perhaps and just use getACStats which I've added if you think it will be easier.
|
Previously, igchor (Igor Chorążewicz) wrote…
Done. |
|
Previously, igchor (Igor Chorążewicz) wrote…
Done. |
|
Previously, igchor (Igor Chorążewicz) wrote…
Done. |
This change is