From: David Rees <drees76@gmail.com>
To: "Keld Jørn Simonsen" <keld@dkuug.dk>
Cc: linux-raid@vger.kernel.org
Subject: Re: raind-1 resync speed slow down to 50% by the time it finishes
Date: Thu, 30 Jul 2009 13:11:20 -0700 [thread overview]
Message-ID: <72dbd3150907301311t5abef2fai91cdae154b987d33@mail.gmail.com> (raw)
In-Reply-To: <20090730101846.GA17332@rap.rap.dk>
2009/7/30 Keld Jørn Simonsen <keld@dkuug.dk>:
> I think raid10,f2 only degrades 10-20 % while raid1 can degrade as much
> as 50 %. For writing it is about the same, given that you use a file
> system on top of the raid.
Has anyone done any benchmarks of near vs far setups?
From what I understand, here's how performance should go for a 2-disk
raid10 setup:
Streaming/large reads far: Up to 100% faster since reads are striped
across both disks
Streaming/large reads near: Same as single disk as reads can't be
striped across both disks
Streaming/large writes far: Slower than single disk, since disks have
to seek to write. How much of a hit in performance will depend on
chunk size.
Streaming/large writes near: Same as single disk.
Random/small reads far: Up to 100% faster
Random/small reads near: Up to 100% faster
Random/small writes far: Same as single disk.
Random/small writes near: Same as single disk.
So basically, if you have a setup which mostly reads from disk, using
a far layout is beneficial, but if you have a setup which does a
higher percentage of writes, sticking to a near layout will be faster.
I recently set up an 8-disk RAID10 across 8 7200 disks across 3 controllers.
5 disks are in an external enclosure via eSATA and a PCIe card.
2 disks are using onboard SATA controller
1 disk is using onboard IDE controller
I debated whether or not to use near or far, but ultimately stuck with
near for two reasons:
1. The array mostly sees write activity, streaming reads aren't that common.
2. I can only get about 120 MB/s out of the external enclosure because
of the PCIe card [1] , so being able to stripe reads wouldn't help get
any extra performance out of those disks.
-Dave
[1] http://ata.wiki.kernel.org/index.php/Hardware,_driver_status#Silicon_Image_3124
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-07-30 20:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 6:25 raind-1 resync speed slow down to 50% by the time it finishes Tirumala Reddy Marri
2009-07-30 7:35 ` Robin Hill
2009-07-30 10:18 ` Keld Jørn Simonsen
2009-07-30 20:11 ` David Rees [this message]
2009-07-31 17:54 ` Keld Jørn Simonsen
2009-07-31 18:10 ` Keld Jørn Simonsen
2009-07-31 20:10 ` David Rees
2009-08-01 13:00 ` Keld Jørn Simonsen
2009-08-01 15:13 ` David Rees
2009-08-01 17:57 ` Keld Jørn Simonsen
2009-08-04 22:21 ` David Rees
2009-08-04 23:18 ` John Robinson
2009-08-04 23:42 ` David Rees
2009-08-05 8:20 ` Keld Jørn Simonsen
2009-08-05 8:08 ` Keld Jørn Simonsen
2009-08-05 7:44 ` Keld Jørn Simonsen
2009-08-05 8:18 ` NeilBrown
2009-07-30 8:44 ` Mikael Abrahamsson
2009-07-30 18:35 ` Tracy Reed
2009-07-30 20:28 ` David Rees
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=72dbd3150907301311t5abef2fai91cdae154b987d33@mail.gmail.com \
--to=drees76@gmail.com \
--cc=keld@dkuug.dk \
--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).