Mailinglist Archive: opensuse (3217 mails)

< Previous Next >
Re: [SLE] RAID and Swap.
  • From: Mobeen Azhar <moby@xxxxxxxxxxxxxx>
  • Date: Thu, 18 Mar 2004 21:42:02 -0600
  • Message-id: <405A6C0A.4030006@xxxxxxxxxxxxxx>
If you lose your swap drive during machine uptime, most likely the machine will crash. Hence one benefit of putting swap on RAID is increased fault tolerance, although with software RAID you do have to balance that with a slight decrease in performance.

John Andersen wrote:

On Thursday 18 March 2004 14:46, Dave Lists wrote:

I have a machine booting off IDE RAID.
/dev/md0 / reiserfs
defaults 1 1
/dev/hda2 swap swap
pri=42 0 0
/dev/hdc2 swap swap
pri=42 0 0

What I'm wondering is can I convert my dual swaps to one single RAIDed


Why would you want to do that?
Raid is slower than regular ide because of the need to
sync the drives. Raiding your swaps will simply slow you down.

Before you waste any time on this, evalate just how much of the time you
are useing swap.

With just a half meg of memory and vmware running my system
still shows virtally no swap useage at all:
jsa@pen:~> free
total used free shared buffers cached
Mem: 514152 507196 6956 0 28532 187704
-/+ buffers/cache: 290960 223192
Swap: 1028120 4936 1023184

Swap does not have to be persistant so why waste the cycles
raiding it up?


They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin

First they came for the Jews and I did not speak out because I was not a Jew.
Then they came for the Communists and I did not speak out because I was not a Communist.
Then they came for the trade unionists and I did not speak out because I was not a trade unionist.
Then they came for me and there was no one left to speak out for me. -- Pastor Martin Niemöller

< Previous Next >
Follow Ups