Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TechnoMonk

macrumors 68030
Oct 15, 2022
2,606
4,116
Interesting, do have a hint on where to look? Checking out some of the 2022 diffs is not the fastest way to find any architecture specific VM changes.
Look up changes from ios15, lot of those changes apply to M1 and above. Code diff won’t do much good, your best bet is to look at documentation from old unused forks of XNU and compare to latest releases.
Apple does a good job documenting, here is a good start.

This explains how ARM 64 and Intel manage hibernation/sleep. You can find differences below.

I would be curious to see your findings, if you can pinpoint to some specific major changes.
 

Ma2k5

macrumors 68030
Dec 21, 2012
2,565
2,540
London
I bought 128GB of RAM to future-proof, not to utilize it NOW! I want to setup a dev machine for the next 5 years and not worry about RAM and storage.

I don't know what you're doing but how do you end up utilizing 10GB of swap with 128GB of RAM?
Prime example of someone who has all the gear but no idea…
 

Thisismattwade

macrumors 6502
Oct 27, 2020
262
299
Screenshot 2024-04-29 at 2.43.50 PM.png


My new base M1 MBA ($699 - thanks Walmart!) just absolutely flies. (It's about 3 weeks old, so I think it's done indexing.) This screenshot is toward the end of the workday, but most of the time I don't shut things down - I just close the lid till the next day.
 

Mity

macrumors 6502a
Original poster
Nov 1, 2014
790
720
I start suspecting that @Mity is having some little innocent fun with us here. It is difficult for me to imagine that a person working with data science still wouldn't get the idea of how RAM works on Apple Silicon after two pages of explanations.

I am not trolling. The questions I did have about dynamic allocation, no one really answered and instead, and actually accused me of baiting??? Weird.

Responses have been tantamount to, "just focus on memory pressure." While that's a very simplified way of looking at it, it doesn't really give me a metric to rely on, especially if I want to avoid swap, which I deliberately did with my x86 MBP.

For example, on my M1 MBA, I have 12.23GB used out of 16GB. The percentage of total RAM utilization is high. Can we agree on this?

Now, going back to the M3 Max machine, if simply looking at memory used is incorrect because we expect to change as more apps are used, then what metric can I use besides the color coded memory pressure?

From your experience using an M1 or M2 Max, how does this change? Have you utilized swap and at what percentage does that usually happen?

Again, I have no way of knowing this except asking people that have actually used an M1 or M2 Max. My only experience with Apple Silicon has been an M1 MBA. So, I think I rightly should compare behavior of my M3 Max with my older x86 machine.
 

hovscorpion12

macrumors 68040
Sep 12, 2011
3,044
3,123
USA
I am not trolling. The questions I did have about dynamic allocation, no one really answered and instead, and actually accused me of baiting??? Weird.

To be fair, no one knows the actually answer of the M3 Dynamic Caching. Not even Apple can explain it. The Verge, Macrumors, Digital Trend and even MKBHD never got a straight answer.

"Dynamic Caching allocates the use of local memory in hardware in real time. With Dynamic Caching, only the exact amount of memory needed is used for each task."

The assumption is, if you have Mx amount of RAM and an app requires Mx3 amount of RAM, MacOS+M3 will only allocate Mx3 an not any further.

 
  • Like
Reactions: Mity

chabig

macrumors G4
Sep 6, 2002
11,449
9,321
…if simply looking at memory used is incorrect because we expect to change as more apps are used, then what metric can I use besides the color coded memory pressure?
What metric do you use to know if your HDD controller is storing bits in the “correct” sector? (Or SSD block)

The answer is that you don’t care, because the system manages those things for you. Modern computers treat RAM the same way. It’s a resource to be used. There is nothing you can do to change the way your system manages it.

Obviously, this concerns you, so you bought a lot of RAM. Chances are that you purchased much more than the minimum your workflow would require. I bet you’d be fine with 32GB and probably less. But as long as you’ve got the money, buy as much as you want, then let the machine work for you. Obsessively watching Activity Monitor is not going to make things better.
 

Bigwaff

Contributor
Sep 20, 2013
2,741
1,831
While that's a very simplified way of looking at it, it doesn't really give me a metric to rely on, especially if I want to avoid swap
If you truly want to avoid swap, turn it off. Just Google "macos disable swap". Just don't cry when your processes are unceremoniously killed and you have kernel panics... but w/ 128GB memory, you probably won't... maybe?
 

TechnoMonk

macrumors 68030
Oct 15, 2022
2,606
4,116
What metric do you use to know if your HDD controller is storing bits in the “correct” sector? (Or SSD block)

The answer is that you don’t care, because the system manages those things for you. Modern computers treat RAM the same way. It’s a resource to be used. There is nothing you can do to change the way your system manages it.

Obviously, this concerns you, so you bought a lot of RAM. Chances are that you purchased much more than the minimum your workflow would require. I bet you’d be fine with 32GB and probably less. But as long as you’ve got the money, buy as much as you want, then let the machine work for you. Obsessively watching Activity Monitor is not going to make things better.
Apple sells 192 GB Mac Studio, may be worth a look for OP.
 
  • Like
Reactions: Torty and chabig

cnnyy20p

macrumors regular
Jan 12, 2021
229
317
Why did you crop the screen shorts like that? What included in Memory Used section? App Memory? Wired Memory? Compressed? I suspect that Wired Memory might be high due to GPU usage? If you really want help you should be less suspicious.
 
  • Like
Reactions: MacCheetah3

Populus

macrumors 603
Aug 24, 2012
5,942
8,412
Spain, Europe
Hey OP, don’t worry about RAM. You have literally zero swapped memory. Even if you bought 192GB of RAM, you would still see a big chunk used. Because RAM is there for the system to use it. But don’t worry, that’s totally fine, and with 128GB you’re good for 5 years or, probably, even more.
 
  • Like
Reactions: MacPowerLvr

mfram

Contributor
Jan 23, 2010
1,356
406
San Diego, CA USA
Responses have been tantamount to, "just focus on memory pressure." While that's a very simplified way of looking at it, it doesn't really give me a metric to rely on, especially if I want to avoid swap, which I deliberately did with my x86 MBP.

I don't understand why you care. Really, what difference does it make? Your machine is only going to slow down if it is really running out of memory. Since you are at the top of the available memory configurations there's nothing you could do about it other than close some applications.

Why is it using swap? Because the operating system wants to use RAM for useful things. If it determines the memory isn't being used effectively it will move other stuff out of RAM into swap. Then use RAM for useful things like file system cache. Unused memory is wasted memory. There's no reason not to fill it up. As memory pressure goes up the O.S. will start to evict less used things out of memory. It's designed to do that.

Here's a screenshot of my M3 Max. It's using a little swap even though almost half the memory is being used for file system cache. If that stuff in swap was actually being used it would be brought into RAM.

Screenshot 2024-04-29 at 14.30.19.png
 
Last edited:

neuropsychguy

macrumors 68030
Sep 29, 2008
2,683
6,642
The real question that was asked earlier and never answered is this: does your computer have any unexpected slowdowns? If not, move on. 128 GB of RAM will be plenty for many years to come. If you really need more than that, a laptop isn't the answer.

Also, if you stop watching Activity Monitor, does your computer's RAM handling stop causing concern? In other words, is there actually a problem or is there just a perception of a problem?
 

Populus

macrumors 603
Aug 24, 2012
5,942
8,412
Spain, Europe
The real question that was asked earlier and never answered is this: does your computer have any unexpected slowdowns? If not, move on. 128 GB of RAM will be plenty for many years to come. If you really need more than that, a laptop isn't the answer.

Also, if you stop watching Activity Monitor, does your computer's RAM handling stop causing concern? In other words, is there actually a problem or is there just a perception of a problem?
To be fair, if the RAM pressure was in red and a huge swap file, even if the computer worked fine (because the SSDs are really fast nowadays), he would be degrading the SSD pretty quickly. But this is definitely not the case, so he should just stop looking at the RAM usage.
 

avro707

macrumors 68020
Dec 13, 2010
2,263
1,654
I don't think MacOS is the culprit. I think this is caused by Apple Silicon. There is no reason for 16GB to be utilized by the system for a mere YouTube video.

I paid for 128GB of RAM in hopes to use my machine for a long time without having to swap. I haven't even setup my Python work environment yet. I dread what that will do.

You need to get one of those 7,1 Mac Pros from iPowerresale with a W3275M and upgrade it to 1.5TB, problem solved. ;) (bwahaha).

Joking aside (and please people don't get all upset and cranky), I wouldn't worry about the memory usage, if the machine is running well and not lagging or crashing then no problem.

This is my machine at the moment, the 7,1 in my signature:

1714428058185.png


I've only got the base amount of RAM on this machine and it never has any dramas.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.