From: Michael Tokarev <mjt@tls.msk.ru>
To: Yves Crespin <crespin.quartz@wanadoo.fr>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Disable cache disk
Date: Wed, 30 Mar 2005 19:34:02 +0400 [thread overview]
Message-ID: <424AC6EA.9040707@tls.msk.ru> (raw)
In-Reply-To: <424AA2F0.3090100@wanadoo.fr>
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
next prev parent reply other threads:[~2005-03-30 15:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-30 13:00 Disable cache disk Yves Crespin
2005-03-30 15:34 ` Michael Tokarev [this message]
2005-03-30 15:38 ` Christian Bornträger
2005-03-31 7:23 ` Yves Crespin
2005-03-31 8:25 ` Christian Borntraeger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=424AC6EA.9040707@tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=crespin.quartz@wanadoo.fr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.