Windows Defrag schedule / SSD maintenance query

Page 2 of 2 FirstFirst 12

  1. Posts : 2,832
    Windows 10 Pro X64
       #11

    Hi,

    stealth2920 said:
    I have mine turned off. I thought SSD's didn't need to be defragged at all. Is the optimize setting different than defrag? I'm confused.
    Defragmentation and Optimization:

    All drives suffer from files being split into different locations on a drive regardless what type of drive. This can become somewhat cumbersome on typical spinners because the heads need to travel to read these blocks causing latency.
    SSDs being so much faster, suffering hardly any latency at all, do not require defragmentation but do require garbage collection, i.e. cells that contain deleted or no longer used information need to be cleared and flagged as clean so these can be rewritten to.
    That's what "Optimization" does in Windows on an SSD. When on a HDD it will defrag instead.

    While you can defrag an SSD it causes quite a lot of writes on the drive which reduces its life. No big deal as modern SSDs can sustain an enormous amount of writes.
    But, given the low inherent latency of these SSDs, why bother ?

    Some people claim to never ever defrag their HDDs but instead restore an image of it. While this achieve the same end result it also rewrites everything on their drive instead of just reallocating the fragmented files. Not very disk friendly if you ask me even though they think otherwise....

    There's loads of BS on the net so don't believe everything you read but try to understand how SSD and their controllers works. After that, decide what best suits your needs.
    I'll be dilapidated for it but, yes, I do defragment SSDs occasionally....

    Cheers,
      My Computers


  2. Posts : 502
    Win 11 Pro 64 bit
       #12

    fdegrove said:
    Hi,




    Defragmentation and Optimization:

    All drives suffer from files being split into different locations on a drive regardless what type of drive. This can become somewhat cumbersome on typical spinners because the heads need to travel to read these blocks causing latency.
    SSDs being so much faster, suffering hardly any latency at all, do not require defragmentation but do require garbage collection, i.e. cells that contain deleted or no longer used information need to be cleared and flagged as clean so these can be rewritten to.
    That's what "Optimization" does in Windows on an SSD. When on a HDD it will defrag instead.

    While you can defrag an SSD it causes quite a lot of writes on the drive which reduces its life. No big deal as modern SSDs can sustain an enormous amount of writes.
    But, given the low inherent latency of these SSDs, why bother ?

    Some people claim to never ever defrag their HDDs but instead restore an image of it. While this achieve the same end result it also rewrites everything on their drive instead of just reallocating the fragmented files. Not very disk friendly if you ask me even though they think otherwise....

    There's loads of BS on the net so don't believe everything you read but try to understand how SSD and their controllers works. After that, decide what best suits your needs.
    I'll be dilapidated for it but, yes, I do defragment SSDs occasionally....

    Cheers,
    Thanks for the info. I will just leave it turned on and let windows 10 do whatever. It is now set at default so it optimizes the SSD's once a week.
      My Computer


  3. Posts : 1,871
    W10 pro x64 20H2 Build 19042.610
       #13

    I clean installed W10 onto an SSD and can confirm that the weekly schedule doesn't update as expected. I deliberately left it once and found that one partition that stores Macrium images (and so gets filled/deleted/filled/deleted) did eventually auto run after something like 20 days despite the partition being used daily for storing very large files (20Gb at a time plus sets of 0.2 to 2Gb).

    I consider it a bug in Windows operation in the same way the system reserved partition always reports as needing optimising.
      My Computer


  4. Posts : 114
    Windows 10 Pro 21H1 (19043) x64
    Thread Starter
       #14

    Mooly said:
    I clean installed W10 onto an SSD and can confirm that the weekly schedule doesn't update as expected. I deliberately left it once and found that one partition that stores Macrium images (and so gets filled/deleted/filled/deleted) did eventually auto run after something like 20 days despite the partition being used daily for storing very large files (20Gb at a time plus sets of 0.2 to 2Gb).

    I consider it a bug in Windows operation in the same way the system reserved partition always reports as needing optimising.
    Thanks for the information. I just came back to this thread to respond and saw I had loads of replies, it didn't notify me even though I set it to do so!

    Anyway like you I did a bit of an experiment - I noticed in Windows Defrag (or Microsoft Drive Optimiser as they now call it) that it was as high as "10 days since last run" even though as I've already said, I have it set to optimise weekly. I did wonder if it was one of those random Windows things where it needs to be on at 3AM in the morning (a lot of scheduled operations in Windows are like that, and the chances of my laptop or PC being on at that time are pretty much zero so it's kind of pointless!) so last night I decided to leave my laptop running all night long, thinking maybe it will kick in the defrag schedule and optimise the drive during the night. But no, woke this morning to see it still saying "10 days since last run", and I've never been notified of any "missed runs" despite that option being ticked in the defrag settings. Also like you say, the Recovery partition also says "Needs optimisation" always, yet you can't do anything with it.

    So long story short, basically I am going to have to remember to come into the defrag app every week or so and click "Optimise"?
      My Computers


  5. Posts : 1,020
    Windows 10 Pro 20H2 19042.572
       #15

    I think it depends on the manufacture. I have a couple of Samsung SSD's and they explicitly state that Defrag should be off. The reason being is that they supply a software component "Samsung Magician", that optimizes the drive and I assume it performs the trim function when required.
      My Computers


  6. Posts : 217
    Windows 10 Pro 64-bit
       #16

    I still can't understand why does defrag utility needs to TRIM SSDs when TRIM is enabled?
    Does this means that TRIM isn't always sent when deleting files?
    In my case it sometimes says Needs optimization
      My Computer


  7. Posts : 2,832
    Windows 10 Pro X64
       #17

    Hi,

    derek10 said:
    I still can't understand why does defrag utility needs to TRIM SSDs when TRIM is enabled?
    Does this means that TRIM isn't always sent when deleting files?
    In my case it sometimes says Needs optimization
    Defragmenting is used for HDD, not SSDs.
    Optimization is sending a RETRIM command. It will say "Needs Optimization" for a number of reasons one of them being that the machine has seen not enough idle time for the OS to optimize the SSD in the background.
    Another being that optimization has not been run yet on a new drive or volume for instance.

    Cheers,
      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 08:05.
Find Us




Windows 10 Forums