Defrag

Do you need to defrag SSD? What happens if you defragment a Solid State Drive

Do you need to defrag SSD? What happens if you defragment a Solid State Drive

Most are quite confused over the questions, whether we should defragment Solid State Drives or SSD's in Windows 10/8/7 and whether Windows itself defrags them during Automatic Maintenance. But many have these questions - Should I defragment SSD or Solid State Drive? Do you need to defrag SSD? What happens if you defrag an SSD? Here is more light on the subject.

Do you need to defrag SSD?

SSD or Solid State Drive, also known as Electronic Disk, has no moving mechanical parts, such as movable read and write heads and the spinning disks. SSDs use non-volatile flash memory, unlike the HDDs (or Hard disk drives). A general perception about the SSDs is that, these disks have a shorter lifespan and that these disks can handle a very limited number of writes. Thus defragmenting SSD's is not a good idea. So the question arises if Windows is defragmenting SSDs automatically; then is it a good thing?

Read: Do you need to defrag SSD? What happens if you defrag it?

Does Windows carry out defragmentation of SSDs

In one word, the answer is YES. Windows does defragment your SSDs automatically and periodically. Windows is smart enough and does this task appropriately and intelligently.

Scott Hanselman of Microsoft, says in his blog post,

“Storage Optimizer will defrag an SSD once a month if volume snapshots are enabled. This is by design and necessary due to slow volsnap copy on write performance on fragmented SSD volumes. It's also somewhat of a misconception that fragmentation is not a problem on SSDs. If an SSD gets too fragmented you can hit maximum file fragmentation (when the metadata can't represent any more file fragments) which will result in errors when you try to write/extend a file. Furthermore, more file fragments means more metadata to process while reading/writing a file, which can lead to slower performance.”

The term 'volsnap' mentioned in his blog stands for Volume Shadow Copy System of Windows. This function is used by Windows System Restore to store your system's previous activities so that you can restore that data by going back. If this function is turned on, automatic defragmentation of SSDs will take place. Windows does the defragmentation intelligently.

Read: How to Enable or Disable Defragmentation for SSD.

Should I defrag my SSD or Solid State Drive?

Hanselman concludes by saying:

Windows is not foolishly or blindly running a defrag on your SSD every night, and no, Windows defrag isn't shortening the life of your SSD unnecessarily. Modern SSDs don't work the same way that we are used to with traditional hard drives. Your SSD's file system sometimes needs a kind of defragmentation and that's handled by Windows, monthly by default, when appropriate. The intent is to maximize performance and a long life. If you disable defragmentation completely, you are taking a risk that your filesystem metadata could reach maximum fragmentation and get you potentially in trouble.

In short, due to this defragmentation, the life of your SSDs increases. The performance of the disk also increases due to the regular defragmentation. If defragmentation doesn't take place at all, your file system metadata will reach maximum fragmentation and the life of SSDs will reduce drastically.

Emulate Mouse clicks by hovering using Clickless Mouse in Windows 10
Using a mouse or keyboard in the wrong posture of excessive usage can result in a lot of health issues, including strain, carpal tunnel syndrome, and ...
Add Mouse gestures to Windows 10 using these free tools
In recent years computers and operating systems have greatly evolved. There was a time when users had to use commands to navigate through file manager...
Control & manage mouse movement between multiple monitors in Windows 10
Dual Display Mouse Manager lets you control & configure mouse movement between multiple monitors, by slowing down its movements near the border. Windo...