在 2013年8月2日星期五,Leif Hedstrom 写道: > On Aug 2, 2013, at 1:07 PM, Yunkai Zhang <yunkai...@gmail.com<javascript:;>> > wrote: > > > On Fri, Aug 2, 2013 at 6:15 PM, Leif Hedstrom <l...@ogre.com<javascript:;>> > wrote: > > > > > > > > The reason of why reclaming memory is need is that: > > > > In the freelist, there are different size blocks: > > > > 1KB, 2KB, 4KB, 8KB, ... > > > > different size block will be placed into different list. > > > > suppose at some time, 2KB block is hot, so ATS will allocate many 2KB > > blocks and put them into 2KB-list. > > > > After a while, 4KB block becomes hot, then ATS will allocate many 4KB > > blocks and put them into 4KB-list. > > Ok, that makes sense. Note sure why things are spiking in such different > patterns, but at least it adds up with how the free list behaves :). > > I'd still vote on leaving this out as a default until after v3.4.0. We > need some stability IMO.
i Ok for me. reclaimable-freelist is stable at Linux platform I think, but I can't promise at other platforms. Just keep old version freelist as default, don't too aggressive:) > -- leif > > -- Yunkai Zhang Work at Taobao