Live data from Hacker News

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

news.ycombinator.com

71–80 of 144 posts

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

#71

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 Uns…

How are your power on hours 496 then? Something is fishy...

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

#72

A couple hundred gbs write and read per day seem normal to me for a developer machine. Spinning up a new VM from scratch itself will take around 10gb read and write. If you are building containers or loading up a lot of data, can easily reach that. I'm surprised your figures are low because I always see tens of gbs of write and read normally without doing much.

I'm doing none of that on this machine yet.

In generak, it can reach it easily on a dev machine, but it seems like the norm. And my linux experience is at 1/5th or 1/10th the amount of data read/write tha comparable tasks.

Looking at this thread, it seems this is the way with macOS.

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

#73

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…

No post body was provided.

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

#74

M1 Max Mac Studio === 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: 13,080,985 [6.69 TB] Data Units Written: 14,773,075 [7.56 TB] Host Read Commands: 235,532,909 Host Write Commands: 232,742,604 Cont…

I don't think so. M1 Max Studio here, too:

  === 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:                    72,850,196 [37.2 TB]
  Data Units Written:                 27,537,988 [14.0 TB]
  Host Read Commands:                 1,890,170,768
  Host Write Commands:                834,294,305
  Controller Busy Time:               0
  Power Cycles:                       222
  Power On Hours:                     668
  Unsafe Shutdowns:                   10
  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
The thing at the end, though... that's odd and troubling.

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

#75
post #55

Earlier quoted context omitted.

Wow. What kinda operations are you performing? It's at an indicated 15% of its life in 3 months! (I understand that it can go past 100%)

Need to remember the actual date I got it, but it's definitely not longer than 5 months or something. Edit: My user folder was created May 26, 2022. So 5 months. Basically I was completely unaware of this problem to start with. I'm a generalist, and so typically: - have Blender open doing some 3D modeling, then forget to close - make some music on Ableton with hundreds of tracks and plugins - designing a UI on Sketch…

I'm impressed that you can do all that with only 16Gb RAM.

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

#76
Mac Studio M1 Max / 32 GB RAM / 2TB SSD / April 2022

Used daily for moderate "office" usage (Slack/Teams/Firefox/RDP) during office hours. Heavier usage (XCode/AndroidStudio/Lightroom/FCP) on weekends/evenings.

  === 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:                    49,821,690 [25.5 TB]
  Data Units Written:                 29,653,584 [15.1 TB]
  Host Read Commands:                 773,908,710
  Host Write Commands:                352,429,221
  Controller Busy Time:               0
  Power Cycles:                       214
  Power On Hours:                     428
  Unsafe Shutdowns:                   9
  Media and Data Integrity Errors:    0
  Error Information Log Entries:      0
I had to turn off Powernap to convince the thing to sleep. But whatever non sense it was doing (apparently stuck in Photos and Push Notifications), it has thankfully not burned the SSD!

Addendum. I just wrote 1.7GB in the last 30mins while reading HN on Firefox, and a few other web pages. Based on that, I would say the 2GB–4GB write a day from OP are fine.

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

#78
M1 Max MacBook Pro (14-inch, 2021)

About a year old

  === 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:                    1%
  Data Units Read:                    484,554,045 [248 TB]
  Data Units Written:                 81,389,728 [41.6 TB]
  Host Read Commands:                 6,125,629,006
  Host Write Commands:                1,758,008,262
  Controller Busy Time:               0
  Power Cycles:                       146
  Power On Hours:                     1,795
  Unsafe Shutdowns:                   6
  Media and Data Integrity Errors:    0
  Error Information Log Entries:      0

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

#79
M1 Air, 8Gb/512Gb, used as a daily driver since release.

  SMART/Health Information (NVMe Log 0x02)
  Critical Warning:                   0x00
  Temperature:                        44 Celsius
  Available Spare:                    100%
  Available Spare Threshold:          99%
  Percentage Used:                    6%
  Data Units Read:                    443,320,843 [226 TB]
  Data Units Written:                 362,278,642 [185 TB]
  Host Read Commands:                 4,372,886,373
  Host Write Commands:                2,111,809,609
  Controller Busy Time:               0
  Power Cycles:                       474
  Power On Hours:                     2,228
  Unsafe Shutdowns:                   37
  Media and Data Integrity Errors:    0
  Error Information Log Entries:      0

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

#80
post #74

M1 Max Mac Studio === 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: 13,080,985 [6.69 TB] Data Units Written: 14,773,075 [7.56 TB] Host Read Commands: 235,532,909 Host Write Commands: 232,742,604 Cont…

I don't think so. M1 Max Studio here, too: === 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: 72,850,196 [37.2 TB] Data Units Written: 27,537,988 [14.0 TB] Host Read Commands: 1,890,170,768 Host Write…

I got that too on my Mac Studio. And I don't know if it's a bug or something real.

Seems the code that generate this error is something like this: https://github.com/mirror/smartmontools/blob/0df69a95136fd42...

It simply calls `GetLogPage()` on the `IONVMeSMARTInterface`. Apple documentation is as usual devoid of content. https://developer.apple.com/documentation/iokit/ionvmesmarti...

But I found this `745` value `0x2e9` might be

  #define kIOReturnDeviceError  iokit_common_err(0x2e9) // the device is not working properly!
https://opensource.apple.com/source/xnu/xnu-344/iokit/IOKit/...

Device not working properly?! Or is it just a shit driver?

Post reply on HN