Windows – How to optimize the speed and lifetime of SSDs used in a RAID-0

raid-0ssdwindows 7

I have two SSDs in RAID-0 on a Windows 7, 64-bit system. Since it appears that TRIM still isn't supported with any RAID configuration of SSDs, what are some tips/workarounds that I can use?

Some things, but not limited to, that I would like to optimize are:

  • file write sizes to each disk to best match each 'block' sizes that are erased by the SSD.
  • speed of the RAID reads/writes
  • overall health of the drives
  • Settings of the RAID (i.e. stripe size)
  • any other 'tips' that might be considered for a RAID of SSD's

Best Answer

  • I would suggest not using RAID0 for good SSDs. A good modern SSD is unlikely to be your bottleneck for most real-world access patterns, at least not in a way RAID-0 is going to help a lot.

    Unless of course you are linking a pair of drives together this way in order to have one large volume rather than two separate ones, rather than due to speed concerns...

    Some SSD controllers will take writing a block of all 0s to mean that the block is free to be TRIMed (and instead of storing the location of the block in the appropriate index store a sentinel value that means "if you are asked for this block, just return a load of 0s"). If your drives do this then occasionally writing over your free space with 0s would help, using sdelete or similar in zero-only mode. Not terribly efficient of course, and make sure your drives will react this way otherwise you will be making the situation worse rather than better.