Does Windows defragment your SSD?

    Does Windows defragment your SSD?

    Does Windows defragment your SSD?


    Posted: 14 Dec 2014

    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.
    Source

    A Guy
    A Guy's Avatar Posted By: A Guy
    14 Dec 2014


  1. Lee
    Posts : 4,793
    OS X, Win 10
       #1

    No, it hasn't attempted to do so as of yet. . .
      My Computer


  2. Posts : 44,310
    Windows 10 Home 22H2
    Thread Starter
       #2

    As far as you know...
      My Computers


  3. Posts : 7,254
    Windows 10 Pro 64-bit
       #3

    We had a bit of a debate over here: https://www.tenforums.com/general-dis...how-avoid.html
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:37.
Find Us




Windows 10 Forums