Re: [PATCH] vmscan: evict use-once pages first (v2)
From: Rik van Riel
Date: Fri May 01 2009 - 16:10:30 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/