Question on setting swap partition(size and spltting it to 2 drives)
I know generally twice the size of your RAM is recommended for swap but for 1GB of RAM is 2GB swap really necessary?
My other question regarding splitting the swap space to 2 disk. I've read this improves performance. Do these two partitions have to be the same size? Also, to have linux write to these swap partitions in a parallel manner, would the lines in /etc/fstab look like the following:
/dev/hda2 swap swap defaults,pri=3 0 0
/dev/hdb2 swap swap defaults,pri=3 0 0
A doc I've read uses 'sw' rather than 'defaults' so I am wondering which is better. Thanks.
|