Skip to contentSkip to conversation

Disabling file system caching

DISCUSSION Martin Knoblauch 1 participant 1 message Jan 20, 2003

lore
Share & tools
lore

Martin Knoblauch

author
#0 lore raw
Quoted 9 lines

Re: Disabling file system caching

From: Rik van Riel ([email protected])
Date: Sun Jan 19 2003 - 20:05:00 EST

Quoted 1 line · Jean-Eric Cuendet

Is it possible to disable file caching for a given partition or mount?

Quoted 8 lines

No, if you do that mmap(), read(), write() etc. would be impossible.

Quoted 1 line

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