From: bert hubert <ahu@ds9a.nl>
To: Nathan Black <NBlack@md.aacisd.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: drive/block device write scheduling, buffer flushing?
Date: Wed, 31 Jan 2001 18:51:21 +0100 [thread overview]
Message-ID: <20010131185120.B3287@home.ds9a.nl> (raw)
In-Reply-To: <8FED3D71D1D2D411992A009027711D67187E@md>
In-Reply-To: <8FED3D71D1D2D411992A009027711D67187E@md>; from NBlack@md.aacisd.com on Wed, Jan 31, 2001 at 11:52:25AM -0500
On Wed, Jan 31, 2001 at 11:52:25AM -0500, Nathan Black wrote:
> I was wondering if there is a way to make the kernel write to disk faster.
> I need to maintain a 10 MB /sec write rate to a 10K scsi disk in a computer,
> but it caches and doesn't start writing to disk until I hit about 700 MB. At
> that point, it pauses(presumably while the kernel is flushing some of the
> buffers) and I will have missed data that I am trying to capture.
try opening with O_SYNC, or call fsync() every once in a while. Otherwise,
this sounds like an application for a raw device, whereby you can write
directly to the disk, with no caching in between.
Regards,
bert
--
PowerDNS Versatile DNS Services
Trilab The Technology People
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-01-31 17:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-31 16:52 Nathan Black
2001-01-31 17:51 ` bert hubert [this message]
2001-02-01 8:56 ` Rogier Wolff
2001-01-31 18:29 Nathan Black
2001-01-31 18:41 ` Jens Axboe
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=20010131185120.B3287@home.ds9a.nl \
--to=ahu@ds9a.nl \
--cc=NBlack@md.aacisd.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®