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.

mr_roboto

macrumors 6502a
Sep 30, 2020
856
1,866
High CPU usage can (but not always) translate to high disk writes. For example, I had a program that had high CPU cycles but I also looked at the disk writing to see what it was doing because I regarded this a sign of poor coding and lo and behold it was writing to my platter HD like crazy.

The two don't necessarily go hand in glove but one can be indications of bad programming and that is also a source of unneeded SSD writes.
I assure you that the two are uncorrelated. When writing programs, it's generally much easier to accidentally use a lot of CPU, and the mechanisms by which you use lots of CPU and write lots of data to disk are fundamentally different.
 

evertjr

macrumors regular
Oct 24, 2016
242
333
My 6 months old base M1 Air only has 8TB written so far, DriverDX reports 100% health. I use it extensively often having big swap file, but this machine never touched Google Chrome, I only use Safari and Edge, if that's make a difference.
 

darngooddesign

macrumors P6
Jul 4, 2007
18,362
10,114
Atlanta, GA
Just ran SmartMonTool and my 16" M1Pro, 16GB/1TB has written 1.94TB for around a month of use.

How much does streaming Apple Music and videos write to the SSD?
 
Last edited:

Mike Boreham

macrumors 68040
Aug 10, 2006
3,913
1,896
UK
Just a reminder for folks who are looking for usage behaviour to explain this issue, out of a clear blue sky, my M1 MBA suddenly wrote 28TB in a continuous burst lasting 31 hrs. Post here.

Before that and since then it has been jogging along at unremarkable TBW rate.

There are multiple causes of this behaviour ...no silver bullets.
 
Last edited:
  • Love
Reactions: Maximara

Maximara

macrumors 68000
Jun 16, 2008
1,707
908
Just a reminder for folks who are looking for usage behaviour to explain this issue, out of a clear blue sky, my M1 MBA suddenly wrote 28TB in a continuous burst lasting 31 hrs. Post here.

Before that and since then it has been jogging along at unremarkable TBW rate.

There are multiple causes of this behaviour ...no silver bullets.
Did you ever nail down exactly what caused that or even get a hint as to what caused it?
 

Mike Boreham

macrumors 68040
Aug 10, 2006
3,913
1,896
UK
Did you ever nail down exactly what caused that or even get a hint as to what caused it?

Nope!

My guess is that this will have happened to some other people without their being aware. It was not apparent to me while it was going on. It would only be noticed by someone who was monitoring their SSD TBW and looking at iStat Menus regularly, though I suppose it would have been apparent in Activity Monitor.

Note that I have seen similar, but much smaller, before.

Here is one other post that looks like a small burst. The poster describes it as 1TBW over 2 days but his plot looks more a step change.
 
Last edited:

Thistle41

macrumors member
Mar 25, 2021
74
39
UK
Nope!

My guess is that this will have happened to some other people without their being aware. It was not apparent to me while it was going on. It would only be noticed by someone who was monitoring their SSD TBW and looking at iStat Menus regularly, though I suppose it would have been apparent in Activity Monitor.

Note that I have seen similar, but much smaller, before.

Here is one other post that looks like a small burst. The poster describes it as 1TBW over 2 days but his plot looks more a step change.
Ha! Yes that event, I'm not 100% sure but I think I was just closing the lid and leaving the browser open (FF) without any power connected. I've seen other posts suggesting that when the swap level creeps up and above a certain point it is susceptible these runaway TBWs. If I see that happening I logout.

I'm now trying Opera with the add-ons Tag Suspender and Cache Killer. Yes, I know Opera is based on Chrome which is a problem but so far it has been fine. I've applied all the tweaks suggested at the top of this thread and it does help.

Updated to 12.2.1 yesterday so we'll see how that goes. So far I have zero in swap, laptop was left logged in and browser open no power connected, so a promising sign.
 

Fishrrman

macrumors Penryn
Feb 20, 2009
29,239
13,310
Mike Boreham -

Have you tried "Fishrrman's solution" ??
That is, DISABLING VM disk swapping ??

I'd still like to see results from someone else who has tried that for a short time...

My assertion is -- again -- that doing this ENDS "the high usage of terabytes written".
 

Mike Boreham

macrumors 68040
Aug 10, 2006
3,913
1,896
UK
@Fishrrman Thanks yes I did see the suggestion.

If my machine was steadily doing high SSD writes, then it would be possible to judge if turning off swap had worked. But when I am trying to prevent repeat of a single incident in nearly a year of use, how will I know?

Also a bit put off the idea because you said you didn't know the command to re-enable.
 

ctjack

macrumors 68000
Mar 8, 2020
1,554
1,571
Ha! Yes that event, I'm not 100% sure but I think I was just closing the lid and leaving the browser open (FF) without any power connected. I've seen other posts suggesting that when the swap level creeps up and above a certain point it is susceptible these runaway TBWs. If I see that happening I logout.
Wow, you made me think about my experience. So you said you notice that usage creeps up when closing the lid with browser and leaving it like that. I have noticed during the nighttime, that when i closed the lid with a browser open, I could see a white light coming from the hole - meaning that my display and laptop didn't sleep but continued to work with the closed lid no power cord attached.

Maybe those 2 are somehow connected?
 
  • Like
Reactions: Thistle41

Maximara

macrumors 68000
Jun 16, 2008
1,707
908
Mike Boreham -

Have you tried "Fishrrman's solution" ??
That is, DISABLING VM disk swapping ??

I'd still like to see results from someone else who has tried that for a short time...

My assertion is -- again -- that doing this ENDS "the high usage of terabytes written".
The flaw with that reasoning is it assumes "the high usage of terabytes written" is exclusive to VM. It does nothing in regards with programs that use scratch files to do their thing nor does it do anything regarding programs that cause kernal_task to go nuts and start writing like crazy independent of VM.

The fact the only a small portion of the people who are checking are reporting programs points to something other that VM being the issue.
 

osplo

macrumors 6502
Nov 1, 2008
351
196
Just a reminder for folks who are looking for usage behaviour to explain this issue, out of a clear blue sky, my M1 MBA suddenly wrote 28TB in a continuous burst lasting 31 hrs. Post here.

Before that and since then it has been jogging along at unremarkable TBW rate.

There are multiple causes of this behaviour ...no silver bullets.

Mike, which macOS version were you using at that moment?
 

robfoll

Contributor
Mar 22, 2020
222
258
How about 1.3PB! written in just over a year. SSD on 23% of lifetime left. MBP M1 8GB memory / 256GB HD. Clean machine and normal business software. Applestore Doncaster Melbourne refuses to take seriously "3rd Party Software" giving this info. We don't do preventative maintenance.
 

Attachments

  • Screenshot  2022-04-02 at 18.58.24.png
    Screenshot 2022-04-02 at 18.58.24.png
    583.7 KB · Views: 147

Maximara

macrumors 68000
Jun 16, 2008
1,707
908
How about 1.3PB! written in just over a year. SSD on 23% of lifetime left. MBP M1 8GB memory / 256GB HD. Clean machine and normal business software. Applestore Doncaster Melbourne refuses to take seriously "3rd Party Software" giving this info. We don't do preventative maintenance.
Assuming this isn't an April Fool's joke of some kind this goes back to what I said near the beginning of this - the numbers just don't make sense and raise serious questions about how reliable the software producing them is.

The lifetime number is supposed to be what the SSD is warranted for not its total lifespan and there there is no 256GB SSD on the flipping planet what by the numbers has a 5.2 PB warranty. I can't blame Applestore Doncaster Melbourne looking at this and going 'You're kidding, right?' with numbers that off the walls gonzo.

That said Rosetta 2 + poorly written Intel software, having too full a hard drive, and having too little memory have been found to the main reasons for excessive SSD writes. Unless something has changed you can run programs off an external SSD as demonstrated by F-Train's set up:

screen capture.jpeg
 
Last edited:

ctjack

macrumors 68000
Mar 8, 2020
1,554
1,571
The lifetime number is supposed to be what the SSD is warranted for not its total lifespan and there there is no 256GB SSD on the flipping planet what by the numbers has a 5.2 PB warranty. I can't blame Applestore Doncaster Melbourne looking at this and going 'You're kidding, right?' with numbers that off the walls gonzo.
His screen shows 23% of life left, meaning that 77% is used, right? 77% because 100%(of maximum) - 23%(life left).
For this 77% used, he also consumer 1.3PB. Which means that the math is:
1.3PB = 77%
xPB = 100%.
77%*x=1.3*100
x=1.69PB
1.69 PB for 256GB SSD is ok as you said, cause you said projected 3.4 PB of my 512GB ssd is something huge and not reachable.
It looks like he is reaching the max level and need to sell the laptop or trade-in asap. Numbers don't lie here.
 
  • Like
Reactions: jdb8167

harshw

macrumors regular
Feb 19, 2009
202
54
Applestore Doncaster Melbourne refuses to take seriously "3rd Party Software" giving this info.
Someone in the forum linked to a github repo that had an xcode project + code that uses Apple's own functions to get the data

Maybe you can compile and run the program and take that to the Doncaster, Melbourne store and ask them if they take data obtained by Apple's own functions seriously.
 

jdb8167

macrumors 601
Nov 17, 2008
4,859
4,599
Someone in the forum linked to a github repo that had an xcode project + code that uses Apple's own functions to get the data

Maybe you can compile and run the program and take that to the Doncaster, Melbourne store and ask them if they take data obtained by Apple's own functions seriously.
It’s linked in the first post of this thread. It has an installer so you don’t need to compile anything.
 

ctjack

macrumors 68000
Mar 8, 2020
1,554
1,571
Someone in the forum linked to a github repo that had an xcode project + code that uses Apple's own functions to get the data

Maybe you can compile and run the program and take that to the Doncaster, Melbourne store and ask them if they take data obtained by Apple's own functions seriously.
The issue here is not the data: this software pulls out original data of Apple.
Issue is that Apple will replace your battery if you are under 80% of health. But Apple never stated anything similar about SSDs. So here is the mercy of the store manager, otherwise there is no rules of Apple stating that such heavy write is something faulty. For example, ssd drive failing after so many PB and if the laptop is still under warranty or AC+, then they will replace it. If the product is alive then there is nothing much to talk about.
 
  • Like
Reactions: Spudlicious

osplo

macrumors 6502
Nov 1, 2008
351
196
How about 1.3PB! written in just over a year. SSD on 23% of lifetime left. MBP M1 8GB memory / 256GB HD. Clean machine and normal business software.

If you have Apple Care or in your country consumer laws establish 2 or 3 years mandatory warranty (here in Spain, three) then continue using the machine until it breaks, then get a new disk from Apple, then sell it :)

This thread has been very quiet lately so I assume that the problem is mostly gone for everybody, at least since the latest Monterey version (12.3). It was never a problem for me, BTW.

Having said that your "normal business software" seem not to be so normal. Any suspicious app? I would be inclined to think that one of these is forcing the machine to swap like crazy or it is just plain writing to the disk directly like there is no tomorrow.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.