The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    How to check if TRIM is enabled and active?

    Discussion in 'Hardware Components and Aftermarket Upgrades' started by Pirx, Jan 8, 2013.

  1. Pirx

    Pirx Notebook Virtuoso

    Reputations:
    3,001
    Messages:
    3,005
    Likes Received:
    416
    Trophy Points:
    151
    Subject says it all. And, no, I am not looking for that fsutil command. As far as I can tell this is near-useless when trying to find out if TRIM is, in fact, being used by the OS. So, does anyone know of any easy-to-use utilities, that are compatible with any brand SSD, and also work with RAID configurations, that can positively identify whether or not TRIM is active?

    Short of using a low-level disk editor, I mean, if possible. Barring that, does anyone know of a good disk editor that I could use for this job, including instructions of how to accomplish what I want?

    P.S.: Sorry, I forgot to mention that the OS I am using is Windows 7 x64.
     
  2. tijo

    tijo Sacred Blame

    Reputations:
    7,588
    Messages:
    10,023
    Likes Received:
    1,077
    Trophy Points:
    581
    I looked for something as well and didn't find anything that was manufacturer agnostic. If you have an Intel SSD, their toolbox will at the very least allow you to initiate TRIM. I think Samsung SSDs have something similar, but for the other brands, I haven't found anything yet.

    Maybe Anvil Storage Utilities: Anvil's Storage Utilities. I'm not certain whether it will detect whether TRIM is active, but it looks like you can send the TRIM command to te SSD at the very least. I haven't tested that software by the way.

    I know of nothing that works with RAID though.
     
  3. WhatsThePoint

    WhatsThePoint Notebook Virtuoso

    Reputations:
    3,338
    Messages:
    3,322
    Likes Received:
    809
    Trophy Points:
    181
  4. Chris_ast1

    Chris_ast1 Notebook Consultant

    Reputations:
    58
    Messages:
    147
    Likes Received:
    4
    Trophy Points:
    31
    Open CMD with administrative right, then write:
    fsutil behavior query disabledeletenotify
    if result is = 0, then Trim is enabled.
     
  5. Greg

    Greg Notebook Nobel Laureate

    Reputations:
    7,857
    Messages:
    16,212
    Likes Received:
    58
    Trophy Points:
    466
    That will tell you if the OS is sending TRIM commands, but nothing about if the hardware actually processes said TRIM commands.
     
  6. JOSEA

    JOSEA NONE

    Reputations:
    4,013
    Messages:
    3,521
    Likes Received:
    170
    Trophy Points:
    131
  7. jclausius

    jclausius Notebook Virtuoso

    Reputations:
    6,160
    Messages:
    3,265
    Likes Received:
    2,573
    Trophy Points:
    231
    Actually within Windows 7, just as Greg says, this will tell you that Windows is sending TRIM commands when deleting LBAs.

    However, If you want to know if the device is processing those, then I think WhatsthePoint's post may be the only way.
     
  8. WhatsThePoint

    WhatsThePoint Notebook Virtuoso

    Reputations:
    3,338
    Messages:
    3,322
    Likes Received:
    809
    Trophy Points:
    181
    In the article linked below the site uses a different method to test Trin on a R0 array although I think the hex editor method is a better test.

    RAID0 TRIM Another Look
     
  9. Pirx

    Pirx Notebook Virtuoso

    Reputations:
    3,001
    Messages:
    3,005
    Likes Received:
    416
    Trophy Points:
    151
    Some excellent finds here by a number of people. Thanks to all who have helped, I have repped all of you. With one exception, your posts were exactly what I had been looking for. As an update, I now have a modded ROM flasher for my M6400, so I should be able to get RAID with TRIM working on this machine. I just don't dare yet do the actual flash. This is a mission-critical machine, and I cannot afford to loose it at this time of the year. I will try this later in the spring, however, and report back.
     
  10. tilleroftheearth

    tilleroftheearth Wisdom listens quietly...

    Reputations:
    5,398
    Messages:
    12,692
    Likes Received:
    2,717
    Trophy Points:
    631
    Pirx, I am very curious to seeing a comparison (productivity - not benchmarks) of your current setup to your 'modded' setup.

    This is something I would be willing to try (not for RAID capabilities - but simply to have the OROM be the proper version for the latest IRST drivers for the best compatibility and performance).

    Keep us posted and Good luck!
     
  11. jclausius

    jclausius Notebook Virtuoso

    Reputations:
    6,160
    Messages:
    3,265
    Likes Received:
    2,573
    Trophy Points:
    231
    tiller,

    What is the version of chipset of your target mobo?
     
  12. tilleroftheearth

    tilleroftheearth Wisdom listens quietly...

    Reputations:
    5,398
    Messages:
    12,692
    Likes Received:
    2,717
    Trophy Points:
    631
    jclausius, I have no method to check actually - but it was bought a year ago so I don't expect it to be too current (HP Pavilion dv7-6197ca).
     
  13. jclausius

    jclausius Notebook Virtuoso

    Reputations:
    6,160
    Messages:
    3,265
    Likes Received:
    2,573
    Trophy Points:
    231
    Out of curiosity, if you're not going to be worried about RAID, why bother upgrading the OROM portion? In other words, the way I understand it, the Optional ROM is the "Fake RAID" controller portion of your BIOS? If you're not going to be running RAID, the latest drivers should work just fine w/ the rest of your controller.
     
  14. tilleroftheearth

    tilleroftheearth Wisdom listens quietly...

    Reputations:
    5,398
    Messages:
    12,692
    Likes Received:
    2,717
    Trophy Points:
    631
    I'm not sure if that is accurate - the latest drivers need the latest OROM to work 100% properly (and as fast as possible) if I understand it right?
     
  15. jclausius

    jclausius Notebook Virtuoso

    Reputations:
    6,160
    Messages:
    3,265
    Likes Received:
    2,573
    Trophy Points:
    231
    I guess that is my question. If the first part of OROM is "Optional," and the 2nd part of the ROM is specifically for fake RAID, why would the drivers need any of this, especially if your not even using RAID?
     
  16. tilleroftheearth

    tilleroftheearth Wisdom listens quietly...

    Reputations:
    5,398
    Messages:
    12,692
    Likes Received:
    2,717
    Trophy Points:
    631
    How I see it is that RAID or not, the OROM and the IRST still has to work in tandem - but I could be wrong. Hmmm... more questions than answers! :)

    I'll have to look into this further with my own testing (maybe a few weeks before I'll have the time).
     
  17. jclausius

    jclausius Notebook Virtuoso

    Reputations:
    6,160
    Messages:
    3,265
    Likes Received:
    2,573
    Trophy Points:
    231
    I wish Intel's public documentation was a little more transparent on these issues. Let us know what you find.
     
  18. WhatsThePoint

    WhatsThePoint Notebook Virtuoso

    Reputations:
    3,338
    Messages:
    3,322
    Likes Received:
    809
    Trophy Points:
    181
    Here's what Fernando @ win-lite.de says:

    AHCI and RAID systems generally will work at its best, when the in-use RAID ROM module (="firmware" of the AHCI/RAID Controller) and the in-use AHCI/RAID drivers belong to the same generation (for Intel: MSM/RST/RSTe) and - if possible - to the same version series (e.g. Intel MSM v8.9 or Intel RST v10.1).

    Unfortunately there are some technical limitations, because the actual PCI ROM modules are not fully backwards compatible. Only the owners of a brandnew mainboard or pc can be sure, that the newest PCI ROM version definitively will work. As a consequence users with an older hardware configuration have to find out themselves (or by a Google search) the last PCI ROM version, which is suitable for their mainboard/system.

    Users, who have flashed a BIOS with an uncompatible Intel RAID ROM version, probably will not be able to run and/or to use the Intel RAID ROM Utility (by hitting CTRL+I), but usually this problem can be solved by reflashing the original BIOS.

    BIOS-Modding: How to update PCI ROM modules of an AMI/Phoenix/Award BIOS - BIOS/BIOS-Modding - Win-Lite Forum
     
  19. jclausius

    jclausius Notebook Virtuoso

    Reputations:
    6,160
    Messages:
    3,265
    Likes Received:
    2,573
    Trophy Points:
    231
    If I understand this correctly, the OROM in the BIOS may not be backwards compatible due to variations even within the same chipset family. Am I misinterpreting this?
     
  20. WhatsThePoint

    WhatsThePoint Notebook Virtuoso

    Reputations:
    3,338
    Messages:
    3,322
    Likes Received:
    809
    Trophy Points:
    181
    TRIMcheck: A FREEWARE TRIM TESTER

    When executed for the first time it will write on specific sectors on the SSD. It will then delete the written data and exit. When you run it a second time a minute later, it will try to read the exact same sectors. When TRIM works you'll get zeroes on the sectors it wrote, plus a notification that TRIM works. If the data is still there you'll be notified that TRIM is not working. This is good for cases where certain software use cheap workarounds that cripple TRIM in order to ensure SSD compatibility. In such cases fsutil will still show that TRIM is enabled, regardless if it really works or not. With this proggie you'll know for sure.

    This program has no GUI, it runs in a command prompt window. You must copy it on the SSD that you are testing and run it twice, waiting for at least 30 seconds to a minute between runs in order to ensure accurate results.

    Get it here:

    Index of /trimcheck
     

    Attached Files:

  21. jclausius

    jclausius Notebook Virtuoso

    Reputations:
    6,160
    Messages:
    3,265
    Likes Received:
    2,573
    Trophy Points:
    231
    Thanks for the post. However, a bit confused at this statement...

    Unless something runs as ADMIN on Win 7 and disables this within the OS, not sure how a piece of software could stop the OS from sending TRIM commands along with any delete.

    In any case, thanks for the followup.
     
  22. OtherSongs

    OtherSongs Notebook Evangelist

    Reputations:
    113
    Messages:
    640
    Likes Received:
    1
    Trophy Points:
    31
    The free HWiNFO program shows what chipset you have, and also a lot of other useful stuff. Latest version is 4.12

    Download it at: HWiNFO, HWiNFO32 & HWiNFO64 - Hardware Information and Analysis Tools
     
  23. WhatsThePoint

    WhatsThePoint Notebook Virtuoso

    Reputations:
    3,338
    Messages:
    3,322
    Likes Received:
    809
    Trophy Points:
    181
  24. WhatsThePoint

    WhatsThePoint Notebook Virtuoso

    Reputations:
    3,338
    Messages:
    3,322
    Likes Received:
    809
    Trophy Points:
    181