John Schmidt wrote:
On Tuesday 24 February 2004 07:49 pm, xucaen wrote:Hi all, quick question here. how big should a swap partition be relative to the size of the drive? another quickie.. does each hard drive need it's own swap partition? thanks! JimA good rule of thumb is that the size of swap should be twice the size of RAM. Some don't like to make swap that big. It really depends on the applications that you will run, if they are memory intensive and there is the possibility of using all the RAM, having more swap space is better than having less. However, with cheap memory prices, it is probably better to buy more RAM if you are doing memory intensive computations.
Also limit swap to no more than 1 GB.
You don't have to put swap on each drive, however there are some advantages to splitting the swap up over several drives. I haven't experimented with this to find out, but that is what I have read.
You also want swap to be the first partition on your drive (this is ideal). This is because the cylinders closer to the spindle have a (slightly) lower access time.
John
-Roberto
Attachment:
signature.asc
Description: OpenPGP digital signature