Regarding memory compaction

Mulyadi Santosa mulyadi.santosa at gmail.com
Tue Mar 8 06:54:13 EST 2011


Hi..

On Tue, Mar 8, 2011 at 16:43, solmac john <johnsolmac at gmail.com> wrote:
> Hi All,
> I am working on memory compaction.
> (http://lwn.net/Articles/368869/) and i wan't to test the same
> can some one guide how to test same or is there any sample application or
> utility to test memory compaction

Not 100% sure if it could help. Try to grep my test code here
http://linuxdevcenter.com/pub/a/linux/2006/11/30/linux-out-of-memory.html
and insert the related memory compaction call inside it (during the
sequence of free and malloc).

And then, by both checking /proc/meminfo and /proc/buddyinfo, I think
you could pick the conclusion...

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list