Skip to content

Automatic Pool Resizing #58

Answered by therealgymmy
guptask asked this question in Q&A
Discussion options

You must be logged in to vote

The basic functionality is complete but it is not actively used today. To take advantage of it, you can enable PoolOptimizer worker, and then specify a policy. Today we only support one policy "MarginalHits". You can implement the PoolOptimizePolicy interface yourself and add additional policies towards your goal of resizing.

The gist is that the Pool Optimizer will be asking this policy to rank all the pools on a particular metric (user-defined), and it will move a slab from the pool with the lowest score to the one with the highest score, in an attempt to maximize the amount of memory devoted to pools with highest scores.

You can enable Pool Optimizer here: https://github.com/facebook/C…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by guptask
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants