Re: Disabling file system caching

Martin Knoblauch ("@mscsoftware.com)
Mon, 20 Jan 2003 13:52:24 +0100


> Re: Disabling file system caching
>
> From: Rik van Riel (riel@conectiva.com.br)
> Date: Sun Jan 19 2003 - 20:05:00 EST
>
> On Sun, 19 Jan 2003, Jean-Eric Cuendet wrote:
>
> > Is it possible to disable file caching for a given partition or mount?
>
> No, if you do that mmap(), read(), write() etc. would be impossible.
>
> > Or at least to limit it at a certain quantity of memory?
>
> Not yet. I'm thinking of implementing something like this
> for the next version of -rmap (reclaim only from the cache
> if the cache occupies more than a certain fraction of ram).
>

Yes please !!!
Yes please !!!
Yes please !!!

:-)

Having a maximum [and maybe minimum] knob for controlling the cache
would be an extremely useful feature in some situations.

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