From: Jeff Garzik <jeff@garzik.org>
To: Justin Piszcz <jpiszcz@lucidpixels.com>
Cc: David Lethe <david@santools.com>, linux-raid@vger.kernel.org
Subject: Re: Has anyone compared SWRAID for (JBOD@HW-RAID) vs. (Regular Sata PCI-e cards)?
Date: Sat, 10 May 2008 13:14:02 -0400 [thread overview]
Message-ID: <4825D7DA.2050608@garzik.org> (raw)
In-Reply-To: <alpine.DEB.1.10.0805101014200.1844@p34.internal.lan>
Justin Piszcz wrote:
> .. What I meant was is JBOD using a single card with 16 ports faster than
> using JBOD with multiple PCI-e SATA cards?
JBOD on a HW RAID card is really wasting it's primary purpose,
offloading RAID processing from the CPU, and consolidating large
transactions.
Using HW RAID-1 means that, for example, _one_ copy of a 4k write to a
RAID-1 device goes the card, which performs data replication to each
device. In SW RAID's case, $N copies cross the PCI bus, one copy for
each device in the RAID-1 mirror.
In HW RAID-5, one 4k write can go to the card, which then performs the
parity calculation and data replication. In SW RAID-5, the parity
calculation occurs on the host CPU, and $N copies go across the PCI bus.
Running HW RAID in JBOD mode eliminates all the efficiencies of HW RAID
just listed. You might as well run normal SATA at that point, because
you gain additional flexibility and faster performance.
But unless you are maxing out PCI bus bandwidth -- highly unlikely for
PCI Express unless you have 16 SSDs or so -- you likely won't even
notice SW RAID's additional PCI bus use.
And of course, there are plenty of other factors to consider. I wrote a
bit on this topic at http://linux.yyz.us/why-software-raid.html
Jeff
next prev parent reply other threads:[~2008-05-10 17:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-10 14:06 Has anyone compared SWRAID for (JBOD@HW-RAID) vs. (Regular Sata PCI-e cards)? David Lethe
2008-05-10 14:15 ` Justin Piszcz
2008-05-10 17:14 ` Jeff Garzik [this message]
2008-05-10 22:28 ` Keld Jørn Simonsen
2008-05-11 7:39 ` Keld Jørn Simonsen
-- strict thread matches above, loose matches on Subject: below --
2008-05-10 18:24 David Lethe
2008-05-10 14:47 David Lethe
2008-05-10 9:23 Justin Piszcz
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=4825D7DA.2050608@garzik.org \
--to=jeff@garzik.org \
--cc=david@santools.com \
--cc=jpiszcz@lucidpixels.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).