Sign in with
Sign up | Sign in
Your question

SSD -> Defragmentation Schedule

  • SSD
  • Storage
Last response: in Storage

How often should you defrag your SSD??

Total: 20 votes (3 blank votes)

  • Weekly
  • 6 %
  • Monthly
  • 0 %
  • Every 6 Months
  • 6 %
  • Yearly
  • 0 %
  • Never
  • 89 %
September 27, 2010 7:00:53 PM

The answer may surprise many folks, and some won't be surprised. :ouch: 

More about : ssd defragmentation schedule

a c 102 G Storage
September 27, 2010 7:37:14 PM

jaquith said:
The answer may surprise many folks, and some won't be surprised. :ouch: 

Since the THG community an an informed community and since all true geeks know that you shouldn't defrag SSDs, this doesn't surprise me.
a b G Storage
September 28, 2010 3:08:40 AM

Poll fixed. Don't forget to add an expiration date or it closes immediately.

COLGeek said:
Since the THG community an an informed community and since all true geeks know that you shouldn't defrag SSDs, this doesn't surprise me.

I'm not going to be surprised by the poll results, but only because I know that most people only have a limited understanding of disk fragmentation and how it affects SSDs.
Related resources
September 28, 2010 3:46:46 PM

^ Thanks! - I was running background tasks while creating it, and I saw it entered - 30 days.
Obviously, ANS is Never. Helpful "Tip." BTW - Windows 7 recognizes SSD and automatically disables Defragmentation of SSD drives.
a b G Storage
September 29, 2010 1:18:49 AM

The answer is "never" if you use the GUI-based defragmentation utility. The command-line defragmenter has an option that is quite useful for SSDs (the /X command-line argument; ie "defrag /X c:"). This consolidates free space on the drive.
September 29, 2010 1:41:13 AM

There's no difference with an SSD to access any part of any memory chips, oddly {some} SSD "seem" to get faster with age -,... Therefore, leave 'em be. Unfortunately for us humans bladder control is all that seems to get faster with age.

Worst, current technology the SSD have a limited Write lifespan. Where's HAL when you need his holographic memory - probably in our lifetime.
a b G Storage
September 29, 2010 2:22:11 AM

Yes, it is true that access time is not an issue. That is why there is no point doing file defragmentation (ie. trying to make files contiguous). But if a drive has, say 15-20% remaining free space, what guarantee do we have that this free space is entirely made up of empty blocks? It is almost certain that many blocks contain less than 512kB of data, but this means that to fill them up they must first be erased and reprogrammed. If the majority of the remaining free space exists due to partially-filled blocks, the SSD will read fast but write slow. TRIM does absolutely nothing to prevent this, only idle-time garbage collection can improve the situation unless the user intervenes and some SSD controllers have pretty poor garbage collection (looking at you Marvell).

Thus in some instances it can be beneficial to consolidate free space, but not individual files. With free space consolidation we are not interested in whether or not a file is contiguous, only that free space is made up of as many completely empty blocks as possible. If a drive gets alot of idle time while powered on, or it doesn't get regularly filled without also deleting data, this is likely to be a non-issue because the controller will perform some consolidation on its own. If a drive is used regularly and alot of data gets "overwritten" but not deleted, you may run into some issues with write speeds at a very inconvenient time. Removing unneeded data and consolidating free space before writing logical 1s all over that free space essentially performs garbage collection using an on-demand, brute force method. Yes it increases writes on the drive, but the SSD controller would do exactly the same thing given enough time.

It is quite likely that this will be entirely unnecessary in the future.
September 29, 2010 2:55:12 AM

^ Interesting - I need to do some research with Pros & Cons. However, if true then the controller technology and management needs some real improvement. On our server side we still aren't ready to jump on-board until some the cost, issues and technology matures. Till then SAS + RAID.