there's no fixed answer, but my rule of thumb is
if RAM < 1 GB, set swap = 2 x RAM (or bigger)
else
set swap = 1 or 2 GB
Swap only really allows your system to take longer to grind to a halt if there's a runaway process.
Most of your progs should fit in RAM with a bit in swap. The more swap you use, the slower the system.
|