I had an interesting discussion with 2 colleagues about the possible interest of putting the swap space of a system on a SSD.
If I consider the gain in latency that an SSD brings versus a
capacity disk - in the region of 100x - the solution seems
obvious. Swapping - or more precisely paging - must be much
faster/ with an SSD. Since RAM is expensive versus SSD, I could
even be tempted to design a system with a small amount of RAM and
a large amount of swap space on SSDs. In other words, I can ask
myself if trying to prevent my system to page is still a good
Let's try to shed some light on these questions.
Paging takes place when my system runs out of RAM because more processes are created or because existing processes requires more memory (check this article for details about how to monitor …[Read more]