Re: Kernel 2.4.16 & Heavy I/O

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Dec 06 2001 - 17:50:39 EST


> Once a page is used twice, it's not a candidate for eviction
> until (most of) the use-once pages are gone.
>
> This means that if you have these 40 MB of used-twice-but-never-again
> buffer cache memory, this memory will never be evicted until other
> pages get promoted from use-once to active.

Its worth noting btw that you can intentionally exploit this in an app
to get unfair use of memory. That makes me very dubious about the heuristic

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:36 EST