Image

Multiple disks, swap, and performance.

I have to 80g disks.  I want to have the 2.6.21 kernel write to both disks for swap at the same time to hopefully speed up performance.  How is this done.  I was told by a friend that the kernel unless told to do otherwise would use the first disk until full, then use the second; not what I want.  Another friend said to stripe accross both  disks.  I want to keep all 160G of space and not get into raiding the box.   It is simply a test server for app I am building etc. so not ned 100% uptime.  Anyone know how to have the kernel use 2 disk heads to wite to swap on both disks?  I know databases are set to do this all the time......any opinions appreciated.