Apple NVMe SMART Monitor Under Control…

Apple isn’t sharing any information about their SMART API’s so I had to dig a little and this is the first result (spoiler alert) from my hack:


-----------------------------------------
Smart Log for NVME device...............: disk0
NamespaceID.............................: 1
Critical Warning........................: 0
Temperature.............................: 37 °Celsius
Available Spare.........................: 100%
Available Spare Threshold...............: 10%
Percentage Used.........................: 1%
Data Units Read.........................: 4,292,043,776,000 [4.29 TB]
Data Units Written......................: 2,145,884,672,000 [2.14 TB]
Host Read Commands......................: 151780827
Host Write Commands.....................: 50512740
Controller Busy Time....................: 248 minutes
Power Cycles............................: 1541
Power On Hours..........................: 1156 hours
Unsafe Shutdowns........................: 784
Media and Data Integrity Errors.........: 0
Number of Error Information Log Entries.: 34

Here is an older one from my MacBook Pro:

-----------------------------------------
Smart Log for NVME device...............: disk0
NamespaceID.............................: 1
Critical Warning........................: 0
Temperature.............................: 22 °Celsius
Available Spare.........................: 100%
Available Spare Threshold...............: 10%
Percentage Used.........................: 0%
Data Units Read.........................: 7086678
Data Units Written......................: 4943651
Host Read Commands......................: 11389069
Host Write Commands.....................: 7246825
Controller Busy Time....................: 44 minutes
Power Cycles............................: 431
Power On Hours..........................: 9 hours
Unsafe Shutdowns........................: 15
Media and Data Integrity Errors.........: 0
Number of Error Information Log Entries.: 0

The temperature on my MacBook Pro is lower. Only 22 °Celsius. I was also unpleasantly surprised by the fifteen ‘Unsafe Shutdowns’ on it. This has to be a driver issue. Never had a single freeze, lockdown or sudden reboot.

The high number of ‘Unsafe Shutdowns’ on the hack is easily explainable. As you know, I do a lot of testing and then things can go wrong. And they do go wrong with a couple of beta kernel drivers.

More to come…

Advertisements

8 thoughts on “Apple NVMe SMART Monitor Under Control…

  1. I have SMART status unavailable for my disks in system information, although I’ve set it in BIOS and can access is via third party software (HWMonitor).

    What could be the reason? Is there a patch for it (DSDT or kext)?

      • It looks like Samsung-based NVMe SSDs in MacBook’s have better NVMe SMART support, because my APPLE AP0256J SSD doesn’t support Error Log for example, also it has different “available spare threshold”.
        BTW IMHO some values from your first listing look strange – Data Units Written = 214 TB? Hm…

      • The durability goes up with the capacity and I believe that all Apple SSD’s support error logs, but nobody knows how to read it.

        Ah right. I see. The thousands separators are were missing. Thanks for pointing that out.

  2. Model Number: APPLE SSD AP0256J
    Firmware Version: 12.93.01
    Total NVM Capacity: 0
    Unallocated NVM Capacity: 0
    Controller ID: 0
    Number of Namespaces: 2
    Namespace 1 Size: 251,000,193,024 [251 GB]
    Namespace 1 Capacity: 251,000,193,024 [251 GB]
    Namespace 1 Utilization: 251,000,193,024 [251 GB]
    Namespace 1 Formatted LBA Size: 4096
    Firmware Updates: 1 Slot
    Maximum Data Transfer Size: 256 Pages
    Warning Comp. Temp. Threshold: 0
    Critical Comp. Temp. Threshold: 0
    Namespace 1 Features (0x00): 0
    Log Page Attributes: 0
    Error Log Page Entries (max): 0

    —-

    Critical Warning: 0x00
    Temperature: 39 Celsius
    Available Spare: 86%
    Available Spare Threshold: 2%
    Percentage Used: 0%
    Data Units Read: 3,229,653 [1.65 TB]
    Data Units Written: 2,959,248 [1.51 TB]
    Host Read Commands: 19,595,617
    Host Write Commands: 13,087,280
    Controller Busy Time: 0
    Power Cycles: 279
    Power On Hours: 10
    Unsafe Shutdowns: 1
    Media and Data Integrity Errors: 0
    Error Information Log Entries: 0
    Warning Comp. Temperature Time: 0
    Critical Comp. Temperature Time: 0

    —-
    1 unsafe shutdown was real unsafe shutdown

  3. Pingback: NVMe boot args and Dummy kext… – Pike's Universum

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s