Re: Raid 0 Swap?

From: Bodo Eggert
Date: Mon Sep 04 2006 - 09:21:07 EST


Michael Tokarev <mjt@xxxxxxxxxx> wrote:

> Marc Perkel wrote:
>> If I have two drives and I want swap to be fast if I allocate swap spam
>> on both drives does it break up the load between them? Or would it run
>> faster if I did a Raid 0 swap?

Swap has priorities, and it will do something like striping if two swap spaces
have the same priority.

[...]
> Ie, your swap space must be reliable. At least not worse than your memory.

It's mostly enough if it's as reliable as the system disk.

> And with striping, you've much more chances of disk failure...

It won't increase because of using striping, but because of the amount
of disks used.
--
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.

http://david.woodhou.se/why-not-spf.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/