All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Dave Chinner <david@fromorbit.com>
Cc: linux-mm@kvack.org, John Lepikhin <johnlepikhin@gmail.com>,
	linux-kernel@vger.kernel.org, xfs@oss.sgi.com
Subject: Re: Very aggressive memory reclaim
Date: Mon, 28 Mar 2011 16:58:50 -0700	[thread overview]
Message-ID: <m2bp0u23wl.fsf@firstfloor.org> (raw)
In-Reply-To: <20110328215344.GC3008@dastard> (Dave Chinner's message of "Tue, 29 Mar 2011 08:53:44 +1100")

Dave Chinner <david@fromorbit.com> 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.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

WARNING: multiple messages have this Message-ID (diff)
From: Andi Kleen <andi@firstfloor.org>
To: Dave Chinner <david@fromorbit.com>
Cc: John Lepikhin <johnlepikhin@gmail.com>,
	linux-kernel@vger.kernel.org, xfs@oss.sgi.com,
	linux-mm@kvack.org
Subject: Re: Very aggressive memory reclaim
Date: Mon, 28 Mar 2011 16:58:50 -0700	[thread overview]
Message-ID: <m2bp0u23wl.fsf@firstfloor.org> (raw)
In-Reply-To: <20110328215344.GC3008@dastard> (Dave Chinner's message of "Tue, 29 Mar 2011 08:53:44 +1100")

Dave Chinner <david@fromorbit.com> 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.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only

WARNING: multiple messages have this Message-ID (diff)
From: Andi Kleen <andi@firstfloor.org>
To: Dave Chinner <david@fromorbit.com>
Cc: John Lepikhin <johnlepikhin@gmail.com>,
	linux-kernel@vger.kernel.org, xfs@oss.sgi.com,
	linux-mm@kvack.org
Subject: Re: Very aggressive memory reclaim
Date: Mon, 28 Mar 2011 16:58:50 -0700	[thread overview]
Message-ID: <m2bp0u23wl.fsf@firstfloor.org> (raw)
In-Reply-To: <20110328215344.GC3008@dastard> (Dave Chinner's message of "Tue, 29 Mar 2011 08:53:44 +1100")

Dave Chinner <david@fromorbit.com> 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.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  parent reply	other threads:[~2011-03-28 23:57 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-28 16:39 Very aggressive memory reclaim John Lepikhin
2011-03-28 17:42 ` Steven Rostedt
     [not found] ` <4D90C071.7040205@mnsu.edu>
2011-03-28 18:50   ` John Lepikhin
2011-03-30 13:48     ` Wu Fengguang
2011-03-28 21:53 ` Dave Chinner
2011-03-28 21:53   ` Dave Chinner
2011-03-28 21:53   ` Dave Chinner
2011-03-28 22:52   ` Minchan Kim
2011-03-28 22:52     ` Minchan Kim
2011-03-28 22:52     ` Minchan Kim
2011-03-29  2:55     ` KOSAKI Motohiro
2011-03-29  2:55       ` KOSAKI Motohiro
2011-03-29  2:55       ` KOSAKI Motohiro
2011-03-29  7:33       ` John Lepikhin
2011-03-29  7:33         ` John Lepikhin
2011-03-29  7:33         ` John Lepikhin
2011-03-29  7:22     ` John Lepikhin
2011-03-29  7:22       ` John Lepikhin
2011-03-28 23:58   ` Andi Kleen [this message]
2011-03-28 23:58     ` Andi Kleen
2011-03-28 23:58     ` Andi Kleen
2011-03-29  1:57     ` Dave Chinner
2011-03-29  1:57       ` Dave Chinner
2011-03-29  1:57       ` Dave Chinner
2011-03-29  7:26   ` John Lepikhin
2011-03-29  7:26     ` John Lepikhin
2011-03-29  7:26     ` John Lepikhin
2011-03-29  8:59     ` Avi Kivity
2011-03-29  8:59       ` Avi Kivity
2011-03-29  8:59       ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2bp0u23wl.fsf@firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=david@fromorbit.com \
    --cc=johnlepikhin@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.