Re: Kernel 2.4.16 & Heavy I/O

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 6 Dec 2001 22:50:39 +0000 (GMT)


> 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/