Posts Tagged ‘Forum Rumors’

Today I ran into a post on a forum I frequent regarding whether or not it was damaging to put your Windows pagefile (or Linux swapfile) on an SSD. The argument goes something along the lines of “Lots of quick reads and writes could damage the SSD over time and decrease performance”.

So I began researching. What I found is that many, many forum users believe this to be true. However, I could only find one example of actual research done on the subject.

The Microsoft Developer Network Blog has done research into the topic by looking at pagefile activity.

Should the pagefile be placed on SSDs?
Yes. Most pagefile operations are small random reads or larger sequential writes, both of which are types of operations that SSDs handle well. In looking at telemetry data from thousands of traces and focusing on pagefile reads and writes, we find that

  • Pagefile.sys reads outnumber pagefile.sys writes by about 40 to 1,
  • Pagefile.sys read sizes are typically quite small, with 67% less than or equal to 4 KB, and 88% less than 16 KB.
  • Pagefile.sys writes are relatively large, with 62% greater than or equal to 128 KB and 45% being exactly 1 MB in size.
  • In fact, given typical pagefile reference patterns and the favorable performance characteristics SSDs have on those patterns, there are few files better than the pagefile to place on an SSD.

    After half a dozen pages of Google search results I was not able to find another reputable website that covers the topic. About the closest I could find was Tom’s Hardware stating:

    Windows is smart enough to store data from minimized applications or idle applications in the swap file so that active processes can access more RAM. The disadvantage of this solution is obvious. The performance of a mechanical hard drive is only a fraction of the throughput realized with memory modules. Solid state drives (SSDs) are an improvement, but the general problem remains. Frequent swap operations are poison to an SSD, possibly decreasing its speed.

    Possibly decreasing its speed. Tom’s Hardware is careful not to say one way or the other as they haven’t seen any research either.

    Essentially what it comes down to is who to believe. Would you believe MSDN with their research into pagefile activity and potentially risk damaging your SSD? Or would you believe the hundreds of forum posters who claim that it will indeed damage your SSD but have no research to prove it? I think this one comes down to a situation of “Can you afford to replace your SSD?”. If the answer if “yes” then relish in the performance benefits. If your answer is “no” then I would play it safe and put your pagefile on a separate hard drive.

    Advertisements