I would like to understand the difference of MAC OS X "Virtual Memory" and Linux/Unix Swap.
I ask this because I observed that MAC OS X "Virtual Memory" seems to work way more efficient (in desktop use cases) than Linux/Unix Swap does.
In my understanding, MAC OS stores unused (RAM)Data in "Virtual Memory". In manner, it keeps the RAM free for current used Data/ current running Programs.
So for example, if I have watched a movie and then start to render some images, MAC OS will move the movie into the "Virtual Memory" and remove it into the RAM only when I re-access it.
Swap to the contray will only use the swap if the current running programs demand more RAM than available. And will immediately write the data stored in swap back to the RAM as soon as possible.