Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Do solid state drives suffer from fragmentation?

share|improve this question

4 Answers

up vote 10 down vote accepted

Yes. Does it impact performance as much as regular hard drives? No.

Fragmentation just refers to the placement of files out of order. It's necessary on all storage devices without having to reshuffle all the data that has ever been written every time you write something.

share|improve this answer
6  
The fragmentation does not really hinder performance because, unlike HDDs, there is no seek-time penalty for SSDs (at least nothing of the same order of magnitude). However, wear-levelling does tend to "consume" free space whenever a file is deleted (so the SSD's performance is reduced unnecessarily); this is where the TRIM command helps. – sblair Jan 18 '10 at 0:10

Solid State Drives DO NOT require defragmentation. It may decrease the lifespan of the drive. Wear leveling technology purposely "fragments" the data to ensure the consistent life of the drive.

Source: OCZ

share|improve this answer
3  
This is also true. Since flash memory wears out after so many read/writes (I think mostly writes), it makes sense to spread out the activity throughout the drive. For instance if you have a 64GB SSD and you always find yourself using around 20GB, if it didn't automatically fragment you would end up killing the drive while unfortunately 44GB of the drive is still pristine. – Marcin Jan 17 '10 at 23:59

The general consensus is that they can fragment but that it's not not necessary to defragment and, worse, it could lead to a shorter drive life. I like Tom's Hardware and their explanation when investigating Diskeeper's SSD defragmentation product.

share|improve this answer
1  
I think you misunderstood his question. He's not asking if SSDs need defragmentation. He's asking if SSDs experience fragmentation as a result of writing files to them. – Marcin Jan 17 '10 at 23:46
I see you changed your answer now ;) – Marcin Jan 17 '10 at 23:47
Yes, I missed the larger point. :-) Thanks, Marcin. – tcv Jan 17 '10 at 23:51

“Suffer”? No. Experience? Yes.

Fragmentation is simply when files are written to non-contiguous blocks. This is not a problem with a fresh, clean drive, but after a while, as the drive fills up and files are deleted, new files eventually begin to get written into whatever blocks are available which may not always be big enough for the whole file. There’s really no way around it (short of writing everything once to an empty drive then not writing anything ever again), not even with a better file-system.

However, as sblair pointed out, it’s not actually a problem with SSDs like it is with HDs because there is no head to physically move around the disk to collect data, so there is no performance penalty.

Also, as Marcin and Molly explained, SSDs need to scatter data throughout the whole drive to prevent the beginning of it from getting worn out while the rest of it remains unused. As a result, SSDs purposely fragment data to spread it around the whole drive. Also, you don’t want to defragment SDDs because not only does it defeat the purpose of spreading the data around, but all the extra writes wear it out faster.


This is yet another benefit of SSDs over spinning HDs: fragmentation is no longer an issue.

SSDs : 5 (less power, less heat, faster, no fragmentation, smaller)
HDs  : 1 (longer lasting)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.