If I defragment my 8 GB Kingston flash drive, will it decrease its lifetime?

link|improve this question

68% accept rate
feedback

3 Answers

up vote 9 down vote accepted

You should not defrag flash media. First off, there is no benefit. Defragging a traditional magnetic hard drive is beneficial as the actuator arm has to move the heads around the platter to find the data. Defragmenting orders the data on the hard drive, and the actuator arm has to seek (move around) less. However, flash media has no moving parts, therefore is has virtually no seek time.

Flash media does wear out though. It takes a long time, with lots of writes to the same location repeatedly. Modern flash drives have a technology called TRIM that minimizes writes to the same location by spreading them around the entire drive. TRIM basically does the exact opposite of what you are trying to do - fragment the data.

In addition to that, most OSs will not let you defragment flash media (for the reasons mentioned above). There may be some 3rd party tools that will bypass the restriction, but it is not a good idea.

link|improve this answer
feedback

The Diskeeper program, which has been the best defrag utility, has a optimization module for SSDs, called Hyperfast. It doesn't defrag your SSD-type drives, it optimizes them.

link|improve this answer
feedback

If you have not yet done it, the answer is, "yes it does, don't do that". However, most likely one defragmentation cycle consumes just 1-5% of the lifespan of the USB stick, so you're hard pressed to notice. The exact amount of wear depends on the controller on the drive, and how badly it was fragmented before defragmenting.

The 1-5% estimate comes from assuming defragmenting a badly fragmented drive writes each block 1-5 times, write amplification for cheap NAND flash solutions is around 10-30 and MLC NAND is typically rated at 5-10k cycles.

link|improve this answer
4  
1-5% ?! where is your source? – Keltari Sep 5 '11 at 18:15
In light of @Keltari's answer, I would say instead "how well it was fragmented" since it is a desired state. :) – sidran32 Sep 5 '11 at 18:43
The state of being fragmented is not desired, it's just irrelevant. – Zds Sep 6 '11 at 7:20
@Keltari, sorry, I thought it was not really crucial to get exact numbers, just the ballpark, so I just estimated it in my head. Added some of the numbers the estimate was based on now. – Zds Sep 6 '11 at 7:26
feedback

Your Answer

 
or
required, but never shown

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