linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Keld Jørn Simonsen" <keld@dkuug.dk>
To: Moshe Yudkowsky <moshe@pobox.com>
Cc: Peter Rabbitson <rabbit+list@rabbit.us>,
	Michael Tokarev <mjt@tls.msk.ru>,
	linux-raid@vger.kernel.org
Subject: Re: In this partition scheme, grub does not find md information?
Date: Tue, 29 Jan 2008 21:21:56 +0100	[thread overview]
Message-ID: <20080129202156.GA32434@rap.rap.dk> (raw)
In-Reply-To: <479F7FCD.7030106@pobox.com>

On Tue, Jan 29, 2008 at 01:34:37PM -0600, Moshe Yudkowsky wrote:
> 
> I'm going to convert back to the RAID 1 setup I had before for /boot, 2 
> hot and 2 spare across four drives. No, that's wrong: 4 hot makes the 
> most sense.
> 
> And given that RAID 10 doesn't seem to confer (for me, as far as I can 
> tell) advantages in speed or reliability -- or the ability to mount just 
> one surviving disk of a mirrored pair -- over RAID 5, I think I'll 
> convert back to RAID 5, put in a hot spare, and do regular backups (as 
> always). Oh, and use reiserfs with data=journal.

Hmm, my idea was to use a raid10,f2 4 disk raid for the /root, or a o2
layout. I think it would offer quite some speed advantage over raid5. 
At least I had on a 4 disk raid5 only a random performance of about 130
MB/s while the raid10 gave 180-200 MB/s. Also sequential read was
significantly faster on raid10. I do think I can get about 320 MB/s 
on the raid10,f2, but I need to have a bigger power supply to support my
disks before I can go on testing. The key here is bigger readahead.
I only got 150 MB/s for raid5 sequential reads. 

I think the sequential read could be significant in the boot time,
and then for the single user running on the system, namely the system
administrator (=me), even under reasonable load.

I would be interested if you would experiment with this wrt boot time,
for example the difference between /root on a raid5, raid10,f2 and raid10,o2.



> Comments back:
> 
> Mr. Tokarev wrote:
> 
> >By the way, on all our systems I use small (256Mb for small-software 
> >systems,
> >sometimes 512M, but 1G should be sufficient) partition for a root 
> >filesystem
> >(/etc, /bin, /sbin, /lib, and /boot), and put it on a raid1 on all...
> >... doing [it]
> >this way, you always have all the tools necessary to repair a damaged 
> >system
> >even in case your raid didn't start, or you forgot where your root disk is
> >etc etc.
> 
> An excellent idea. I was going to put just /boot on the RAID 1, but 
> there's no reason why I can't add a bit more room and put them all 
> there. (Because I was having so much fun on the install, I'm using 4GB 
> that I was going to use for swap space to mount base install and I'm 
> working from their to build the RAID. Same idea.)

If you put more than /boot on the raid1, then you will not get the added
performance of raid10 for all your system utilities. 

I am not sure about redundance, but a raid1 and a raid10 should be
equally vulnerable to a 1 disk faliure. If you use a 4 disk raid1 for 
/root, then of cause you can survive 3 disk crashes.

I am not sure that 4 disks in a raid1 for /root give added performance, 
as grub only sees the /root raid1 as a normal disk, but maybe some kind of
remounting makes it get its raid behaviour.


> >Also, placing /dev on a tmpfs helps alot to minimize number of writes
> >necessary for root fs.

I thought of using the noatime mount option for /root.

best regards
Keld

  reply	other threads:[~2008-01-29 20:21 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29  4:44 In this partition scheme, grub does not find md information? Moshe Yudkowsky
2008-01-29  5:08 ` Neil Brown
2008-01-29 11:02   ` Moshe Yudkowsky
2008-01-29 11:14     ` Peter Rabbitson
2008-01-29 11:29       ` Moshe Yudkowsky
2008-01-29 14:09         ` Michael Tokarev
2008-01-29 14:07       ` Michael Tokarev
2008-01-29 14:47         ` Peter Rabbitson
2008-01-29 15:13           ` Michael Tokarev
2008-01-29 15:41             ` Peter Rabbitson
2008-01-29 16:51               ` Michael Tokarev
2008-01-29 17:51                 ` Keld Jørn Simonsen
2008-01-29 16:16             ` Moshe Yudkowsky
2008-01-29 16:34               ` Peter Rabbitson
2008-01-29 19:34                 ` Moshe Yudkowsky
2008-01-29 20:21                   ` Keld Jørn Simonsen [this message]
2008-01-29 22:14                     ` Moshe Yudkowsky
2008-01-29 23:45                       ` Bill Davidsen
2008-01-30  0:13                         ` Moshe Yudkowsky
2008-01-30 22:36                           ` Bill Davidsen
2008-01-30  0:17                       ` Keld Jørn Simonsen
2008-01-29 23:44                   ` Bill Davidsen
2008-01-30  0:22                     ` Keld Jørn Simonsen
2008-01-30  0:26                       ` Peter Rabbitson
2008-01-30 22:39                         ` Bill Davidsen
2008-01-30  0:32                       ` Moshe Yudkowsky
2008-01-30  0:53                         ` Keld Jørn Simonsen
2008-01-30  1:00                           ` Moshe Yudkowsky
2008-01-31 14:40                             ` Bill Davidsen
2008-01-30 13:11                   ` Michael Tokarev
2008-01-30 14:10                     ` Moshe Yudkowsky
2008-01-30 14:41                       ` Michael Tokarev
2008-01-31 14:59                       ` Bill Davidsen
2008-02-02 20:17                         ` Bill Davidsen
2008-01-30 12:01                 ` Peter Rabbitson
2008-01-29 16:42               ` Michael Tokarev
2008-01-29 16:26             ` Keld Jørn Simonsen
2008-01-29 16:46               ` Michael Tokarev
2008-01-29 18:01                 ` Keld Jørn Simonsen
2008-01-30 13:37                   ` Michael Tokarev
2008-01-30 14:47                     ` Peter Rabbitson
2008-01-30 15:21                       ` Keld Jørn Simonsen
2008-01-30 15:35                         ` Peter Rabbitson
2008-01-30 15:46                           ` Loop devices to RAID? (was Re: In this partition scheme, grub does not find md information?) Moshe Yudkowsky
2008-01-30 15:56                             ` Tim Southerwood
2008-01-29 15:57           ` In this partition scheme, grub does not find md information? Moshe Yudkowsky
2008-01-29 16:37             ` Keld Jørn Simonsen
2008-01-29 16:57               ` Michael Tokarev
2008-01-30 11:03             ` David Greaves
2008-01-30 11:44               ` Moshe Yudkowsky
2008-01-30 12:00                 ` WRONG INFO (was Re: In this partition scheme, grub does not find md information?) Peter Rabbitson
2008-01-30 12:41                   ` David Greaves
2008-01-30 13:39                   ` Michael Tokarev
2008-02-04 16:49               ` In this partition scheme, grub does not find md information? John Stoffel
2008-02-04 17:26                 ` Michael Tokarev
2008-01-30 11:03           ` David Greaves
2008-01-29 14:48         ` Keld Jørn Simonsen
2008-01-29 16:00           ` Moshe Yudkowsky
2008-01-29 16:25             ` Peter Rabbitson
2008-01-29 14:04     ` Keld Jørn Simonsen

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=20080129202156.GA32434@rap.rap.dk \
    --to=keld@dkuug.dk \
    --cc=linux-raid@vger.kernel.org \
    --cc=mjt@tls.msk.ru \
    --cc=moshe@pobox.com \
    --cc=rabbit+list@rabbit.us \
    /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).