Why the swap space used in linux installation should be twice of your computer RAM? and also why the limits are fixed to minimum is 32mb and maximum is 2048mb?
This is static(HTML) version of this page. Please click here to see the latest version
this "Double your memory" is a guide, and is appropriate for lessert amounts of Memory. SWAP space is not essential, it's basically an overrun place for the memory, so if u fill the memory, it'll start using Swap. So for this reason, someone with 512MB ram would need MORE swap space than someone with 1024MB ram running the same programs etc. Personally i have a 1 GB Swap partition and 2GB hard disk space, and i find that i rarely use the SWAP space unless i have memory hungry programs open for a long time.
Also making more swap space wont necesarily speed up the computer, cos although it effectively is RAM as far as the system is concerned, because it is on the hard disk, obviously it has to read and write to the disk, so it wont really speed the system up anywhere near as much as putting more actual RAM in the computer
Also making more swap space wont necesarily speed up the computer, cos although it effectively is RAM as far as the system is concerned, because it is on the hard disk, obviously it has to read and write to the disk, so it wont really speed the system up anywhere near as much as putting more actual RAM in the computer