linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* swap on raid
@ 2007-03-01 22:27 Peter Rabbitson
  2007-03-01 22:30 ` Justin Piszcz
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Peter Rabbitson @ 2007-03-01 22:27 UTC (permalink / raw)
  To: linux-raid

Hi,

I need to use a raid volume for swap, utilizing partitions from 4 
physical drives I have available. From my experience I have three 
options - raid5, raid10 with 2 offset chunks, and two raid 1 volumes 
that are swapon-ed with equal priority. However I have a hard time 
figuring out what to use as I am not really sure how can I detect the 
usage patterns of swap, left alone benchmark it. Has anyone done 
anything like this, or is there information on what kind of reads/writes 
the kernel performs when paging in and out?

Before you answer my question - yes, I am painfully aware of the 
paradigm "swap on raid is bad", and I know there are other ways to solve 
it, but my situation requires me to have swap. Several weeks ago a drive 
failed and took a full partition away bringing the system to its knees 
and causied massive data corruption. I am also aware that I can use a 
file that will reside alongside my other data, but fragmentation makes 
this approach inefficient. So I am looking into placing the swap 
directly on a raid voulme.


Thanks 

Peter


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-03-02  4:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-01 22:27 swap on raid Peter Rabbitson
2007-03-01 22:30 ` Justin Piszcz
2007-03-01 23:07 ` Richard Scobie
2007-03-01 23:34   ` Peter Rabbitson
2007-03-02  4:45     ` Mark Hahn
2007-03-01 23:24 ` Bill Davidsen

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).