Messages in this thread |  | | Date | Wed, 30 Mar 2005 19:34:02 +0400 | From | Michael Tokarev <> | Subject | Re: Disable cache disk |
| |
Yves Crespin wrote: > Hello, > > I write a lot of files on a USB disk for video monitoring archiving. > The write program is faster than the USB. > Cache disk take all RAM and kernel start swapping and everything become > very slow. > 1/ is-it possible to *really* be synchronize. I prefer to have a blocked > write() than use cache and get swap! > 2/ is-it possible to disable cache disk ?
Try open() with O_DIRECT flag for a start.
/mjt - 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/
|  |