SSD with a HDD installed not being trimmed automatically, why?

Page 1 of 4 123 ... LastLast

  1. Posts : 1,806
    Windows 10 Pro 21H1 19043.1348
       #1

    SSD with a HDD installed not being trimmed automatically, why?


    I apologize if this thread appears a bit odd. I reconstructed this after deciding I shouldn't continue in another thread that is somewhat unrelated. That thread was located here;

    Disk Optimization Turns Off...

    Recently, I've noticed that my SSD is not getting trimmed on the same schedule as my HDD is defragged. I have my OS with a small reserved section for future use on an SSD and data on a HDD with the defrag schedule set to weekly.

    The HDD (D: Data & F: old Windows) and the reserved section on the SSD (L: Linux) appear to get defragged or trimmed on a weekly schedule as configured although they appear somewhat staggered.

    EdKiefer said:
    Edit: I just noticed my C drive SSD has two volumes (C and smaller one) and the small one did get optimized when the HDD was done, so it's only C drive that didn't, which seems odd.

    I have seen the same thing on my SSD. The small data section got trimmed on a weekly schedule same as the HDD, however; the OS section of the SSD did not get trimmed. It was necessary to run trim manually.



    dalchina said:
    - my other laptop has two partitions on the SSD + a HDD - on that one, supposedly weekly, last run was 23 days ago.

    I am curious dalchina, on your SSD with partitions, was the area without the OS trimmed on the weekly schedule, similar to the HDD?



    Anibor said:
    Same here. Windows is scheduled to optimize SSD weekly, it does not. After 28 days it reports that optimization is required, I do it manually.
    It appears that the OS section on an SSD is not being trimmed on schedule. Odd!


    f14tomcat said:
    As a rule, only partitions with drive letters assigned can be trimmed, or for an HDD, defragged. So partitions such as the EFI, Recovery, etc. and any unallocated space will not be. Scheduled or manually.
    The mystery that I'm curious about is simply that it would appear that C: on an SSD gets trimmed on schedule when there's only the single drive installed. When more than one drive is installed, C: on the SSD does NOT get trimmed without manually running the trim action.

    I have no great concerns, only curiosity. So far this seems to be happening on both 1809 & 1903. Has anyone else experienced this feature or anything different with trim behaviour?
      My Computer


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

    This may not be quite what you asking, however Optimise on W10 does not appear to run according to schedule and hasn't done for as long as I've used an SSD. And that's a lot of clean installs and builds.

    This won't run automatically for another 20+ days on my system despite it supposed to be doing so weekly.

    SSD with a HDD installed not being trimmed automatically, why?-annotation-2019-09-21-185341.jpg
      My Computer


  3. Posts : 1,806
    Windows 10 Pro 21H1 19043.1348
    Thread Starter
       #3

    Mooly said:
    This may not be quite what you asking, however Optimise on W10 does not appear to run according to schedule and hasn't done for as long as I've used an SSD. And that's a lot of clean installs and builds.

    This won't run automatically for another 20+ days on my system despite it supposed to be doing so weekly.

    SSD with a HDD installed not being trimmed automatically, why?-annotation-2019-09-21-185341.jpg
    COOL!

    So it would appear that scheduling only applies to defrag and not trim on SSD's, interesting. Thanks for that tidbit Mooly.
      My Computer


  4. Posts : 17,281
    Windows 11 Pro
       #4

    Single partitions on an SSD cannot be trimmed. When the trim command is issued to the drive's firmware, it is for the whole drive.
      My Computer


  5. Posts : 1,806
    Windows 10 Pro 21H1 19043.1348
    Thread Starter
       #5

    NavyLCDR said:
    Single partitions on an SSD cannot be trimmed. When the trim command is issued to the drive's firmware, it is for the whole drive.
    Interesting. Are you suggesting that single partitions cannot be trimmed via the scheduler? It does appear I have the ability to manually trim my SSD anytime.

    Also, I have a partitioned SSD that contains my OS and an empty space for a future planned project. The empty space indicates 8 days since the last run. It does appear that windows defrag did optimize that partition 8 days ago, I certainly had no reason to manually trim an empty disk.
    Last edited by W10 Tweaker; 21 Sep 2019 at 15:12.
      My Computer


  6. Posts : 1,871
    W10 pro x64 20H2 Build 19042.610
       #6
      My Computer


  7. Posts : 17,281
    Windows 11 Pro
       #7

    W10 Tweaker said:
    Interesting. Are you suggesting that single partitions cannot be trimmed via the scheduler? It does appear I have the ability to manually trim my SSD anytime.

    Also, I have a partitioned SSD that contains my OS and an empty space for a future planned project. The empty space indicates 8 days since the last run. It does appear that windows defrag did optimize that partition 8 days ago, I certainly had no reason to manually trim an empty disk.
    SSDs don't allocate physical sections of the drive to partitions the way that HDDs do. When an SSD is trimmed, the only command sent to the firmware is to run the trim process. Due to the way SSDs store data in the physical cells of the drive, it is impossible to specify only a single partition to be trimmed. Every cell that contains obsolete data must be processed and any cell in the drive can contain data from any partition.
      My Computer


  8. Posts : 56,064
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #8

    NavyLCDR said:
    SSDs don't allocate physical sections of the drive to partitions the way that HDDs do. When an SSD is trimmed, the only command sent to the firmware is to run the trim process. Due to the way SSDs store data in the physical cells of the drive, it is impossible to specify only a single partition to be trimmed. Every cell that contains obsolete data must be processed and any cell in the drive can contain data from any partition.
    Then I am confused. Maybe Windows is simply reporting it wrong.

    SSD in question. All below partitions in the Windows Optimize screen are on the same physical SSD.

    SSD with a HDD installed not being trimmed automatically, why?-2019-09-21_16h23_03.png

    Before Optimize of the partition "Virgin RTM":

    SSD with a HDD installed not being trimmed automatically, why?-2019-09-21_16h24_01.png

    After Optimize of the partition "Virgin RTM":

    SSD with a HDD installed not being trimmed automatically, why?-2019-09-21_16h25_11.png

    I only optimized the one. Closed Windows Optimize app and re-opened.
    Shows the one I just did, time stamp is correct. Other two seemed to be untouched, unaltered.
      My Computers


  9. Posts : 1,806
    Windows 10 Pro 21H1 19043.1348
    Thread Starter
       #9

    NavyLCDR said:
    SSDs don't allocate physical sections of the drive to partitions the way that HDDs do. When an SSD is trimmed, the only command sent to the firmware is to run the trim process. Due to the way SSDs store data in the physical cells of the drive, it is impossible to specify only a single partition to be trimmed. Every cell that contains obsolete data must be processed and any cell in the drive can contain data from any partition.
    How could we explain the empty space on my SSD known as L: Linux being trimmed automatically and C: on the same disk not being trimmed? Would it make any difference if it were a sata or NVMe type SSD?
      My Computer


  10. Posts : 17,281
    Windows 11 Pro
       #10

    First question software error. Second question no. Google how a SSD works.
      My Computer


 

  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 16:17.
Find Us




Windows 10 Forums