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

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

 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.

/mjt

  reply	other threads:[~2007-03-23 20:35 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 [this message]
2007-03-26  3:45     ` Bill Davidsen

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