On Mon, Jan 19, 2015 at 11:28, David Gwynne wrote:

>> if you're interested in seeing the effect of freeing at different
>> intervals, you could try the diff below. it adds kern.pool.wait_free
>> and kern.pool.wait_gc tunables so you can set how long a page has
>> to be idle before a pool_put and the gc respectively will select a
>> page for freeing.
>>
>> id prefer to pick values that Just Work(tm) all the time, but being
>> able to test different values easily might be useful in the short
>> term.
> 
> ive been running the diff below in production for nearly a month now
> without issue.
> 
> anyone want to ok this? if i commit this would anyone object?

I thought the sysctl code was ok for testing, but not for commit. I
don't think we should be adding more knobs like this. A diff without
that would be much more attractive.

Reply via email to