Messages in this thread | | | Date | Sun, 19 Jan 2003 23:05:00 -0200 (BRST) | From | Rik van Riel <> | Subject | Re: Disabling file system caching |
| |
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).
> I think of a BIG compilation (several GB of files) and would tell gcc to > not cache the compiled files.
But what about the .h files ? You will want to cache those.
regards,
Rik -- Bravely reimplemented by the knights who say "NIH". http://www.surriel.com/ http://guru.conectiva.com/ Current spamtrap: <a href=mailto:"october@surriel.com">october@surriel.com</a> - 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/
| |