Re: [patch] Re: 2.3.42 buffer problem/leak ?

From: Linus Torvalds (torvalds@transmeta.com)
Date: Wed Feb 09 2000 - 14:56:25 EST


On Wed, 9 Feb 2000, Andrea Arcangeli wrote:
>
> It basically avoids the caching part of the icache and dcache to grow more
> than 2% of the memory in the machine.

Heuristics like these are BAD. The heuristicsfor trying to limie buffer
cache and page cache were one of the reasons that we tended to suck at
specweb, because it silently just didn't use available memory for caching.

Don't limit what the memory is used for - let the dynamics of the
allocators do the best they can. If there are problems with the
_freeing_ of the memory, that is what should be fixed, not this.

                Linus

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



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:16 EST