Ask HN: Has the Apple Silicon excessive disk read/write issue been fixed?

125 points by cool_hw ↗ HN
This was a discussion when M1 macbooks were launched, and Apple supposedly addressed it in an OS update (macOS 11.4).

But I'm seeing really high read/write numbers. I'm aware that SSD lifespans are long and TBW spec is pretty generous. Still, compared to my linux machines, this seems extraordinarily high.

On my newish M1 MBA, with the latest updates, with barely any use, 98%+ sleep, I'm seeing about 3 to 5 GB reads per day and 2 to 4 GB writes per day.

Latest report from smartctl.

----------------------------------------------------

    === START OF SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    
    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        27 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    0%
    Data Units Read:                    716,195 [366 GB]
    Data Units Written:                 616,232 [315 GB]
    Host Read Commands:                 9,108,273
    Host Write Commands:                6,947,397
    Controller Busy Time:               0
    Power Cycles:                       95
    Power On Hours:                     5
    Unsafe Shutdowns:                   11
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
---------------------------------------------------- M1 Air 16GB 1TB.

Is this normal?

143 comments

[ 5.4 ms ] story [ 771 ms ] thread

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        34 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    0%
    Data Units Read:                    33,233,061 [17.0 TB]
    Data Units Written:                 63,502,177 [32.5 TB]
    Host Read Commands:                 1,054,789,960
    Host Write Commands:                1,703,081,155
    Controller Busy Time:               0
    Power Cycles:                       184
    Power On Hours:                     921
    Unsafe Shutdowns:                   18
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
Even after 32TBW i'm at 0% used? Wow.
That is good to note, I wonder how accurate it is. Can you share how long you've had it and the typical usage (hours and disk activity)?
What model of Macbook is this? And how big is the SSD?
another data point:

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        30 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    1%
    Data Units Read:                    53,345,304 [27.3 TB]
    Data Units Written:                 59,621,038 [30.5 TB]
    Host Read Commands:                 349,163,066
    Host Write Commands:                218,226,588
    Controller Busy Time:               0
    Power Cycles:                       109
    Power On Hours:                     225
    Unsafe Shutdowns:                   8
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
MacBook Air (M1, 2020) 16GB 512GB
Your read/writes seem to be comparable to the parent, but your power on hours are significantly lower, really hard to draw any conclusions here.

I wonder if this whole issue is simply MacOS dumping the stuff in memory to disk when going to standby, and then reading it all back.

So for a 16GB machine, for simplicity, let's say you always have RAM saturated, and you open/close the lid 5 times in a day, you have 16GB * 5 = 80GB per day read/written. For 365 days, that is 80 * 365 = 29200 GB or 28.51 TB read/written.

Launch day purchased M1 MacBook Pro with 4TB SSD.

I have custom pmset setup to NOT dump to disk (mostly) with two aliases:

    pmset-fast: sudo pmset -ab hibernatemode 0 sleep 0
    pmset-secure: sudo pmset -ab hibernatemode 25 sleep 0 displaysleep 1
First one is memory only, if the battery dies, the battery dies and the OS goes away.

The second one is hard drive only, closing the lid writes to disk only and puts the laptop into deep sleep.

I know I'm weird for having this but since I run the first one (fast) 99% of the time I can basically say I almost never write hibernation files to disk.

Thank you, this is useful. I think I'm going to try the memory only option. Your Read/Writes seem lower than others (still pretty high, but much better than other Apple Silicon)
Is there a noticeable difference in battery life usage with option 1?
>open/close the lid 5 times in a day

It's a bit smarter than that, it only writes memory contents to disk after a given period in standby. So in your example you'd only be incurring it twice a day probably.

Indeed, I intended to say letting it get to standby. :)
(comment deleted)
My M1Max 1TB:

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        39 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    1%
    Data Units Read:                    139,236,989 [71.2 TB]
    Data Units Written:                 58,514,871 [29.9 TB]
    Host Read Commands:                 6,104,303,185
    Host Write Commands:                716,889,789
    Controller Busy Time:               0
    Power Cycles:                       392
    Power On Hours:                     1,311
    Unsafe Shutdowns:                   121
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
I keep it busy (I'm on it for, like 12 hours a day).
> Unsafe Shutdowns: 121

Holy shit, that's like once a day?

(comment deleted)
My MacBook Air (M1, 2020):

    === START OF SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        32 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    1%
    Data Units Read:                    8,843,213 [4.52 TB]
    Data Units Written:                 12,256,532 [6.27 TB]
    Host Read Commands:                 229,897,011
    Host Write Commands:                452,963,852
    Controller Busy Time:               0
    Power Cycles:                       208
    Power On Hours:                     258
    Unsafe Shutdowns:                   3
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
Seems fine to me!
As I shared in another post, compared to my linux machine, most of the posts, including yours, have atleast 5x-10x the usage. I understand that disk usage can vary wildly, but the linux machine I'm comparing with has been used through the work week for the past 6 years with VMs/docker and other large files.
Honestly I’ll probably replace this computer much before this becomes an issue.
I think most folks will.
On the other hand my linux Thinkpad has worryingly high numbers:

    Available Spare:                    100% 
    Available Spare Threshold:          10%
    Percentage Used:                    6%
    Data Units Read:                    123,210,825 [63.0 TB]
    Data Units Written:                 59,502,097 [30.4 TB]
    Host Read Commands:                 1,335,288,785
    Host Write Commands:                740,649,667
    Controller Busy Time:               3,494
    Power Cycles:                       3,069
    Power On Hours:                     5,339
    Unsafe Shutdowns:                   155
Power On Hours seem to indicate the disk has been on for a good chunk of time, so I would think you're doing fine. Percentage used says 6%, so that seems decent too.

What model SSD is this?

M1 Pro 16" 1TB/32GB:

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        33 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    0%
    Data Units Read:                    35,019,801 [17.9 TB]
    Data Units Written:                 16,172,066 [8.28 TB]
    Host Read Commands:                 792,786,606
    Host Write Commands:                270,657,694
    Controller Busy Time:               0
    Power Cycles:                       292
    Power On Hours:                     320
    Unsafe Shutdowns:                   13
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
This is from a Macbook Air (M1, 2020, 16GB/1TB):

  === START OF SMART DATA SECTION ===
  SMART overall-health self-assessment test result: PASSED

  SMART/Health Information (NVMe Log 0x02)
  Critical Warning:                   0x00
  Temperature:                        42 Celsius
  Available Spare:                    100%
  Available Spare Threshold:          99%
  Percentage Used:                    13%
  Data Units Read:                    788,079,439 [403 TB]
  Data Units Written:                 731,596,572 [374 TB]
  Host Read Commands:                 6,353,571,120
  Host Write Commands:                2,866,603,247
  Controller Busy Time:               0
  Power Cycles:                       224
  Power On Hours:                     2,521
  Unsafe Shutdowns:                   35
  Media and Data Integrity Errors:    0
  Error Information Log Entries:      0
2020 M1 Air (8GB/256GB)

=== START OF SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)

Critical Warning: 0x00

Temperature: 34 Celsius

Available Spare: 100%

Available Spare Threshold: 99%

Percentage Used: 4%

Data Units Read: 181,700,939 [93.0 TB]

Data Units Written: 123,234,692 [63.0 TB]

Host Read Commands: 2,190,216,039

Host Write Commands: 1,482,884,502

Controller Busy Time: 0

Power Cycles: 159

Power On Hours: 1,480

Unsafe Shutdowns: 16

Media and Data Integrity Errors: 0

Error Information Log Entries: 0

----------------------------------------------------

I don't really know how to interpret this but I've been getting consistent crashes once my battery hits around 25% charge and the widely reported "AP watchdog expired" error message. Battery capacity's now at 71% and dropping rapidly after sub 500 charge cycles. Couple months out of 1 year warranty. Any advice is appreciated, would hope I'm not just shit out of luck for such an expensive device after ~15 months.

You have a bad battery and need a new one. Should be fine afterwards.
Another data point: 2020 M1 MBA, 16 GB, 1TB. Mostly used for web browsing, email, text, some writing.

     === START OF SMART DATA SECTION ===
     SMART overall-health self-assessment test result: PASSED

     SMART/Health Information (NVMe Log 0x02)
     Critical Warning:                   0x00
     Temperature:                        32 Celsius
     Available Spare:                    100%
     Available Spare Threshold:          99%
     Percentage Used:                    0%
     Data Units Read:                    115,962,722 [59.3 TB]
     Data Units Written:                 17,185,040 [8.79 TB]
     Host Read Commands:                 1,291,690,131
     Host Write Commands:                338,681,101
     Controller Busy Time:               0
     Power Cycles:                       193
     Power On Hours:                     316
     Unsafe Shutdowns:                   4
     Media and Data Integrity Errors:    0
     Error Information Log Entries:      0
November 2021, macbook pro m1

=== START OF SMART DATA SECTION ===

SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)

Critical Warning: 0x00

Temperature: 31 Celsius

Available Spare: 100%

Available Spare Threshold: 99%

Percentage Used: 0%

Data Units Read: 5,641,034 [2,88 TB]

Data Units Written: 5,080,733 [2,60 TB]

Host Read Commands: 133,355,019

Host Write Commands: 71,299,866

Controller Busy Time: 0

Power Cycles: 138

Power On Hours: 98

Unsafe Shutdowns: 6

Media and Data Integrity Errors: 0

Error Information Log Entries: 0

M1 Pro

  === START OF SMART DATA SECTION ===
  SMART overall-health self-assessment test result: PASSED

  SMART/Health Information (NVMe Log 0x02)
  Critical Warning:                   0x00
  Temperature:                        28 Celsius
  Available Spare:                    100%
  Available Spare Threshold:          99%
  Percentage Used:                    0%
  Data Units Read:                    14,683,648 [7.51 TB]
  Data Units Written:                 15,448,997 [7.90 TB]
  Host Read Commands:                 198,962,886
  Host Write Commands:                199,550,695
  Controller Busy Time:               0
  Power Cycles:                       172
  Power On Hours:                     196
  Unsafe Shutdowns:                   15
  Media and Data Integrity Errors:    0
  Error Information Log Entries:      0

  SMART/Health Information (NVMe Log 0x02)
  Critical Warning:                   0x00  
  Temperature:                        34 Celsius  
  Available Spare:                    100%  
  Available Spare Threshold:          99%  
  Percentage Used:                    8%  
  Data Units Read:                    1,464,393,120 [749 TB]  
  Data Units Written:                 442,313,981 [226 TB]  
  Host Read Commands:                 21,452,008,572  
  Host Write Commands:                3,394,045,680  
  Controller Busy Time:               0  
  Power Cycles:                       288
  Power On Hours:                     2,173
  Unsafe Shutdowns:                   18
  Media and Data Integrity Errors:    0 
  Error Information Log Entries:      0
  
Very much abusing my M1Max lately having it run some heavy data scripts & docker 24/7
Wow. What is the SSD capacity?

So 226TB is ~8% for this capacity, i.e., about 28.25TB per 1%, so about 2825TB expected TBW. Ignoring the fact that this is ignoring many factors contributing to the life span, it's still quite an interesting capacity.

M1 Pro 16" 500GB

    === START OF SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        34 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    0%
    Data Units Read:                    18,809,609 [9.63 TB]
    Data Units Written:                 18,091,004 [9.26 TB]
    Host Read Commands:                 431,191,695
    Host Write Commands:                334,856,144
    Controller Busy Time:               0
    Power Cycles:                       191
    Power On Hours:                     384
    Unsafe Shutdowns:                   15
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
2020 M1 Air running whatever the latest beta macOS is. Not too shabby all things considered... I mostly do light dev work and music production (primarily live instrumentation so not too much in the way of sample-based plugins) so this kind of makes sense.

   === START OF SMART DATA SECTION ===
   SMART overall-health self-assessment test result: PASSED
 
   SMART/Health Information (NVMe Log 0x02)
   Critical Warning:                   0x00
   Temperature:                        26 Celsius
   Available Spare:                    100%
   Available Spare Threshold:          99%
   Percentage Used:                    0%
   Data Units Read:                    21,793,717 [11.1 TB]
   Data Units Written:                 13,227,049 [6.77 TB]
   Host Read Commands:                 307,014,870
   Host Write Commands:                219,603,100
   Controller Busy Time:               0
   Power Cycles:                       124
   Power On Hours:                     211
   Unsafe Shutdowns:                   6
   Media and Data Integrity Errors:    0
   Error Information Log Entries:      0
 
   Read 1 entries from Error Information Log failed: GetLogPage failed: system=0x38, sub=0x0, code=745
I got mine at the start of july, I am at 3.27tb/2.12tb for my 16GB/256GB M1 Air in 78 hours, 11 unsafe shutdowns. I use it as a browser (excessive firefox tabs) and discord client and terminal mostly, light dev stuff (fast in intellij lol) etc. Kinda whatevs, that's what the swap is there for, I'm not worrying about my SSD getting used up in only 15 years or whatever.

I keep half an eye on the task manager (put it on the dock) and if you see red (kernel time) start to really spike up it can indicate swapping and it's time to reconsider your tabs. It can be other things too but it's one thing to keep an eye on. It's 16gb, it's not infinite, and if you have 1000 tabs open then yeah you're probably going to want to close some before you start something else, but, it's reasonable for consumption or light personal dev work (especially if you have a fileserver that could run containers/DBs). It's not gonna omg burn out the SSD the first time you have 100 tabs open.

8GB would be really really tight though, I'd imagine those machines might be swapping quite a bit more, that's a very low RAM spec other than for a consumption machine or terminal. And I wouldn't say no to more at 16gb either, too bad there's such a price increment on M2 24GB or MBP 14"/16".

Someday it'd be nice to move up to a 64gb spec and just have all the RAM, but there's other things I'd rather do, the MBA is fine for around the house etc, and I wanted to build a beefy fileserver to host services/containers anyway.

  SMART/Health Information (NVMe Log 0x02)
  Critical Warning:                   0x00
  Temperature:                        32 Celsius
  Available Spare:                    100%
  Available Spare Threshold:          99%
  Percentage Used:                    1%
  Data Units Read:                    19,533,293 [10.0 TB]
  Data Units Written:                 37,837,167 [19.3 TB]
  Host Read Commands:                 643,692,760
  Host Write Commands:                1,112,961,675
  Controller Busy Time:               0
  Power Cycles:                       215
  Power On Hours:                     505
  Unsafe Shutdowns:                   23
  Media and Data Integrity Errors:    0
  Error Information Log Entries:      0

 seems fixed?
> seems fixed?

My linux machine that I have used for professional development for 6 years now reports (typed out the relevant bits by hand).

    Data Units Read:                    ...[4.44 TB]
    Data Units Written:                 ...[5.40 TB]
    ....
    Power Cycles:                       811
    Power On Hours:                     1142
16GB 512GB SSD

This is a machine that has been used for full time development, running virtual machines and docker and all sorts of activity.

After all that, it reports only ~5TB read/written. That is mind blowing to me.

Are people generating their read/write results by install & running the 'smartmontools' utility?
yes, and running `smartctl -a disk0`

  smartctl 7.3 2022-02-28 r5338 [Darwin 21.4.0 arm64] (local build)
  Copyright (C) 2002-22, Bruce Allen, Christian Franke, 
  www.smartmontools.org

  === START OF INFORMATION SECTION ===
  Model Number:                       APPLE SSD AP2048R
  Serial Number:                      0ba0160b818c6a36
  Firmware Version:                   387.100.
  PCI Vendor/Subsystem ID:            0x106b
  IEEE OUI Identifier:                0x000000
  Controller ID:                      0
  NVMe Version:                       <1.2
  Number of Namespaces:               3
  Local Time is:                      Thu Sep 29 21:33:52 2022
  Firmware Updates (0x02):            1 Slot
  Optional Admin Commands (0x0004):   Frmw_DL
  Optional NVM Commands (0x0004):     DS_Mngmt
  Maximum Data Transfer Size:         256 Pages

  Supported Power States
  St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
   0 +     0.00W       -        -    0  0  0  0        0       0

  === START OF SMART DATA SECTION ===
  SMART overall-health self-assessment test result: PASSED

  SMART/Health Information (NVMe Log 0x02)
  Critical Warning:                   0x00
  Temperature:                        30 Celsius
  Available Spare:                    100%
  Available Spare Threshold:          99%
  Percentage Used:                    0%
  Data Units Read:                    18,714,682 [9.58 TB]
  Data Units Written:                 30,888,220 [15.8 TB]
  Host Read Commands:                 405,056,519
  Host Write Commands:                791,606,107
  Controller Busy Time:               0
  Power Cycles:                       519
  Power On Hours:                     425
  Unsafe Shutdowns:                   21
  Media and Data Integrity Errors:    0
  Error Information Log Entries:      0

  --------------------------
Macbook Pro M1 Max - 2021 16" 64GB Ram 2TB SSD
Is this saying you restart more than once an hour on average?
I'm not sure how it works for Apple's built-in SSD behaves, but in most laptops it is typical for the SSD to be fully powered off when the lid is closed and the system goes to sleep.
M1 Macbook Pro, about 4 months old, used for work which involves lots of file data volume, only 8G RAM so there's a lot of swapping going on. The lifetime percentage value is a bit worrying. Also the "unsafe shutdown count" is entirely due to hard crashes / blank screen of death that happen randomly every few weeks

    === START OF SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    
    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        33 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    6%
    Data Units Read:                    379,131,189 [194 TB]
    Data Units Written:                 378,539,362 [193 TB]
    Host Read Commands:                 1,090,496,552
    Host Write Commands:                883,626,255
    Controller Busy Time:               0
    Power Cycles:                       129
    Power On Hours:                     673
    Unsafe Shutdowns:                   8
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
That is pretty crazy, going by that, (and I know this isn't how it works), you have a projected total use of 5.5 years.

Due to the onboard SSD, the machine will be dead.

MacBook Air, M1, 512GB, purchased December 2020, 16GB RAM, as you can tell quite hammered for a web developer who doesn't use the main JavaScript frameworks or Docker almost ever.

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        30 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    2%
    Data Units Read:                    139,890,354 [71.6 TB]
    Data Units Written:                 100,146,689 [51.2 TB]
    Host Read Commands:                 1,957,345,039
    Host Write Commands:                1,121,330,045
    Controller Busy Time:               0
    Power Cycles:                       724
    Unsafe Shutdowns:                   85
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
Thanks for sharing, that's a lot of reads/writes.

    Unsafe Shutdowns:                   85
What does this mean? and looks like it is very high compared to others in the list
That’s my fault. I have two or three kernel extensions for different types of hard drive file systems and sometimes they react badly to disconnects or quirks. Apple’s Blu Ray UDF handler also needs work and likes occasionally crashing.
M1 Air 16G 1TB (Bought on Nov 2020 - 1y 10 months old) I think I'm second on this page with "unsafe shutdowns" with 62. It's used by 4 people, 2 adults, 2 kids and heavily used pretty much all day and night.

Lots of web, and video watching. Some very light development and a ton of email :)

I think the unsafe shutdowns are due to my kids trying to run Steam and other games that may or may not work properly, e.g. Farming Simulator that didn't play nice, and cause the computer to freeze forcing us to do a hard shutdown.

  === START OF SMART DATA SECTION ===
  SMART overall-health self-assessment test result: PASSED
  
  SMART/Health Information (NVMe Log 0x02)
  Critical Warning:                   0x00
  Temperature:                        24 Celsius
  Available Spare:                    100%
  Available Spare Threshold:          99%
  Percentage Used:                    1%
  Data Units Read:                    68,237,533 [34.9 TB]
  Data Units Written:                 40,504,255 [20.7 TB]
  Host Read Commands:                 1,281,536,088
  Host Write Commands:                810,117,030
  Controller Busy Time:               0
  Power Cycles:                       332
  Power On Hours:                     892
  Unsafe Shutdowns:                   62
  Media and Data Integrity Errors:    0
  Error Information Log Entries:      0
re: unexpected shutdowns, don't forget thunderbolt hotplug/hot-unplug failures. they happen even on Apple silicon. I've had at least a couple on my M1, I had them with my work Dell, my work MBP i9 (lolrip) actually has been probably the most stable tbh, but even still it happens occasionally.
This is a lot lighter usage than what other people posted here. Are you rarely opening many apps at once until your ram almost full?
512/16 M1 Air used for about 9 months for video/photo editing and Xcode and some other dev.

  === START OF SMART DATA SECTION ===
  SMART overall-health self-assessment test result: PASSED
  
  SMART/Health Information (NVMe Log 0x02)
  Critical Warning:                   0x00
  Temperature:                        30 Celsius
  Available Spare:                    100%
  Available Spare Threshold:          99%
  Percentage Used:                    1%
  Data Units Read:                    73,619,047 [37.6 TB]
  Data Units Written:                 47,465,560 [24.3 TB]
  Host Read Commands:                 1,293,036,940
  Host Write Commands:                657,873,357
  Controller Busy Time:               0
  Power Cycles:                       353
  Power On Hours:                     529
  Unsafe Shutdowns:                   10
  Media and Data Integrity Errors:    0
  Error Information Log Entries:      0
Running EGACS?

8 GBs And Constantly Swapping?

Mac Studio - 2TB disk - daily desktop/workstation

  SMART/Health Information (NVMe Log 0x02)
  Critical Warning:                   0x00
  Temperature:                        26 Celsius
  Available Spare:                    100%
  Available Spare Threshold:          99%
  Percentage Used:                    0%
  Data Units Read:                    44,959,209 [23.0 TB]
  Data Units Written:                 21,443,041 [10.9 TB]
  Host Read Commands:                 494,728,880
  Host Write Commands:                379,601,575
  Controller Busy Time:               0
  Power Cycles:                       291
  Power On Hours:                     469
  Unsafe Shutdowns:                   18
  Media and Data Integrity Errors:    0
  Error Information Log Entries:      0
M1 Mac Mini. I beat the heck out of this thing.

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        28 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    5%
    Data Units Read:                    83,875,891 [42.9 TB]
    Data Units Written:                 70,257,403 [35.9 TB]
    Host Read Commands:                 881,926,045
    Host Write Commands:                530,490,261
    Controller Busy Time:               0
    Power Cycles:                       3,350
    Power On Hours:                     496
    Unsafe Shutdowns:                   13
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
One thing that really stands out to me here is everyone else has a `Power Cycles` measurement in the hundreds... but mine is 3,350 which seems odd. Especially because this is not a laptop and it never goes to sleep. It has only been rebooted maybe 10 times since it was purchased about a year ago.

    Unsafe Shutdowns:                   13
That's a bit worrisome. Has your mac been freezing/crashing?
I'm not sure but I wonder if it happens when you do the macos install / recovery mode where it does repeated reboots.
I only see that counter going up when a system hard freezes/crashes or the system loses power. I'm not sure macos recovery/install would cause that.
I hold the record for "unsafe shutdowns."

One reason, is that I am constantly using Xcode, which is a bug farm, and SourceSafe used to crash like crazy.

Also, some of the apps I'm developing don't start off, perfect. I spend a lot of time crashing.

The advent of the M1 seems to have ushered in a new threading system. The threads act weird, now (look at how long it takes to resolve your stack, on a breakpoint). I'm pretty sure it really doesn't like crashes.

And I stopped playing Borderlands 3, because it liked to crash hard.

> And I stopped playing Borderlands 3, because it liked to crash hard.

In all fairness, it also does this on underpowered Windows/Linux hardware. It really is just a poorly made game, not Wine/Apple's fault here.

Yeah, that'd definitely do it. I'm really interested in knowing if people see that stat going up without crashing/power loss.
Not SourceSafe. SourceTree.

I did use SourceSafe, but it has been many moons.

In any case, SourceTree just released an update that seems to have fixed all the crashes.

Xcode still has some issue with the source code analyzer. Sometimes, it just hangs. In some cases, it’s not force-quittable.

I think in some cases the drive goes to "sleep" when idle and it counts a power cycle when it detects keyboard/mouse movement as a wake. I have an older 2016 MBP with a 2TB drive that has just shy of 50,000 power cycles… which doesn't seem possible, since that would average out to over 20 reboots a day, which doesn't happen. And in 6 years I only have 361 unsafe shutdowns.

There was a time period where I had this docked with displays and the MBP would often wake up from sleep randomly, or from mouse movements. Never did quite figure it out.

How are your power on hours 496 then? Something is fishy...
I think that's because `power on` hours is talking about the disk being in the power on state, not the rest of the machine.
That’s power cycles of the disk firmware, isn’t it, not power cycles of macOS? I don’t know how things work, but guess it might decide to shut down when idle.

It also could crash often, but if that’s the case, I guess you’d have seen data loss. If you run disk repair in Disk Utility, does it find problems with the SSD?

Was it ever really an Apple Silicon issue or a macOS issue? I thought this was a macOS and SSD issue even before Apple Silicon came out?
I'm not sure, but you may be right. In either case, going by the results here, it seems this is expected usage. That is quite something, especially comparing it to linux. No idea how windows plays into this.
Something I have noticed is that a few Mac services related to spotlight have a propensity to be very heavy on the system writes.

corespotlightd and suggestd in particular seem to do some kind of indexing operation after some trigger, which can write tens of gigabytes to the SSD.

I managed to narrow it down to an RSS reader app (from the app store, so presumably not doing anything untoward), which appears to be getting indexed. despite having turned almost all indexing in spotlight off, and even excluded ~/Library and /Library from spotlight.

After the main writes are done (150 MB/s for a period of time), corespotlightd and suggestd then continue to generate a background load of around 50 MB/s of writes for a sustained period of time.

Console logs show there's "ProactiveHarvesting" going on in suggestd, but no clear way to switch this off. I suspect (based on watching it write 16 GB over 5 to 10 minutes), others could be encountering this, or other similar behaviour.