Very aggressive memory reclaim

John Lepikhin johnlepikhin at gmail.com
Tue Mar 29 02:26:00 CDT 2011


2011/3/29 Dave Chinner <david at fromorbit.com>:

> First it would be useful to determine why the VM is reclaiming so
> much memory. If it is somewhat predictable when the excessive
> reclaim is going to happen, it might be worth capturing an event
> trace from the VM so we can see more precisely what it is doiing
> during this event. In that case, recording the kmem/* and vmscan/*
> events is probably sufficient to tell us what memory allocations
> triggered reclaim and how much reclaim was done on each event.

Do you mean I must add some debug to mm functions? I don't know any
other way to catch such events.




More information about the xfs mailing list