Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.

ambient_light

macrumors member
Feb 23, 2021
59
65
That seems low compared to mine (M1 Mini 16GB/512GB):

Code:
uptime
19:23  up 3 days,  5:41, 18 users, load averages: 2.97 3.53 3.51

iostat -Id disk0
              disk0
    KB/t xfrs   MB
  112.13 32127102 3518007.07

So that's 3.5TB (read & write?) in 3 days. It's gone up by about 1TB during today's work. That's twice my SSD capacity. Even with a fair bit of swap (I've got about 15GB swap at the moment), that seems to be a large number. I'm using the same apps during the day, so I wouldn't expect a lot of swaping, but numbers from vm_stat are also very high:

View attachment 1738329

Here's my Disk use from ActivityMonitor:

View attachment 1738325

....and here's the output from smartctl:

View attachment 1738326

So your figures of 337/443GB read/write are much lower....but you only have 11 hours on power-on time. Is that correct? Presumably SMART data is total disk usage for the life of the machine, and not reset on reboot.

I'm now starting to get a bit worried. If I'm writing 500-1000GB to the SSD every day in "normal" OS usage (not copying huge files around) then how long would the SSD last? What is the TBW for these drives?
Your numbers are consistent with mine: if you multiply swapin page number to 16k page size you get bulk of write activity (ca 1.5Tb), i.e. most of writes are coming from constant swapping.
 

pcharlesmorphy

macrumors newbie
Feb 7, 2021
10
11
Hello everybody

Sorry for my bad English, I am using translator DeepL.
I have a Mac mini since 1 month ago, and from the beginning I was obsessed by the TBW issue, since I had bought 256Gb which usually is 150TBW, my idea was also to use Paralells to virtualize Windows and Linux and play some video games occasionally.

As the price of Apple upgrades seems excessive to me, I decided for the 16Gb/256Gb configuration and also decided to buy a thunderbolt 3 enclosure and a 1Tb WD Black ssd.

The first few days I checked the activity monitor and used the demo version of DriveDx, and I started to notice that there was excessive disk writing, which did not seem justified to me.

I expected only writes from installing applications, downloading files, and some swap and temporary files from watching YouTube videos or Netflix.

I searched the internet about the problem but only saw several specific posts about excessive kernel writes on OSX but it didn't seem to refer to the M1.

Finally, I have started to find news and references regarding this problem, and I see that it was not my paranoia.

In my case, I can say that with a normal use of browsing, watching Apple TV+ series, Netflix and Youtube.

Some programming with IntelliJ, writing documents with Word.

With a use of about 8-10h daily I saw that were 15Gb-20Gb approximately depending on the day, although there were two interesting tests that show that the higher the load to the M1 higher writings to the ssd.

One day I made 4 or 5 screencast videos with the iPad, about 7-12 min each, and then passed them to the Mac Mini to edit them with iMovie, and adjust it to the screen and put an initial presentation screen to the video. Little thing in my opinion, because with this, OSX made 40 Gb!!! of writes to the ssd.

Another time I put Paralells with Windows 10 arm, with a configuration of 8Gb, and installed Visual Studio, in 1h of time approximately, 120Gb were written to disk, of which about 40Gb are of the installation of Visual Studio, but the rest was swap.

I for the moment, until a solution to the problem is not glimpsed, I will use my external ssd as boot disk which is not a problem since it has a read and write speed very close to the internal ssd.

Yesterday afternoon for example, Word wrote 2Gb on disk, just to work with a 38 Mb document, really incomprehensible and absurd, although it is true that I had two or three pdf open with preview and a couple of tabs open in Safari, but it does not justify that amount.
 

BacioiuC

macrumors member
May 7, 2020
87
122
Romania
It's interesting that I seem to not be affected by this? I got my M1 MBPro 1 week ago today and have been using it consistently for 10-16 hours a day for work.
Doing game development and working on a project that's about 50GB in size. Thinking more data might be of help to you guys in tracing down what could cause this.

In the past week I installed the following things:
- Unity3D and Visual Studio (rosetta)
- Baldurs Gate 2: EE (iOS version)
- Discord, Pock (touchbar utility), LimeChat
- XCode
- CrossOver + Steam and Skyrim to test out how crossover behaves on M1 macs.

+ 50 GB project for Unity.

In total, my read/writes look like this:
Screenshot 2021-03-04 at 12.46.12.png

In total 418 GB written and 608 read in the time span of 1 week with 10 hours of usage / day on average and only using the software mentioned above. I use Safari as my main browser on this machine. Unity and Visual Studio Code + Safari (Youtube, docs and 3-4 more additional tabs) and Baldurs Gate constantly opened at any point.

I'm also doing regular builds of the game and spitting it out once per day (about 2 GB in size).

The amount of Data Units written is consistent with what I'm doing. If I add up together the file sizes for what I downloaded + MacOS default install size + ~4GB / day the amount of units written it ads up.

So I'm not experiencing this issue myself on this M1. Question is why?

I'm going to go through the other posts and see if there's any specific app being mentioned (like chrome, or zoom or something) and do a test install to check and monitor the issue over the span of my work hours.

Edit: Also, I setup this Macbook as a new Mac, did not import anything from my other stuff. iCloud backing up is disabled.

P.s. I don't leave my mac in sleep mode. End of the day it gets powered off. I keep noticing people like to put it to sleep instead of shutting it down so thought I would mention this.
 
Last edited:

qap

macrumors 6502a
Mar 29, 2011
558
441
Italy
MBA base with 8Gb/256Gb after 2 months

Code:
=== 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:                    5,865,863 [3.00 TB]
Data Units Written:                 4,358,300 [2.23 TB]
Host Read Commands:                 83,130,495
Host Write Commands:                34,514,595
Controller Busy Time:               0
Power Cycles:                       202
Power On Hours:                     35
Unsafe Shutdowns:                   13
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

Is it normal the last error? 🤔

My iMac i9 64Gb/512Gb after one year for comparision

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

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        25 Celsius
Available Spare:                    99%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    3,917,770 [2.00 TB]
Data Units Written:                 1,121,928 [574 GB]
Host Read Commands:                 7,252,370
Host Write Commands:                1,322,175
Controller Busy Time:               30
Power Cycles:                       90,541
Power On Hours:                     100
Unsafe Shutdowns:                   46
Media and Data Integrity Errors:    5
Error Information Log Entries:      5
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               25 Celsius
Temperature Sensor 2:               26 Celsius

Error Information (NVMe Log 0x01, 16 of 64 entries)
No Errors Logged

Assuming you've been doing the same things of both machines, that is quite a significant difference in Read/Write traffic considering the iMac 3 x the power-on hours. Did you really only use the machine for 100 hours in a whole year? That's a couple of weeks use for me!


Damn, my mistake, I was reading the external disk for the iMac, the Lightroom library! For that the stats was so weird. Don't know why but disk0 on the iMac now is my Samsung X5 external disk that is the same 512GB as my internal, so i confused them 😅

These are the correct info for my iMac i9/64GB/512GB after one year:

Code:
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        23 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    8,434,412 [4.31 TB]
Data Units Written:                 13,316,160 [6.81 TB]
Host Read Commands:                 253,456,212
Host Write Commands:                334,645,952
Controller Busy Time:               631
Power Cycles:                       94,647
Power On Hours:                     406
Unsafe Shutdowns:                   45
Media and Data Integrity Errors:    0
Error Information Log Entries:      0

Error Information (NVMe Log 0x01, 16 of 64 entries)
No Errors Logged

Instead my MBA M1 8/256GB after 2 months reports this (and the error in the end 🤔):


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

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        17 Celsius
Available Spare:                    100%
Available Spare Threshold:          99%
Percentage Used:                    0%
Data Units Read:                    5,871,285 [3.00 TB]
Data Units Written:                 4,360,179 [2.23 TB]
Host Read Commands:                 83,265,197
Host Write Commands:                34,565,997
Controller Busy Time:               0
Power Cycles:                       202
Power On Hours:                     35
Unsafe Shutdowns:                   13
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


Someone know why the "Available Spare Threshold" reports this big difference with similar stats? 😳
 

BacioiuC

macrumors member
May 7, 2020
87
122
Romania
Let's do some quick rough math.

418 written right now.
- 53 GB unity project
----
365 GB written left.

7 days of builds exported that are 4 GB in size, written to the drive. About 1-2 builds per day, so let's say it's 10 builds (altough it's much more than that).

365 GB
- 40
-------
325 GB written.


Baldurs Gate: 3.25 GB
Unity: 5 GB
Visual Studio: 2.5 GB
XCode: 45 GB
Skyrim (+ a lot of mods): 17 GB
-----------
72 GB.

325-72 = 253 GB.

Take away about 35 GB from the system install size and your left with about 200 GB of data that are unaccounted for. UNTIL you factor in about 80 GB of sound assets and music files for my game that I copied over to have access to when I'm on the road and about 40 GB of 2D/3D assets that I have backed up on this laptop. About 120 in total leaving us with about 100 GB unaccounted for.

And that's without factoring in all the shait I downloaded and removed over the course of the first 2 or 3 days of just fracking around with the M1 to stress test it out and benchmark it's compilation times. Seeing as people here mention 500 GB written daily and stuff like that, yeah, it ads up to my usage.

Edit: attached, how things were looking like on Day 3 (28th February). Had it archived on a discord chat, sent it to a friend.

I'm just saying, my written data is on par with what I did.


Edit: and I can account for the remaining unaccounted space written since I regenerated the vegetation storage data for my game quite a lot of times to apply the changes. It writes about 5.6 GB of space to store prefabs and vegetation data for a huge, open world. Since I was importing new vegetation types, tweaking and writing it I can safely say about 40-50 GB of writes were taken from that. I realised this now since I just started a new vegetation storage write.
 

Attachments

  • Screenshot_2021-02-28_at_19.42.44.png
    Screenshot_2021-02-28_at_19.42.44.png
    189.5 KB · Views: 84
Last edited:
  • Like
Reactions: chouseworth

ambient_light

macrumors member
Feb 23, 2021
59
65
It's interesting that I seem to not be affected by this? I got my M1 MBPro 1 week ago today and have been using it consistently for 10-16 hours a day for work.
Doing game development and working on a project that's about 50GB in size. Thinking more data might be of help to you guys in tracing down what could cause this.

In the past week I installed the following things:
- Unity3D and Visual Studio (rosetta)
- Baldurs Gate 2: EE (iOS version)
- Discord, Pock (touchbar utility), LimeChat
- XCode
- CrossOver + Steam and Skyrim to test out how crossover behaves on M1 macs.

+ 50 GB project for Unity.

In total, my read/writes look like this: View attachment 1738361
In total 418 GB written and 608 read in the time span of 1 week with 10 hours of usage / day on average and only using the software mentioned above. I use Safari as my main browser on this machine. Unity and Visual Studio Code + Safari (Youtube, docs and 3-4 more additional tabs) and Baldurs Gate constantly opened at any point.

I'm also doing regular builds of the game and spitting it out once per day (about 2 GB in size).

The amount of Data Units written is consistent with what I'm doing. If I add up together the file sizes for what I downloaded + MacOS default install size + ~4GB / day the amount of units written it ads up.

So I'm not experiencing this issue myself on this M1. Question is why?

I'm going to go through the other posts and see if there's any specific app being mentioned (like chrome, or zoom or something) and do a test install to check and monitor the issue over the span of my work hours.

Edit: Also, I setup this Macbook as a new Mac, did not import anything from my other stuff. iCloud backing up is disabled.

P.s. I don't leave my mac in sleep mode. End of the day it gets powered off. I keep noticing people like to put it to sleep instead of shutting it down so thought I would mention this.
Did you migrate your system from previous (Intel) machine or did a fresh setup?
 

inversed

macrumors newbie
Mar 4, 2021
16
6
Switzerland
Hi,

I just created an account to comment here (long time lurker). I received a Mac Mini M1 16/256 yesterday and after reading this thread i was anxious to see how bad this problem was (my main machines are Mac Pros with maxed out RAM).

I ran quite a lot of tests since opening the box yesterday and i have some - maybe - interesting conclusions.

I'm a photographer so my workflow revolve around Hasselblad Phocus / Capture One / Lightroom+Photoshop / etc.

So far my Mac Mini seems totally unaffected when i work in Capture One (Rosetta / OpenCL), Phocus, Affinity and most of my productivity + browsing software.

However kernel_task start to write a lot of data as soon as i open Lightroom's develop module with hardware acceleration set to full. If i set it to basic or no hardware acceleration it stops right away (need further tests to confirm)

As i'm not affected when running Capture One which uses OpenCL, i wonder if the problem comes from a bad implementation of GPU acceleration + Metal with some software like the Adobe Suite.

My Mini (11.2.2) has icloud and time machine de-activated, no data on the internal drive as everything is on an external TB3 drive. The only software i have installed other than work stuff is Little Snitch.

I will try Resolve tonight and see if it's also affected.
 

qap

macrumors 6502a
Mar 29, 2011
558
441
Italy
Hi,

I just created an account to comment here (long time lurker). I received a Mac Mini M1 16/256 yesterday and after reading this thread i was anxious to see how bad this problem was (my main machines are Mac Pros with maxed out RAM).

I ran quite a lot of tests since opening the box yesterday and i have some - maybe - interesting conclusions.

I'm a photographer so my workflow revolve around Hasselblad Phocus / Capture One / Lightroom+Photoshop / etc.

So far my Mac Mini seems totally unaffected when i work in Capture One (Rosetta / OpenCL), Phocus, Affinity and most of my productivity + browsing software.

However kernel_task start to write a lot of data as soon as i open Lightroom's develop module with hardware acceleration set to full. If i set it to basic or no hardware acceleration it stops right away (need further tests to confirm)

As i'm not affected when running Capture One which uses OpenCL, i wonder if the problem comes from a bad implementation of GPU acceleration + Metal with some software like the Adobe Suite.

My Mini (11.2.2) has icloud and time machine de-activated, no data on the internal drive as everything is on an external TB3 drive. The only software i have installed other than work stuff is Little Snitch.

I will try Resolve tonight and see if it's also affected.
Lightroom or Lightroom Classic? Because the first is ARM, the Classic no...
 

tollickd

macrumors regular
Jan 10, 2010
118
71
I just had a look at apples site and the download for xcode is 11GB that will add to the disk total! just a thought!
 
  • Like
Reactions: gank41

BacioiuC

macrumors member
May 7, 2020
87
122
Romania
I just had a look at apples site and the download for xcode is 11GB that will add to the disk total! just a thought!
It's even more than that, once you start adding a lot more stuff. Pretty sure my XCode folder is at around 120 GB on my iMac pro :p.

And every OS Update you gotta update XCode and most of the stuff that come with it.
 
  • Like
Reactions: gank41

tollickd

macrumors regular
Jan 10, 2010
118
71
It's even more than that, once you start adding a lot more stuff. Pretty sure my XCode folder is at around 120 GB on my iMac pro :p.

And every OS Update you gotta update XCode and most of the stuff that come with it.
Jesus ok was going to do it this evening till i saw the file size, i will download drivedx instead and add my details here ! has anyone done a comparison of drivedx then install XCode and the smart tool?
 
Last edited:

k-hawinkler

macrumors 6502
Sep 14, 2011
260
88
Lightroom Classic, there is no use for Lightroom (ARM - Cloud) outside of an iPad Pro in a production workflow. ;)

Very interesting report you gave above.
As I switched to Capture One Pro years ago I deleted any Adobe apps from my M1 Mac mini and so far also any Microsoft apps. I used the free EtreCheck app to clean up my M1 after using Migration Assistant. Maybe I got lucky without noticing it at the time. :cool:
 

k-hawinkler

macrumors 6502
Sep 14, 2011
260
88
That might be an explanation, e.g. legacy staff and/or configuration params from the different architecture/configuration triggers abnormal VM subsystem behavior.

Thanks. Do you have a reference for this? I would like to brush up on this. Thanks again.
 

jsamuels

Contributor
Feb 16, 2008
347
304
Roma
That might be an explanation, e.g. legacy staff and/or configuration params from the different architecture/configuration triggers abnormal VM subsystem behavior.
I restored from a Time Machine backup from my 2018 MPR running the then-current BS beta. I have not experienced this issue. After a week I have about 800 GB written.
 

gank41

macrumors 601
Mar 25, 2008
4,350
5,022
I just had a look at apples site and the download for xcode is 11GB that will add to the disk total! just a thought!
And then unpacking it! And then moving (or copy/pasting) it to the Apps Folder! And then deleting the .xip file! That's like 30+GB right there.
 

Dockland

macrumors 6502a
Feb 26, 2021
968
8,944
Sweden
And then unpacking it! And then moving (or copy/pasting) it to the Apps Folder! And then deleting the .xip file! That's like 30+GB right there.
Just uninstalled homebrew, smartmotools & Xcode and it freed up around 30GB of disk space. Will install some other tool like drivedx if it's M1 native.
 
  • Like
Reactions: gank41
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.