Hi, On Mon, Jan 18, 2010 at 12:45 AM, John McCabe-Dansted <[email protected]>wrote:
> Hi, I am using swap_notify now. However I have noticed that although the > ComprDataSize shrinks as swap is freed, the MemUsedTotal stays relatively > high. Presumably this is caused by the swap being freed from effectively > random locations in memory, meaning that most of the allocated pages cannot > be freed. > > Does this suggest that defragmenting the memory allocated by comp-cache may > be worthwhile in some circumstances? > > With swap notify, fragmentation is going to be a major problem as we now free memory much more frequently. Defrag support for comcpache has been on my todo list since a long time but never found any data to warrant its immediate need. However, as your data shows, defrag is now really important and I hope to start working on it soon. If possible, can you please post these numbers on wiki (i guess, http://code.google.com/p/compcache/wiki/Fragmentation would be appropriate). Thanks, Nitin
_______________________________________________ linux-mm-cc mailing list [email protected] http://lists.laptop.org/listinfo/linux-mm-cc
