Johan Ekenberg wrote:
> 
> > No-one swaps to md devices, except raid-1 and that only, if one really,
> > really needs it. It's just too slow.
> 
> Is it really that slow? The md-devices are faster than a regular disk (I use
> RAID 5).
<snip>

faster than a single disk: yes.
faster than normal swapping: no.

Normally, if you have the option to swap to md devices, you have more
than one disk. The non-md way of swapping would then be:
root# grep swap /etc/fstab
/dev/sda9  swap     swap    defaults,pri=1          0       0
/dev/sdb9  swap     swap    defaults,pri=1          0       0
/dev/sdc9  swap     swap    defaults,pri=1          0       0

i.e. somthing like a raid0 device setup. You know that raid0 is fastest
of all raid levels when the access pattern is something like 50-50 r-w
and small blocks. So any other raid level used will slow things down.

Marc
-- 
Marc Mutz <[EMAIL PROTECTED]>        http://marc.mutz.com/Encryption-HOWTO/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)

Reply via email to