Re: Disable cache disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux