Swapping moves entire processes or (in modern systems) individual pages between RAM and disk to free memory; swap space is a disk area reserved for this. Heavy swapping slows the system sharply.
Huge pages (2 MB or 1 GB instead of 4 KB) cut the number of page table entries and TLB misses for large memory workloads (databases, large models), at the cost of more internal fragmentation and less flexible allocation.
Loading…