[Top] [All Lists]

Re: Very aggressive memory reclaim

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: Very aggressive memory reclaim
From: Andi Kleen <andi@xxxxxxxxxxxxxx>
Date: Mon, 28 Mar 2011 16:58:50 -0700
Cc: John Lepikhin <johnlepikhin@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, linux-mm@xxxxxxxxx
In-reply-to: <20110328215344.GC3008@dastard> (Dave Chinner's message of "Tue, 29 Mar 2011 08:53:44 +1100")
References: <AANLkTinFqqmE+fTMTLVU-_CwPE+LQv7CpXSQ5+CdAKLK@xxxxxxxxxxxxxx> <20110328215344.GC3008@dastard>
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
Dave Chinner <david@xxxxxxxxxxxxx> writes:
> 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

Often it's to get pages of a higher order. Just tracing alloc_pages
should tell you that.

There are a few other cases (like memory failure handling), but they're
more obscure.

ak@xxxxxxxxxxxxxxx -- Speaking for myself only

<Prev in Thread] Current Thread [Next in Thread>