[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 1 swap vs. 2 swap partitions



Hi Alexander,
> >     Doesn't this ignore the fact that having two heads working back and
> > forth is faster than just one?  Part of the reason people do raid arrays,
> > even at the lower levels, because they get all the heads working at the same
> > time and it lowers access time.  I'd think the same would apply to swap.
> 
> for this you'd need raid support for swap. I am not sure if swap could be on a
> raid ... however, I am pretty sure that swap has no build in raid support.
Actually, there IS some kind of RAID support built into the swapping code.
If you activate 2 swap partitions with equal priority, all swapping will get
distributed equally to those partitions - that might give some performance
increase, of course!

(add parameter pri=xx to /etc/fstab swap entry.)

HTH. Tino.


Reply to: