[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49FB56C3.4030407@redhat.com>
Date: Fri, 01 May 2009 16:08:35 -0400
From: Rik van Riel <riel@...hat.com>
To: Ray Lee <ray-lk@...rabbit.org>
CC: Andrew Morton <akpm@...ux-foundation.org>, elladan@...imo.com,
peterz@...radead.org, linux-kernel@...r.kernel.org, tytso@....edu,
kosaki.motohiro@...fujitsu.com, linux-mm@...ck.org
Subject: Re: [PATCH] vmscan: evict use-once pages first (v2)
Ray Lee wrote:
> Streaming IO should always be at the bottom of the list as it's nearly
> always use-once. That's not the interesting case.
Unfortunately, on current 2.6.28 through 2.6.30 that is broken.
Streaming IO will eventually eat away all of the pages on the
active file list, causing the binaries and libraries that programs
used to be kicked out of memory.
Not interesting?
> The interesting case is an updatedb running in the background, paging
> out firefox, or worse, parts of X. That sucks.
This is a combination of use-once IO and VFS metadata.
The used-once pages can be reclaimed fairly easily.
The growing metadata needs to be addressed by putting pressure
on it via the slab/slub/slob shrinker functions.
--
All rights reversed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists