On Nov 1, 2012, at 12:23 PM, Jason Evans wrote:
> On Oct 31, 2012, at 12:00 AM, Mike Hommey wrote:
>> 
>> It's unfortunately only slightly better.
>> http://i.imgur.com/hN1Cj.png
> 
> Thanks for testing it.  Too bad it didn't help.
> 
> I spent some time yesterday thinking about the clean vs. dirty run 
> fragmentation problem yesterday and came to realize that up to now all of the 
> dirty page purging strategies jemalloc has employed have been about limiting 
> RSS, with only indirect regard for VM size.  I developed a patch that 
> actually tracks the amount of clean/dirty run fragmentation, but I'm still 
> working out how to act on the information.

I finally managed to experiment a bit with the aforementioned patch, and it 
looks reasonably good (chunk fragmentation is *way* down).  I'm seeing a higher 
soft page fault rate with this patch in place, but the patch and the control 
appear to be converging as the experiments run, so the fragmentation reduction 
may have some positive performance effects that mitigate the cost of extra 
purging.

Jason

Attachment: defrag.patch
Description: Binary data

_______________________________________________
jemalloc-discuss mailing list
[email protected]
http://www.canonware.com/mailman/listinfo/jemalloc-discuss

Reply via email to