Swap
Disk space used as an extension of RAM when memory runs out — slow, but better than programs dying.
The kernel moves out pages unused for a while and reads them back on demand. The speed difference is brutal: nanoseconds against microseconds even on NVMe, and milliseconds on spinning disk. If actively used pages end up swapped, the system starts thrashing and spends all its time shuttling memory back and forth.
That swap is being used does not mean something is wrong — swappiness governs how eagerly the kernel evicts inactive pages to give the page cache more room, which is often a good trade. A common misconception is that swap makes a system slow; more often it is a symptom of memory pressure rather than its cause. On memory-constrained systems zram is used, compressing pages in RAM instead of going to disk.