Virtual Memory and SSD – Understanding the Impact

ssdvirtual-memory

While studying for the A+ Exam I was reading about SSD's and I thought to myself that if you had a mobo with a low RAM limit you could use a dedicated SSD purely for Virtual RAM. I looked up some info on line and the info I found said that this was a poor practice but didn't explain why.
Why shouldn't SSD's be used for Virtual Memory and what are your thoughts on a dedicated Virtual Memory drive?
Thank you!

Best Answer

While people are suggesting you do not put a page file on SSD there is nothing to stop you, there are also similar-ish ideas such as Microsoft's Readyboost, though it uses a USB stick instead of an SSD. It works in a vaguely similar fashion (caching hard disk reads instead of caching virtual memory - but the theory of the method of performance boost and flaws are the same) but has very similar reasons for limitations as putting a page file on an SSD:

  1. Flash based memory has much poorer write tolerance than spinning-platter or full-on memory chips. Typical flash devices these days are getting as low as 5,000 write cycles for a standard MLC device, with the manufacturers using wear-levelling algorithms to help the device last longer. Sadly it seems that many SSDs fail after 1-2 years (see here for some failure rates during the first year), but this is typically due to failure of the SSD's hardware or firmware, rather than wear of the flash memory.

  2. USB sticks are dirt cheap, come in all the major helpful sizes (4GB, 8GB, 16GB and so on) and for small reads and writes are pretty comparable to an SSD. They suck at bulk transfers though.

There is also Intel's latest Smart Response which is effectively another version of the ReadyBoost technology.

So as long as you don't mind the idea that you could potentially wear the SSD out faster (though no faster than putting the entire OS on the SSD to be honest) then there is no reason not to put your page file on the SSD as it should perform better than the hard disk.