← Back to context

Comment by lopkeny12ko

3 years ago

Why would you want to put swap on a physical disk that is effectively RAM? That seems like a very redundant solution since swap as a concept becomes irrelevant if both main memory and swap are both volatile and equally fast. At that point, just add more main memory. The kernel is designed explicitly under the assumption that the storage backing swap is orders of magnitude slower.

They clearly state the reason in the last sentence:

> The amount of RAM you were allowed to plug into a PC motherboard always felt like the most annoying limitation.