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.

Fomalhaut

macrumors 68000
Oct 6, 2020
1,993
1,724
If you are at all comfortable with the terminal command line you don't need to pay anything since smartmontools is open source and free. You can install it with Homebrew (https://homebrew.sh).

Install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Then
brew install smartmontools

I'm at almost 8 TBW now and still at 0% used (I don't think that the % used has been verified to be correct yet but it is the best we have right now). So assuming it goes to 1% at 8 TBW (no evidence of this but just using it as a guess) then 100% would be 800 TBW. This is on a 1 TB SSD. So 1 TBW/month would be 800 months or 66 years. I think you probably don't have to be that conservative. Note that smaller SSDs tend to have shorter TBW values but even 400 TBW would be 33 years. The people who are having problems are seeing 1 TBW in a matter of days not months.
My 500GB SSD is showing 15.1TB written, and is still on 0% used.

In my experience a lot of the writes are simply a function of having significant swap usage. The effect appears to be more noticeable with over about 5GB swap in use. Safari seems to be the biggest culprit, and I am interested in the possibility that changing browser (and disabling cache) could be a way of reducing memory usage.

On a busy day (when I have a lot of necessary tabs open) I can see up to 500GB written per day. If I take a conservative approach and shut tabs and apps down when not using them, then it can be as low as 50GB per day.
 

Fomalhaut

macrumors 68000
Oct 6, 2020
1,993
1,724
I've got good news for both of you (and all)........1% is 16TBW.......NOW recompute! :cool:
OK. I'm 900GB away from that number on my 500GB SSD so I'll see what happens. What SSD size are you running this test on?

[Update: just saw that @leons is using a 256GB SSD. So maybe I would see 1% at 32TBW?]
 

Fomalhaut

macrumors 68000
Oct 6, 2020
1,993
1,724
OK. I'm 900GB away from that number on my 500GB SSD so I'll see what happens. What SSD size are you running this test on?

[Update: just saw that @leons is using a 256GB SSD. So maybe I would see 1% at 32TBW?.

My MBP16 with 1TB SSD shows 2% at 172TBW....which as @Maximara pointed out would result is an impossibly large TBW for a consumer SSD (over 8000TBW)...so we need to take the "% used" figure with a large pinch of salt.
 

leons

macrumors 6502a
Apr 22, 2009
662
344
A little digging on the old internets and I found a twitter post by Dan Moren showing smartctl output at 17.7 TBW showing 1% on a 256 GB SSD. So at least by those numbers from someone known to be knowledgeable and reliable, it appears you are correct. Thanks.

https://twitter.com/dmoren/
Yes, & BTW, my numbers and percentages are not coming from ANY tool. They are system SMART values being diretly extracted. I don't believe that Apple falsified (or allowed such) the SMART values on the drive, or there would be a class-action suit of epic proportions and we will all be rich! :) :cool:
 

leons

macrumors 6502a
Apr 22, 2009
662
344
OK. I'm 900GB away from that number on my 500GB SSD so I'll see what happens. What SSD size are you running this test on?

[Update: just saw that @leons is using a 256GB SSD. So maybe I would see 1% at 32TBW?]
You are correct, 32TBW. Make a calendar entry to let us know! :)
 

leons

macrumors 6502a
Apr 22, 2009
662
344
My 500GB SSD is showing 15.1TB written, and is still on 0% used.

In my experience a lot of the writes are simply a function of having significant swap usage. The effect appears to be more noticeable with over about 5GB swap in use. Safari seems to be the biggest culprit, and I am interested in the possibility that changing browser (and disabling cache) could be a way of reducing memory usage.

On a busy day (when I have a lot of necessary tabs open) I can see up to 500GB written per day. If I take a conservative approach and shut tabs and apps down when not using them, then it can be as low as 50GB per day.
Change to Edge or Firefox and your writes will be a fraction of that.
 

jdb8167

macrumors 601
Nov 17, 2008
4,859
4,599
Yes, & BTW, my numbers and percentages are not coming from ANY tool. They are system SMART values being diretly extracted. I don't believe that Apple falsified (or allowed such) the SMART values on the drive, or there would be a class-action suit of epic proportions and we will all be rich! :) :cool:
The smartmontools are also extracted from SMART values from the drive controller. I've looked at the smartmontools code since it is open source. It is pretty easy to see the values come from an Apple library. The extracted block of data is not documented by Apple but the NVMe spec is available and matches the values in the byte array. So if the % used value isn't correct, that is on Apple for either not estimating correctly or for not following the NVMe specification. I've verified to my satisfaction that the actual TBW values are being correctly reported at least for my use.
 

leons

macrumors 6502a
Apr 22, 2009
662
344
The fact that
The smartmontools are also extracted from SMART values from the drive controller. I've looked at the smartmontools code since it is open source. It is pretty easy to see the values come from an Apple library. The extracted block of data is not documented by Apple but the NVMe spec is available and matches the values in the byte array. So if the % used value isn't correct, that is on Apple for either not estimating correctly or for not following the NVMe specification. I've verified to my satisfaction that the actual TBW values are being correctly reported at least for my use.
The fact that Apple has been silent on this is actually comforting. If the numbers WERE incorrect, with the many people and postings complaining about this, Apple's lawyers would never let them ignore the issue, as it would increase their liability and culpability in a future lawsuit.
 
  • Like
Reactions: telo123

telo123

macrumors 6502
Mar 11, 2021
318
402
Safari has gotten better at memory management and caching from my use in 11.3 beta 5. Will report if anything changes in beta 6. I hope the behaviour is the same or gets better, as I truly love Safari.
 

leons

macrumors 6502a
Apr 22, 2009
662
344
Safari has gotten better at memory management and caching from my use in 11.3 beta 5. Will report if anything changes in beta 6. I hope the behaviour is the same or gets better, as I truly love Safari.
How many tabs do you typically run?
 

telo123

macrumors 6502
Mar 11, 2021
318
402
How many tabs do you typically run?
Around 10-15 when I'm doing research and additional tabs for youtube.

My SWAP usage is typically < 200 MB when using Safari on my workload. I see around 20 GB written daily on top of everything else I do which is perfectly fine with me. Granted, I am only a student and not doing anything too intensive compared to most users here!
 

leons

macrumors 6502a
Apr 22, 2009
662
344
Around 10-15 when I'm doing research and additional tabs for youtube.

My SWAP usage is typically < 200 MB when using Safari on my workload. I see around 20 GB written daily on top of everything else I do which is perfectly fine with me. Granted, I am only a student and not doing anything too intensive compared to most users here!
Sounds good. Those of us in the 20-50+ Tab Camp will have to wait for one of our kind to bravely try out beta 5. :)
 

telo123

macrumors 6502
Mar 11, 2021
318
402
Sounds good. Those of us in the 20-50+ Tab Camp will have to wait for one of our kind to bravely try out beta 5. :)
Yeah, I imagine that most will also have some sort of pro apps they may use on top of Safari (or whatever browser) as well. I only use Word and FCP when I need to do edits on videos (usually 4k).

I just never liked having too many tabs as I get a little anxious about having that many tabs lol.
 
  • Like
Reactions: Never mind

Feffe

macrumors newbie
Mar 28, 2021
2
0
Hello. This is my first post here. I've got a 16GB Macbook M1 three days ago and I've been reading this thread carefully. A huge thanks to the whole community (and especially to leons and TheSynchronizer) for the useful advices!

There's one thing which isn't clear for me - what is a "good" amount of swapped memory? And how many GB "should" I write on a daily basis?

I noticed when running some games on Parallels (while keeping Firefox open on the Mac side) I'm getting 1-2GB of swapped memory. Is this "too much"?
 

leons

macrumors 6502a
Apr 22, 2009
662
344
Hello. This is my first post here. I've got a 16GB Macbook M1 three days ago and I've been reading this thread carefully. A huge thanks to the whole community (and especially to leons and TheSynchronizer) for the useful advices!

There's one thing which isn't clear for me - what is a "good" amount of swapped memory? And how many GB "should" I write on a daily basis?

I noticed when running some games on Parallels (while keeping Firefox open on the Mac side) I'm getting 1-2GB of swapped memory. Is this "too much"?
There is no "should". At the beginning of your day, run Activity Monitor. Select the Disk Tab, and write down the "Data Written" number on the bottom right. Don't reboot your computer between readings. 24 hours later, do the same, do the math, and report back (assuming it is a "typical day", otherwise, do it again). Let us know
 
  • Like
Reactions: TheSynchronizer

TheSynchronizer

macrumors 6502
Dec 2, 2014
443
729
Hello. This is my first post here. I've got a 16GB Macbook M1 three days ago and I've been reading this thread carefully. A huge thanks to the whole community (and especially to leons and TheSynchronizer) for the useful advices!

There's one thing which isn't clear for me - what is a "good" amount of swapped memory? And how many GB "should" I write on a daily basis?

I noticed when running some games on Parallels (while keeping Firefox open on the Mac side) I'm getting 1-2GB of swapped memory. Is this "too much"?
Swap itself, or the size of it, aren’t in themselves the issue here. A high frequency of swap in/outs are the main contributors to excessive SSD writes, so they are somewhat linked but regardless not that useful.

Do as leons says above and you’ll be able to calculate your SSD writes over a ‘typical’ 24 hour period. This will give you your average x GB/hour written to the disk with normal usage.

In my opinion 5GB/hour SSD writes and below are perfectly healthy and nothing to worry about. Writes above that could lead to higher SSD wear/shorter SSD life, however, I bold the could because as we’re gradually discovering here the (256GB) SSDs in these M1 systems might have manufacturers ratings potentially as high as 1600TBW+.

Ofcourse, I prefer being safe rather than sorry, especially when I’m using my system as intensively as I want to and maintaining much lower writes at the same time, so I lose nothing for being on the safe side. But there is a possibility that these M1’s are using insanely high quality SSDs with durability such that none of our disk life concerns are legitimate.

Only time will tell:)
 

Maximara

macrumors 68000
Jun 16, 2008
1,707
909
I've got good news for both of you (and all)........1% is 16TBW.......NOW recompute! :cool:
That gives 1600 TBW for 100% for the medium. The range is a ridiculous 3265 (0.5%) on the high end and 1067 (1.4999...) on the low end. That is an insane margin of error.
 

leons

macrumors 6502a
Apr 22, 2009
662
344
That gives 1600 TBW for 100% for the medium. The range is a ridiculous 3265 (0.5%) on the high end and 1067 (1.4999...) on the low end. That is an insane margin of error.
Even given the margin of error, I'll take the 100% on the low side! and not complain!
 
  • Like
Reactions: gank41

kubilaydem

macrumors member
Oct 20, 2020
58
16
I've also disabled by OneDrive client sync app. The main reason is because it simply doesn't appear to handle syncing large sets of files (I have over 400,000), even with "offline files" enabled. It tries to process my 400,000+ files at the rate of about 1 per 5 seconds (> 23 days). It also seems to do a lot of disk writing (500GB per day?) that I can do without....

I have no idea what OneDrive is trying to process, when it should not be downloading or uploading any files with "offline files" enabled. I suppose it's just scanning every file to crate meta-data for its sync process, but this might involve actually downloading the file temporarily to scan it? Who knows, but it's a incredibly frustrating piece of software on both Mac and Windows, but especially on Mac.

I have 1TB storage with my MS business account, but I'm going to use it for long term archive only rather than real-time syncing. Dropbox and Google Backup & Sync are *way* faster for the actual sync. OneDrive is quite fast if you up/download directly to the browser or use a 3rd party file transfer tool like Cyberduck.

Thanks for answer.

Did u use any other cloud software with m1 mac? Now i will try icloud but it's a little bit slow in my opinion and there is no actual setting for "store my files on mac".
 

Marty_Macfly

macrumors 6502a
Apr 26, 2020
963
272
I've also disabled by OneDrive client sync app. The main reason is because it simply doesn't appear to handle syncing large sets of files (I have over 400,000), even with "offline files" enabled. It tries to process my 400,000+ files at the rate of about 1 per 5 seconds (> 23 days). It also seems to do a lot of disk writing (500GB per day?) that I can do without....

I have no idea what OneDrive is trying to process, when it should not be downloading or uploading any files with "offline files" enabled. I suppose it's just scanning every file to crate meta-data for its sync process, but this might involve actually downloading the file temporarily to scan it? Who knows, but it's a incredibly frustrating piece of software on both Mac and Windows, but especially on Mac.

I have 1TB storage with my MS business account, but I'm going to use it for long term archive only rather than real-time syncing. Dropbox and Google Backup & Sync are *way* faster for the actual sync. OneDrive is quite fast if you up/download directly to the browser or use a 3rd party file transfer tool like Cyberduck.
I was wondering whether to do that as well!

Thanks, will look into 8)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.