Why is RAM Disk so much faster than an SSD drive?
1 Answer
It has to do with a number of factors. Bandwidth to memory vs SSD, also write latency speeds, DRAM is constantly refreshed and thus has a latency measured in nanoseconds, whereas Flash requires a high voltage to write into the gate along with a few other details, often SSD latency is measured in microseconds.
-
Great answer, so just suggesting an addition: an SSD has to pass through a storage controller, whereas modern chips have on-die MMUs, so (as a simple way to explain it, I know it's not a perfect analogy), RAM is "closer" to the CPU. Also, depending on what FS you're using, something like tmpfs writes marginally less data to the storage medium than does (f.ex.) ext3, since it's worried about crash recovery and is not journaling.– BMDanMay 9, 2011 at 2:04