From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Andrew Morton <akpm@osdl.org>
Cc: lkml <linux-kernel@vger.kernel.org>, andrea@suse.de, mason@suse.de
Subject: Re: [patch] vm early reclaim orphaned pages
Date: Fri, 17 Jun 2005 13:42:29 +1000 [thread overview]
Message-ID: <1118979750.5261.12.camel@npiggin-nld.site> (raw)
In-Reply-To: <20050616203446.796473a7.akpm@osdl.org>
On Thu, 2005-06-16 at 20:34 -0700, Andrew Morton wrote:
> Nick Piggin <nickpiggin@yahoo.com.au> wrote:
> >
> > We have workloads where orphaned pages build up and appear to slow
> > the system down when it starts reclaiming memory.
> >
> > Stripping the referenced bit from orphaned pages and putting them
> > on the end of the inactive list should help improve reclaim.
>
> Presumably if do_invalidatepage() failed, there's some reason why this page
> is not reclaimable (eg, JBD is still dinking with it). Hence there's a
> very good chance that kswapd won't be able to reclaim it either.
>
Yeah that is a problem I was worried about. Perhaps just stripping
PageReferenced and putting it on the *front* of the inactive list
would be better?
> Adding some instrumentation would be useful: set some new page flag on
> these pages and then accumulate the success/failure stats in vmscan.c, see
> what they say.
>
OK.
[snip patch]
> A standalone function in swap.c would be nicer.
Will do. Thanks.
--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com
next prev parent reply other threads:[~2005-06-17 3:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-17 3:23 Nick Piggin
2005-06-17 3:34 ` Andrew Morton
2005-06-17 3:42 ` Nick Piggin [this message]
2005-06-17 4:20 ` Andrea Arcangeli
2005-06-20 7:23 ` [patch 1/2] vm early reclaim orphaned pages (take 2) Nick Piggin
2005-06-20 7:24 ` [patch 2/2] stats for orphaned pages (-mm only) Nick Piggin
2005-06-20 7:36 ` Andrew Morton
2005-06-20 7:49 ` Nick Piggin
2005-06-20 7:31 ` [patch 1/2] vm early reclaim orphaned pages (take 2) Andrew Morton
2005-06-20 7:32 ` Nick Piggin
2005-06-23 2:51 ` Rik Van Riel
2005-06-23 3:05 ` Nick Piggin
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=1118979750.5261.12.camel@npiggin-nld.site \
--to=nickpiggin@yahoo.com.au \
--cc=akpm@osdl.org \
--cc=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mason@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®