Re: Some thoughts about cache and swap
From: Rik van Riel
Date: Sat Jun 05 2004 - 18:41:03 EST
On Sat, 5 Jun 2004, [UTF-8] Lasse Kärkkäinen / Tronic wrote:
> In order to make better use of the limited cache space, the following
> methods could be used:
[snip magic piled on more magic]
I wonder if we should just bite the bullet and implement
LIRS, ARC or CART for Linux. These replacement algorithms
should pretty much detect by themselves which pages are
being used again (within a reasonable time) and which pages
aren't.
Especially CART looks interesting.
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
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/