Linux Optimization

Swap memory increase with swap file (How to create)

Swap Memory is a space in the Hard Disk of your computer that Operating Systems (Linux in our case) will use to put the info that is actually on the RAM to free it for another application.

This should be done when the system needs memory for a new process and there is none, so we can see that if our system has plenty of RAM it will maybe need no SWAP memory.

How to manage the use of swap memory

The use of the swap memory by default on Kernel 2.6.xx is set to 60% that means that the system will use intensively the swap memory, this is good if we have a small amount of memory and lot of load on our PC or server, but if we have plenty of RAM or we are using a Desktop machine, we maybe do not need this setting, let's see how to change it.