[Top] [All Lists]

Re: Very aggressive memory reclaim

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: Very aggressive memory reclaim
From: John Lepikhin <johnlepikhin@xxxxxxxxx>
Date: Tue, 29 Mar 2011 11:26:00 +0400
Cc: linux-kernel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, linux-mm@xxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=bTGbzmM7YuzrOWSy3UKWgcXVaWYQl7/B4/PeutBjTr8=; b=w88ZYC87Od5R8zjU2ylWsGEGJnwKjdj8dlaAm0GyTKy1+hEqkwMroxRslCw/z4RNjg gm2jnGBckbUpkWdQkfmbHCvfEuy+zy2ZGOFqORX5C0xdQvY7Zd0+3xgATiCnK07BKpjT n044/ntkYh/Arm3DwZdebWSpu1CatR7vAzGNQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dV6gE48SVMJeJU0XtWJTF4VrI03R+UgnuyFeilT3eLtqNLN5iZnE2V390Uja8+T8up HccEcycvBck4L2v/D1si1/99hecg+638CdwclbHsyZgwXXI6DLnpipEoYrSpOwaKu+8i UsTlxAYzT6vd8eJeOxDM5moMCFrOYkXRWT1H8=
In-reply-to: <20110328215344.GC3008@dastard>
References: <AANLkTinFqqmE+fTMTLVU-_CwPE+LQv7CpXSQ5+CdAKLK@xxxxxxxxxxxxxx> <20110328215344.GC3008@dastard>
2011/3/29 Dave Chinner <david@xxxxxxxxxxxxx>:

> 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.

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