Anyway to disable disk buffers/cache in a particular device?

German Gomez Garcia (german@piraos.com)
Sat, 10 Nov 2001 05:23:29 +0100


Hello,

I would like to know if there is anyway to disable buffering/caching in
a particular device, for example, I have a big 40Mb IDE drive that I use
for video recording and processing, this kind of process just read data and
write it again, buffering is quite useless as the entire file doesn't fit
into memory and it's only read once. I usually run the processing in the
background as it takes several hours, the problem is that the kernel paged out
almost everything in order to cache most of the file.

Regards,

- german

PS: Please CC'd to me as I'm not subscribed the the kernel mailing list.
-------------------------------------------------------------------------
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/