Does full Volume encryption put an SSD into a fully used state

disk-encryptionhard drivessd

SSDs, particularly of the common MLC variety, have a limited number of writes before the memory cells wear out. Through the use of wear leveling algorithms this is effectively worked around so that the drive has a useful lifespan. The other side of the wear leveling is that it improves performance by writing to unused blocks rather than the much slower operation of reading, erasing, writing to an existing used block. But these algorithms rely on their being unused blocks available.

So the question is what happens if you encrypt the entire drive with something like BestCrypt or TrueCrypt? Both of these will write what looks like random data to the entire drive. Will this effectively put the drive into a fully used state and how will this effect the wear leveling and performance of the drive?

I know that some drives do reserve some of their capacity for this very reason. Where you see a drive advertised as a 60 or 120GB drive it is probably a 64 or 128GB drive with some of its capacity reserved and unavailable for your use. But do the drives that advertise themselves as 64/128/256GB also reserve space in this way or do that rely purely on the drive never being completely filled to have available blocks for wear leveling?

I am probably worrying about something that really isn't going to be a problem in practice. But I am rather curious about how smart the wear leveling algorithms are. Do they allow for continuous read/modify/write to a drive that appears to be completely full?

Best Answer

Honestly you don't need to worry about wear-leveling or the number of writes per cell. You'll never hit the limit in a reasonable number of years. Lots and lots of info already posted here

Now some SSDs have an issue where they lose up to 20% or something like that of their performance, once they get close to full. If your disk encryption truly writes random data to the entire drive, this would make it appear to be full to the SSD controller. In that case you might experience this slowdown, if you have one of the affected drives. Though to put it in perspective, if you have a quality SSD, like the Intel x25-m, even with the slowdown it will still be miles faster than any HDD.