Do we really need swap on modern systems?

Click for: original source

Christian Horn from Red Hat Advanced Mission Critical program published this interesting blog. It is a short and straight to the point article describing how is swap used and how much of it is recommended today.

Virtual Memory Management (VMM) is code in the kernel which, among other things, helps us to present each process with its own virtual address space.

Overcommitment means that processes can request more memory from the kernel than we have available physically and as swap.

Article then goes in detail into:

  • Overview: When is swap used?
  • The details: How is swap used?
  • How much swap is recommended nowadays?
  • Can I run without swap? Is further tuning possible?

Great refresher for any Linux enthusiast.

[Read More]

Tags programming servers