lkml.org 
[lkml]   [2005]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-04-06 13:31    [W:0.036 / U:6.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site