Limiting cache on device basis.

German Gomez Garcia (german@piraos.com)
Sat, 17 Nov 2001 01:12:09 +0100 (CET)


Hello,

I would like to know if it is possible to limit the maximum
cache used by a device. If not, wouldn't it be usefull? for example,
you may want to limit the maximum cache used for /video (big IDE HD)
to the minimum necesary to let you write arbitrary sized files to the
HD, so you don't need to fix your files size. It would be usefull also
to limit the cache, so /usr or /var or even /lib get enough cached as
to allow important bits are keep in memory. Of course this could be
set as a mount option. If setting absolute cache percent or size isn't
nice, it could be done using priority settings.

Regards,

- german

PS: Please CC'd to me as I'm not subscribed to the list. Thanks.
-------------------------------------------------------------------------
German Gomez Garcia | Send email with "SEND GPG KEY" as subject
<german@piraos.com> | to receive my GnuPG public key.

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