From: Philipp Reisner <philipp.reisner@linbit.com>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] Running Protocol C with disk cache enabled
Date: Fri, 22 Jun 2007 20:41:34 +0200 [thread overview]
Message-ID: <200706222041.34776.philipp.reisner@linbit.com> (raw)
In-Reply-To: <20070621132606.GB22863@ogo.aicooma.com>
Hi,
Lars and I discussed various implementation ideas about the issue
today. I was just about to write them down. -- But then this though
came to my head:
* The message would be: You no longer need good disk IO subsystems
that tell the operating system the truth. Go out and use the
cheapest RAID5 controllers with enormous on-controller memory,
without battery unit...
In case your secondary crash, DRBD will take care and replay
the data, that was lost in your controller's RAM.
But, how does this work on the primary ? Our activity-log
depends on an working disk subsystem. If you have an IO
subsystem with write-back caches on the primary, we will not
have a complete AL after the crash.
Does it make sense to solve an issue with broken hardware for
a DRBD node in secondary role, when we depend on working hardware
when the same node is in primary role ? -- I do not think so.
The bottom line:
There is lots of working hardware around. SCSI drives do not have
write-back caches (enabled). I guess SATA drives are okay as well,
but I do not know for sure. All serious raid5 controllers have
battery units. People have to use those.
Just a comment to this:
> Well, I look at this slightly differently; use of the on-disk cache is
> really the only way to get decent (i.e. competitive) performance out of
> rotating rust, so what we have to do is find ways to allow this and
> still be correct.
A disk drive or a controller is really fine to take over thousands of
IO operations. -- And in fact Linux (2.6) (and DRBD) takes advantage
of this. I have seen an HP raid5 controller that accepted up 10000
write requests at without blocking acceptance of further write requests.
-- But when the controller signals IO completion to the operating
system it is its task to ensure that the data either is on disk, or
save by other means ( battery backed up RAM ).
-Phil
next prev parent reply other threads:[~2007-06-22 18:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 15:16 [Drbd-dev] Running Protocol C with disk cache enabled Graham, Simon
2007-06-20 13:33 ` Philipp Reisner
2007-06-20 16:31 ` Lars Ellenberg
2007-06-20 19:47 ` Graham, Simon
2007-06-21 13:26 ` Lars Ellenberg
2007-06-22 18:41 ` Philipp Reisner [this message]
2007-06-22 20:03 ` Graham, Simon
2007-06-22 20:09 ` Graham, Simon
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=200706222041.34776.philipp.reisner@linbit.com \
--to=philipp.reisner@linbit.com \
--cc=drbd-dev@lists.linbit.com \
/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.