linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Molle Bestefich <molle.bestefich@gmail.com>
To: dbakker1@yahoo.com
Cc: linux-raid@vger.kernel.org
Subject: Re: Raid 1 disk scheduling
Date: Mon, 30 May 2005 10:01:58 +0200	[thread overview]
Message-ID: <62b0912f05053001013e2d8e47@mail.gmail.com> (raw)
In-Reply-To: <20050529190628.46785.qmail@web30501.mail.mud.yahoo.com>

David F. Bakker wrote:
> I have a server with lots of available RAM (10GB) I
> wanted to create an md raid 1 device that would mirror
> a large ramdisk (2GB) to a scsi md device. The
> thinking here is writes will be just as fast as always
> since I/O is sync to both the RAM and hard disk.
> However reads should be crazy fast since it should be
> coming from the device with the lower latency or the
> one that answers first (RAM). It looks like the I/O is
> done in a round robin setup. I get amazing reads every
> other test (cat'n a file) which seems it is a round
> robin scheme. Can this be changed somehow to prefer a
> device or use latency instead?

Linux should use any available RAM for disk cache.
Are you sure that using MD as a disk cache like above is any faster than that?

  reply	other threads:[~2005-05-30  8:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-29 19:06 Raid 1 disk scheduling David F. Bakker
2005-05-30  8:01 ` Molle Bestefich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-30 14:01 David F. Bakker

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=62b0912f05053001013e2d8e47@mail.gmail.com \
    --to=molle.bestefich@gmail.com \
    --cc=dbakker1@yahoo.com \
    --cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).