Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: The real and complete story - Does Windows defragment your SSD?

14 Dec 2014   #1
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
The real and complete story - Does Windows defragment your SSD?

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.

As far as Retrim is concerned, this command should run on the schedule specified in the dfrgui UI. Retrim is necessary because of the way TRIM is processed in the file systems. Due to the varying performance of hardware responding to TRIM, TRIM is processed asynchronously by the file system. When a file is deleted or space is otherwise freed, the file system queues the trim request to be processed. To limit the peek resource usage this queue may only grow to a maximum number of trim requests. If the queue is of max size, incoming TRIM requests may be dropped. This is okay because we will periodically come through and do a Retrim with Storage Optimizer. The Retrim is done at a granularity that should avoid hitting the maximum TRIM request queue size where TRIMs are dropped.

A Guy

My System SpecsSystem Spec
15 Dec 2014   #2

Windows 10 Pro

hmm interesting.
My System SpecsSystem Spec
18 Dec 2014   #3

Microsoft Community Contributor Award Recipient

Windows 7 64 Bit Home Premium SP1

Mmmmm. Where is "Storage Optimizer" in Windows 7?
My System SpecsSystem Spec

18 Dec 2014   #4

Windows 7 Pro 32

Quote   Quote: Originally Posted by TVeblen View Post
Mmmmm. Where is "Storage Optimizer" in Windows 7?
In Windows 8, the humble defragmentation tool has evolved to carry on other roles, apart from its disk defragmentation role. While in Windows 7 and Windows Vista, the Disk Defragmenter tool did improve, it still continued to only defragment the fragmented files and data. In Windows 8 however, additionally, it optimizes your storage in Thinly Provisioned environments Ė using Storage Optimizer. The Defragment tool in now called Defragment and Optimize Tool in Windows 8, and includes the Storage Optimizer.
My System SpecsSystem Spec
18 Dec 2014   #5

Microsoft Community Contributor Award Recipient

Windows 7 64 Bit Home Premium SP1

Thanks for info!
My System SpecsSystem Spec
18 Dec 2014   #6

w7 ult 64 and w7 hp 64 X 2 mint 64 8.1 64 10wtp 64

What do the manufacturers of SSD's have to say on the subject?
My System SpecsSystem Spec

 The real and complete story - Does Windows defragment your SSD?

Thread Tools

Similar help and support threads
Thread Forum
Windows 7 update error 80070002 - the story of a fix.
The other day I wast^H^H^H^Hspent several hours wrestling with the Windows 7 update mechanism; now that it seems the problem is fixed, I'd like to share the story in the hope that it may be helpful for someone with a similar problem. This is my first post to the forum, so I'd welcome remarks...
Windows Updates & Activation
Windows crashed on Startup(unique story)
I know it isn't much to go on. But I was playing the Sims 3 on my Acer Laptop(Acer Aspire 5336-2524) and I got a blue screen. Thought nothing of it because of reports of this happening. It didn't happen again for a couple months and it happened again and crashed my laptop. I would boot it up and it...
BSOD Help and Support
Will Windows Defragment Shedule work if computer is closed?
Will it work even if the computer is shut down?
Performance & Maintenance
Win7 Retail The Real Story?
I have been hearing from people that used the RC and then bought the retail version that the retail is nothing like the RC. They say that the security in the retail version was pumped back up to almost the same level as vista was. The people I hear saying this also said that they used the RC and...
General Discussion
Launch Parties to Help Tell the Windows 7 Story
Upgrade from Windows 7 7264 to RTM! (My Story)
So yea... I tried upgrading the recently leaked 7264 build of windows 7 to rtm... Applications installed: Visual Studio 2010 Microsoft Office 2010 Eset Nod32 Antivirus Free Download Manager TVUplayer Windows Live Mail. Windows Live Messenger
Chillout Room

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 17:10.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App