From: Rik van Riel <riel@redhat.com>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: Zheng Liu <gnehzuil.liu@gmail.com>, Michal Hocko <mhocko@suse.cz>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Mel Gorman <mel@csn.ul.ie>, Minchan Kim <minchan@kernel.org>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Subject: Re: [PATCH] mm: consider all swapped back pages in used-once logic
Date: Sat, 23 Jun 2012 11:22:06 -0400 [thread overview]
Message-ID: <4FE5DF1E.1030208@redhat.com> (raw)
In-Reply-To: <20120623110450.GP27816@cmpxchg.org>
On 06/23/2012 07:04 AM, Johannes Weiner wrote:
> I think we need to go back to protecting mapped pages based on how
> much of reclaimable memory they make up, one way or another.
>
> Minchan suggested recently to have a separate LRU list for easily
> reclaimable pages. If we balance the lists according to relative
> size, we have pressure on mapped pages dictated by availability of
> clean cache that is easier to reclaim.
>
> Rik, Minchan, what do you think?
I believe the main reclaim balancings should probably be
"cgroup vs cgroup", "anon vs file" and "active vs inactive".
However, there is some room for sorting within the inactive
file list, to ensure we actually have a bunch of easily
reclaimable pages available at all times.
This would not work on the anon side, because there are
workloads that fill up 95% of memory with working set,
but on the file side it could actually solve some real
issues.
--
All rights reversed
--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2012-06-23 15:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-17 9:13 [PATCH] mm: consider all swapped back pages in used-once logic Michal Hocko
2012-05-17 9:24 ` Andrew Morton
2012-05-17 12:10 ` Michal Hocko
2012-05-17 20:23 ` Andrew Morton
2012-05-18 6:50 ` Michal Hocko
2012-05-17 13:14 ` Rik van Riel
2012-05-17 19:54 ` Johannes Weiner
2012-05-21 2:51 ` Zheng Liu
2012-05-21 7:36 ` Johannes Weiner
2012-05-21 8:59 ` Zheng Liu
2012-05-21 9:37 ` Johannes Weiner
2012-05-21 11:07 ` Zheng Liu
2012-06-23 11:04 ` Johannes Weiner
2012-06-23 15:22 ` Rik van Riel [this message]
2012-06-24 23:53 ` Minchan Kim
2012-06-25 8:08 ` Johannes Weiner
2012-06-25 8:25 ` Minchan Kim
2012-06-26 13:51 ` Johannes Weiner
2012-06-26 23:47 ` Minchan Kim
2012-05-18 0:40 ` Minchan Kim
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=4FE5DF1E.1030208@redhat.com \
--to=riel@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=gnehzuil.liu@gmail.com \
--cc=hannes@cmpxchg.org \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mel@csn.ul.ie \
--cc=mhocko@suse.cz \
--cc=minchan@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).