linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: David <lists@edeca.net>, linux-raid@vger.kernel.org
Subject: Re: Swap initialised as an md?
Date: Sun, 25 Mar 2007 23:45:53 -0400	[thread overview]
Message-ID: <460741F1.5060407@tmr.com> (raw)
In-Reply-To: <460439FE.8070605@tls.msk.ru>

Michael Tokarev wrote:
> Bill Davidsen wrote:
> []
>   
>> If you use RAID0 on an array it will be faster (usually) than just
>> partitions, but any process with swapped pages will crash if you lose
>> either drive. With RAID1 operation will be more reliable but no faster.
>> If you use RAID10 the array will be faster and more reliable, but most
>> recovery CDs don't know about RAID10 swap. Any reliable swap will also
>> have the array size smaller than the sum of the partitions (you knew that).
>>     
>
> You seems to forgot to mention 2 more things:
>
>  o swap isn't usually needed for recovery CDs
>   
That's system dependent, but at least two report problems with swap if 
configured as RAID10. Confusing error messages are not a plus when you 
get to the stage of using a recovery CD. The need for swap depends on 
configuration.
>  o kernel vm subsystem already can do equivalent of raid0 for swap internally,
>    by means of allocating several block devices for swap space with the
>    same priority.
>
> If reliability (of swapped processes) is important, one can create several
> RAID1 arrays and "raid0 them" using regular vm techniques.  The result will
> be RAID10 for swap.

Sorry, no. It will be RAID0+1, not the same thing. See RAID10 description.

-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979


      reply	other threads:[~2007-03-26  3:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-10 10:29 Swap initialised as an md? David
2006-11-10 11:55 ` Mogens Kjaer
2006-11-12 14:03   ` Gabor Gombas
2007-03-23 14:56 ` Grow a RAID-6 ? Gordon Henderson
2007-03-23 15:31   ` Mattias Wadenstein
2007-03-23 16:34     ` Gordon Henderson
2007-03-24  2:20       ` Daniel Korstad
2007-03-23 20:22 ` Swap initialised as an md? Bill Davidsen
2007-03-23 20:35   ` Michael Tokarev
2007-03-26  3:45     ` Bill Davidsen [this message]

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=460741F1.5060407@tmr.com \
    --to=davidsen@tmr.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=lists@edeca.net \
    --cc=mjt@tls.msk.ru \
    /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).