Replies: 1 comment 5 replies
-
Hi @vaavaav
On the other hand, the pool rebalancer is to rebalance sizes between the allocation classes (as opposed to between pools for the pool resizer). The pool rebalancer is enabled by default with the default strategy. https://github.com/facebook/CacheLib/blob/main/cachelib/allocator/CacheAllocatorConfig.h#L450
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the documentation, it says that:
So, I have some questions:
I'm not seeing any way to set up the
poolresizer
fromcachebench
(i.e., there is no config field for that in any json file, nor on the respective code). I saw that poolRebalancer and poolResize share a lot of similarities. CanpoolRebalancer
replace for poolResizer? Or should I stick only to poolResizer for resizing slabs?I've been plotting some slab release durations, with an average of 10 ms and std dev of 25+s ms, not near the expected values. This is likely because my configuration is too unrealistic and has a light workload. Is there any way I can set up
cachebench
to have slab releases take that much time?Also, I'm not understanding very well how to get the current real size (i.e, the actual allocated and dedicated space for the respective pool) of each pool... Could you please point out what memory allocator method to use? For both current real size and current free space? This is important to me because I'm dynamically resizing the pools.
Beta Was this translation helpful? Give feedback.
All reactions