From: "Majed B." <majedb@gmail.com>
To: LinuxRaid <linux-raid@vger.kernel.org>
Subject: Re: RAID1 On 3 Drives
Date: Mon, 15 Mar 2010 15:48:44 +0300 [thread overview]
Message-ID: <70ed7c3e1003150548v65dce098ud62ddfbcc0747d49@mail.gmail.com> (raw)
In-Reply-To: <d80f793f1003150530y1b229f43s1f140f91ab74f3e8@mail.gmail.com>
Carlos,
Choosing your RAID setup depends on the purpose of your machine. Is it
a web server, file server, archive, mail, video storage, ...etc.?
/boot is only used during boot up. Having a spare on stand by or not
does not affect performance, except in the case a disk dies; in that
case, the hot spare is engaged and becomes an active disk at which the
array starts to resync the data to this new disk. During resyncing,
performance will be degraded.
Including all disks in the array (no spare) means data is being
written in parallel to all disks at all times. You'd still have to
replace a dead disk and add it to the array and it will still have to
resync.
As for your RAID5 question: I think if your usage of the server is
write-mostly, you may find it to have better performance with 3 disks
rather 4. If it's read-mostly, then 4 disks should perform better.
If you have physical access to the machine, try both cases. Setting
them up won't take more than 5-10 minutes. Benchmarking wouldn't take
more than 15 minutes in each setup.
Remember, there are parameters to fine-tune: NCQ, read-ahead, noatime,
nodiratime, chunksize, ...etc.
On Mon, Mar 15, 2010 at 3:30 PM, Carlos Mennens <carloswill@gmail.com> wrote:
> On Sat, Mar 13, 2010 at 6:50 PM, Bill Davidsen <davidsen@tmr.com> wrote:
>> Having a spare on raid-1 is fairly pointless, it hurts performance and buys
>> you nothing. Having one more copy of the data built and ready serves you
>> better.
>
> Can you explain this as I find this interesting. How does having a
> /boot partition on 3 drives with 1 spare hurt performance? Are you
> saying that I would get better drive performance if I had all 4 disk
> partitions active members of my RAID1 /boot? I just don't understand
> how the 4th disk doing nothing but acting as a spare would hinder
> performance.
>
> Secondly, if the above statement also applies to my / partition? Would
> you suggest using all 4 drives as active partitions in a RAID5 array
> too? If I have a 3 disk RAID5 and one hot spare, do you think I would
> get less performance value for my configuration?
>
> Thanks for the clarification!
> --
> 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
>
--
Majed B.
--
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:[~2010-03-15 12:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-13 22:30 RAID1 On 3 Drives Joachim Otahal
2010-03-13 23:18 ` Carlos Mennens
2010-03-13 23:50 ` Bill Davidsen
2010-03-15 12:30 ` Carlos Mennens
2010-03-15 12:48 ` Majed B. [this message]
2010-03-15 14:47 ` Carlos Mennens
2010-03-15 16:05 ` Majed B.
2010-03-16 1:46 ` Keld Simonsen
2010-03-20 16:08 ` Bill Davidsen
-- strict thread matches above, loose matches on Subject: below --
2010-03-13 21:06 Carlos Mennens
2010-03-13 21:21 ` Majed B.
2010-03-13 21:24 ` Carlos Mennens
2010-03-14 21:09 ` Luca Berra
2010-03-13 21:45 ` Neil Brown
2010-03-13 21:26 ` Neil Brown
2010-03-13 21:31 ` Majed B.
2010-03-13 21:50 ` Neil Brown
2010-03-14 3:30 ` Majed B.
2010-03-14 1:22 ` thib
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=70ed7c3e1003150548v65dce098ud62ddfbcc0747d49@mail.gmail.com \
--to=majedb@gmail.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).