From: Stan Hoeppner <stan@hardwarefreak.com>
To: Daniel Pocock <daniel@pocock.com.au>
Cc: David Brown <david.brown@hesbynett.no>,
Roberto Spadim <roberto@spadim.com.br>,
Phil Turmel <philip@turmel.org>,
Marcus Sorensen <shadowsor@gmail.com>,
linux-raid@vger.kernel.org
Subject: Re: md RAID with enterprise-class SATA or SAS drives
Date: Fri, 11 May 2012 17:28:19 -0500 [thread overview]
Message-ID: <4FAD9283.7020809@hardwarefreak.com> (raw)
In-Reply-To: <4FACCAC8.4020206@pocock.com.au>
On 5/11/2012 3:16 AM, Daniel Pocock wrote:
> My understanding of BBWC:
>
> - for things like an NFS server, where the OS and disk hardware can't
> cache write data very aggressively (due to the contract between NFS
> client and server), the BBWC allows you to enable more aggressive
> behavior (e.g. setting barrier=0 on the filesystem level) and gain a
> speed boost
RAID cache works just like CPU L2 cache. In this case it's a buffer
between the system block layer and the physical storage. It can speed
up reads and writes. In the case of writes, it can be configured to
return success to the block layer before it actually writes the data to
disk, speeding up random write IO tremendously in many cases.
> - on the other hand, is BBWC universally effective? E.g. does it just
> write to disk in a crash scenario, or only in the event of an outright
> power failure? Does it depend on any hints from the OS or drivers to
> know about system state?
You're concentrating here specifically on the "B" aspect, which is the
battery. It protects you from power failure and system crashes that
cause a reset of the motherboard. When the card is back up, it's
firmware being executed, it checks that the drives are all up, then
writes the data in the cache to the target sectors of the drives. It's
worked this way for over a decade.
> This is my main point - the fact that md RAID is hardware independent,
> e.g. I can swap from HP to IBM servers and use the same disks.
>
> If I wanted more than RAID1 (e.g. RAID6) maybe I would re-evaluate the
> issue, but for RAID1, a software solution seems fine.
That's the one scenario where I abhor using md raid, as I mentioned. At
least, a boot raid 1 pair. Using layered md raid 1 + 0, or 1 + linear
is a great solution for many workloads. Ask me why I say raid 1 + 0
instead of raid 10.
--
Stan
next prev parent reply other threads:[~2012-05-11 22:28 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-09 22:00 md RAID with enterprise-class SATA or SAS drives Daniel Pocock
2012-05-09 22:33 ` Marcus Sorensen
2012-05-10 13:34 ` Daniel Pocock
2012-05-10 13:51 ` Phil Turmel
2012-05-10 14:59 ` Daniel Pocock
2012-05-10 15:15 ` Phil Turmel
2012-05-10 15:26 ` Marcus Sorensen
2012-05-10 16:04 ` Phil Turmel
2012-05-10 17:53 ` Keith Keller
2012-05-10 18:10 ` Mathias Burén
2012-05-10 18:23 ` Phil Turmel
2012-05-10 19:15 ` Keith Keller
2012-05-10 18:42 ` Daniel Pocock
2012-05-10 19:09 ` Phil Turmel
2012-05-10 20:30 ` Daniel Pocock
2012-05-11 6:50 ` Michael Tokarev
2012-05-21 14:19 ` Brian Candler
2012-05-21 14:29 ` Phil Turmel
2012-05-26 21:58 ` Stefan *St0fF* Huebner
2012-05-10 21:43 ` Stan Hoeppner
2012-05-10 23:00 ` Marcus Sorensen
2012-05-10 21:15 ` Stan Hoeppner
2012-05-10 21:31 ` Daniel Pocock
2012-05-11 1:53 ` Stan Hoeppner
2012-05-11 8:31 ` Daniel Pocock
2012-05-11 13:54 ` Pierre Beck
2012-05-10 21:41 ` Phil Turmel
2012-05-10 22:27 ` David Brown
2012-05-10 22:37 ` Daniel Pocock
[not found] ` <CABYL=ToORULrdhBVQk0K8zQqFYkOomY-wgG7PpnJnzP9u7iBnA@mail.gmail.com>
2012-05-11 7:10 ` David Brown
2012-05-11 8:16 ` Daniel Pocock
2012-05-11 22:28 ` Stan Hoeppner [this message]
2012-05-21 15:20 ` CoolCold
2012-05-21 18:51 ` Stan Hoeppner
2012-05-21 18:54 ` Roberto Spadim
2012-05-21 19:05 ` Stan Hoeppner
2012-05-21 19:38 ` Roberto Spadim
2012-05-21 23:34 ` NeilBrown
2012-05-22 6:36 ` Stan Hoeppner
2012-05-22 7:29 ` David Brown
2012-05-23 13:14 ` Stan Hoeppner
2012-05-23 13:27 ` Roberto Spadim
2012-05-23 19:49 ` David Brown
2012-05-23 23:46 ` Stan Hoeppner
2012-05-24 1:18 ` Stan Hoeppner
2012-05-24 2:08 ` NeilBrown
2012-05-24 6:16 ` Stan Hoeppner
2012-05-24 2:10 ` NeilBrown
2012-05-24 2:55 ` Roberto Spadim
2012-05-11 22:17 ` Stan Hoeppner
-- strict thread matches above, loose matches on Subject: below --
2012-05-10 1:29 Richard Scobie
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=4FAD9283.7020809@hardwarefreak.com \
--to=stan@hardwarefreak.com \
--cc=daniel@pocock.com.au \
--cc=david.brown@hesbynett.no \
--cc=linux-raid@vger.kernel.org \
--cc=philip@turmel.org \
--cc=roberto@spadim.com.br \
--cc=shadowsor@gmail.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 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).