
Originally Posted by
therookie
Caching random writes to RAM before committing them to an SSD improves performance.
I believe the main reason for the performance improvement over non-cached writes lies in the fact that SSDs perform significantly worse in mixed random read/write scenarios, compared to doing only random reads and only random writes. Up to 75% performance degradation has been mentioned for certain SSDs in mixed random read/write scenarios, compared to only doing random reads and then only random writes.
E.g. doing 100 MB of random reads, followed by 100 MB of random writes will go much faster than doing 200 MB of random reading and writing interleaved (still portioned 50/50).
Caching writes to RAM lessens the need for an SSD to interleave random reads and random writes, thereby avoiding the performance degradation that follows from continuously mixing random reads and random writes.
Bookmarks