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

Jouls

macrumors member
Aug 8, 2020
89
57
Keep in mind that the upgrade here is simply chip binning. Every M1 right now comes from TSMC fab is 16 GB with two memory banks. Some of those two banks work, and for some only one works. The 200$ cost come from there and is a lot more legitimate than the abysmal RAM upgrade price of iMac which are socketed DIMM.
The RAM banks are on package not on die. The size of the RAM is put deliberately on the package. No binning here.
 

pshufd

macrumors G4
Oct 24, 2013
10,151
14,574
New Hampshire
The Apple Store has a nice progress bar on local shipments. It gives you the delivery window and tells you the status of the order:

  • Order in Progress
  • Out for Delivery
  • Arriving Soon
  • Delivers
I do wish that I could provide delivery instructions. I can do this with Amazon though they ignore them about 80% of the time. They deliver at the front door the vast majority of the time but my instructions are to deliver in the back as there's a protected place to put packages. What I really hate is when I get a delivery on a rainy day and the package is soaked and there's an inch of water in the envelope or the box is wet cardboard.

The Apple Store progress bar looks just like the progress bar from Dominos Pizza. I just leave a browser window up with the progress bar (one reason why three monitors is nice).
 

Sydde

macrumors 68030
Aug 17, 2009
2,563
7,061
IOKWARDI
You still did not say anything about when the release action goes from 1 -> 0 resulting in memory changes. The faster it goes to 0 references (as in the faster it releases to reach the 0 count), the faster the memory is cleared. It is all linked.

Also, unless the memory releases are asynchronous by default, the program will halt for those nanoseconds while it releases the memory counts. Therefore, those nanoseconds add up so the program can do more things.
Memory management is an inherently asynchronous process, especially when you have multiple cores running together side-by-side. Apple uses a "lazy" memory management technique: if you have 8Gb real memory and 48Tb virtual space for each task, why confine processes to strict use of the bottom end when you can easily walk across all of it leaving discarded fragments behind to be swept up at relative leisure?

Allocation is somewhat complicated, but retain allocates nothing, and release-to-0 probably just queues the object for deallocation whenever. I would not be surprised to learn that one of the Little cores get frequently called into service as a dedicated memory manager when loads go up or even most of the time so that the working cores can go in about their business.

retain and release are method calls, which is the most important point: method calls impose an overhead that is greater that mere function calls, so if those two are faster, it seems likely that all Cocoa/Swift method calls have been optimized in the Axx/Mx processors, which is a very good thing.
 

pldelisle

macrumors 68020
May 4, 2020
2,248
1,506
Montreal, Quebec, Canada
Memory management is an inherently asynchronous process, especially when you have multiple cores running together side-by-side. Apple uses a "lazy" memory management technique: if you have 8Gb real memory and 48Tb virtual space for each task, why confine processes to strict use of the bottom end when you can easily walk across all of it leaving discarded fragments behind to be swept up at relative leisure?

Allocation is somewhat complicated, but retain allocates nothing, and release-to-0 probably just queues the object for deallocation whenever. I would not be surprised to learn that one of the Little cores get frequently called into service as a dedicated memory manager when loads go up or even most of the time so that the working cores can go in about their business.

retain and release are method calls, which is the most important point: method calls impose an overhead that is greater that mere function calls, so if those two are faster, it seems likely that all Cocoa/Swift method calls have been optimized in the Axx/Mx processors, which is a very good thing.
Great explanation !!! Thanks ! Make a lot of sense.
 

Ethosik

Contributor
Oct 21, 2009
8,142
7,120
Memory management is an inherently asynchronous process, especially when you have multiple cores running together side-by-side. Apple uses a "lazy" memory management technique: if you have 8Gb real memory and 48Tb virtual space for each task, why confine processes to strict use of the bottom end when you can easily walk across all of it leaving discarded fragments behind to be swept up at relative leisure?

Allocation is somewhat complicated, but retain allocates nothing, and release-to-0 probably just queues the object for deallocation whenever. I would not be surprised to learn that one of the Little cores get frequently called into service as a dedicated memory manager when loads go up or even most of the time so that the working cores can go in about their business.

retain and release are method calls, which is the most important point: method calls impose an overhead that is greater that mere function calls, so if those two are faster, it seems likely that all Cocoa/Swift method calls have been optimized in the Axx/Mx processors, which is a very good thing.
Yes but that queue is faster on Apple Silicon. Therefore, we can get to memory being cleared faster. If retain/release is faster on Apple Silicon, so is memory being cleared BECAUSE it can release faster it is able to clear out the memory faster.

And yes, it is essentially a method call which is why I asked if it was asynchronous since if you call MethodA then MethodB, you need to wait for MethodA to finish before MethodB gets called in synchronous code. So if it is NOT asynchronous, MethodB and similar code would take long on Intel vs Apple Silicon to be called in some scenarios.

I am still not seeing where you are saying I am wrong that you said memory transactions are not faster. If releases are faster, it gets to the queue to delete memory faster, which does delete memory faster, therefore cause and effect means faster releases can cause faster memory transactions/clearing memory.
 

pshufd

macrumors G4
Oct 24, 2013
10,151
14,574
New Hampshire
MacBook Air 16/1 arrived. I left it on my table and it has been picked up. The only thing that I might have to do is to provide a power cord for it as it doesn't come with one. Also, maybe the NAS credentials; nobody seems to save them - they always ask me.
 

Johnny907

macrumors 68020
Sep 20, 2014
2,150
4,007
MacBook Air 16/1 arrived. I left it on my table and it has been picked up. The only thing that I might have to do is to provide a power cord for it as it doesn't come with one. Also, maybe the NAS credentials; nobody seems to save them - they always ask me.
I've read this post four times and I still have no idea what you were trying to say.
 

MarkC426

macrumors 68040
May 14, 2008
3,698
2,097
UK
MacBook Air 16/1 arrived. I left it on my table and it has been picked up. The only thing that I might have to do is to provide a power cord for it as it doesn't come with one. Also, maybe the NAS credentials; nobody seems to save them - they always ask me.
Are you saying M1 macs don't ship with a power cable.....?

1609784045463.png
 

pshufd

macrumors G4
Oct 24, 2013
10,151
14,574
New Hampshire
Are you saying M1 macs don't ship with a power cable.....?

Yup. They ship with a power brick and USB-C cable.

MagSafe Macs shipped with a power brick and cable (non-removable) to the laptop. Then they provided a cord that could plug into the wall and the brick along with a small piece that becomes part of the brick which you can plug in. The problem with the little piece is that the metal weakens over time so you plug it into the wall and it falls out of the wall.

You can buy the power cord separately for something like $19. I have a bunch of spares in one of my parts bins.
 

Ethosik

Contributor
Oct 21, 2009
8,142
7,120
So this is something to keep in mind if you are considering 8GB and why I ultimately went with a 16GB version.

8GB of RAM is fine for my needs.....I have confirmed it with my 2019 i9 iMac by replacing my 128GB of RAM after market upgrade with the stock 8GB stick from Apple. I do 1080p video editing which, come on it should be no sweat for any computer these days. So I know 8GB of RAM is fine.

HOWEVER, and this is why I decided to go with 16GB. Something I was NOT thinking about initially was that my iMac has a Radeon Pro Vega 48, which is an 8GB GPU. Since the M1 processor now does not have dedicated RAM for system vs GPU, this means that the 8GB version the GPU needs to share that same memory.

SO - to match my iMac 8GB system RAM and 8GB GPU, I decided on the 16GB version. If you do something that uses the GPU a bit, it actually might be beneficial to get the 16GB version due to the shared memory pool - even if 8GB of system RAM is sufficient.
 

OSB

macrumors regular
Oct 27, 2015
138
125
8GB of RAM is fine for my needs.....I have confirmed it with my 2019 i9 iMac by replacing my 128GB of RAM after market upgrade with the stock 8GB stick from Apple. I do 1080p video editing which, come on it should be no sweat for any computer these days. So I know 8GB of RAM is fine.

I'm curious - if 8GB meets your workflow needs, why did you spring for 128GB? Did your needs change substantially in the last year?

I went from 32GB in my outgoing Late-2015 iMac to 16GB in the new mini, but the big difference for me was that my employer transitioned a couple of years ago to Citrix for remote work. As a result, I no longer had to run Windows in a VM alongside OSX, which effectively halved my RAM footprint.
 

Ethosik

Contributor
Oct 21, 2009
8,142
7,120
I'm curious - if 8GB meets your workflow needs, why did you spring for 128GB? Did your needs change substantially in the last year?

I went from 32GB in my outgoing Late-2015 iMac to 16GB in the new mini, but the big difference for me was that my employer transitioned a couple of years ago to Citrix for remote work. As a result, I no longer had to run Windows in a VM alongside OSX, which effectively halved my RAM footprint.
Because I was not sure if it would help, and upon asking for advice I was told to basically max it out! Which is why I sometimes wish people would be more careful with the "More RAM = better" or "get the most RAM possible" comments. $500 for 128GB after market. I make enough money where $500 wasn't a tough decision, but its still $500 that ended up being rather pointless. I took some online courses to get certified for video editing, and they mentioned 8GB was fine for 1080p, 16GB was fine for 4K. Since I only do 1080p, I was a bit curious if their comments were valid and sure enough, they were. 8GB version only took 20 seconds longer on a ~15 minute video. I did not run dozens or hundreds of tests so that 20 seconds extra could have been my system doing other things.

And honestly, placebo effect made me think my 2019 i9 iMac was better than the system it replaced - 2010 Mac Pro 8GB of RAM. But doing another test proved it does not actually improve much. Which is absolutely crazy that 9 years difference and my video editing experience is not any faster. The ONLY benefit my iMac has is working on HEVC files just for the file size benefits.

So I think the Mac mini would be great for my needs for quite a while. It can certainly beat a 2010 Mac Pro which is good.
 
  • Like
Reactions: Michael Scrip

armoured

macrumors regular
Feb 1, 2018
211
163
ether
So this is something to keep in mind if you are considering 8GB and why I ultimately went with a 16GB version.
...
HOWEVER, and this is why I decided to go with 16GB. Something I was NOT thinking about initially was that my iMac has a Radeon Pro Vega 48, which is an 8GB GPU. Since the M1 processor now does not have dedicated RAM for system vs GPU, this means that the 8GB version the GPU needs to share that same memory.

SO - to match my iMac 8GB system RAM and 8GB GPU, I decided on the 16GB version. If you do something that uses the GPU a bit, it actually might be beneficial to get the 16GB version due to the shared memory pool - even if 8GB of system RAM is sufficient.
I don't disagree with your overall reasoning, but would caution that with the shared video memory/unified memory architecture it is not a 1:1 relationship (eg 8gb of dDPU memory is not the same as 8gb of unified memory). It's also not magical in that unified memory architecture doesn't magically reduce total amount of memory needed either (although might in some circumstances).

The interactions between them are not straightforward, and will also depend on programming choices, use of different macos frameworks, use profile, programs used (how many would actually use the full 8gb of dGPU memory anyway?), etc. And of course as always how much the OS and programs use the memory to cache things (successfully and intelligently). Some programs will directly address GPU/CPU memory (reducing duplication/system I/O) and hence need less compared to intels with dedicated GPUs; some programs do things differently and don't use much GPU but will use all the system memory they can get.

Unfortunately that sort of leaves us back where we started - some will see more benefit from more memory than others, define "need more memory", tolerance of slowdowns (are they even noticed?), and whether the extra cost is significant to the buyer/user or not. Specific impact of on-board unified memory will vary a lot.

BTW I don't think pure benchmarks of time are the right measure in most cases (but for some, yes). When I do memory intensive stuff on my existing set-up, the main benefit I see with lots of memory is not increased speed for that task but that I can continue doing lots of other tasks without noticing. For the long-running intensive tasks I care less about raw speed but that the machine is 100% usable for the other stuff I'm doing. (This may not be representative, those tasks for me are mostly other I/O constrained - external disks - not CPU; they would be memory and hence swap constrained with less memory).

IMO you made the right choice for you. You could probably get by with 8gb but you're not that price sensitive, your needs may grow, etc.
 

theSeb

macrumors 604
Aug 10, 2010
7,466
1,893
none
The best way to check if you need more memory is to close everything and restart your computer in the morning. Then do your normal work that you do every day. At the end of the day open terminal and type in vm_stat and look at the Pageouts number. If it is significant, then you would definitely benefit from more memory. In my case it is not and that is over two days clearly.

Screenshot 2021-01-05 at 15.03.23.png


Having said that nearly all people would benefit from the 8 to 16 jump. Modern operating systems will use as much memory as they can to cache frequently accessed files. This makes the OS experience feel more snappy and responsive.

Do I really need 32 GBs of RAM in this machine? Clearly yes, because even though I have not done anything intensive in the last few days, my cache is huge. It makes multi-tasking and having multiple applications and windows open a much more seamless experience. Would I benefit from more though, like 64 GBs? Probably not. As with everything there is a cost vs performance tradeoff that is first steep and then levels out.

Screenshot 2021-01-05 at 15.06.53.png
 

Ethosik

Contributor
Oct 21, 2009
8,142
7,120
I don't disagree with your overall reasoning, but would caution that with the shared video memory/unified memory architecture it is not a 1:1 relationship (eg 8gb of dDPU memory is not the same as 8gb of unified memory). It's also not magical in that unified memory architecture doesn't magically reduce total amount of memory needed either (although might in some circumstances).

The interactions between them are not straightforward, and will also depend on programming choices, use of different macos frameworks, use profile, programs used (how many would actually use the full 8gb of dGPU memory anyway?), etc. And of course as always how much the OS and programs use the memory to cache things (successfully and intelligently). Some programs will directly address GPU/CPU memory (reducing duplication/system I/O) and hence need less compared to intels with dedicated GPUs; some programs do things differently and don't use much GPU but will use all the system memory they can get.

Unfortunately that sort of leaves us back where we started - some will see more benefit from more memory than others, define "need more memory", tolerance of slowdowns (are they even noticed?), and whether the extra cost is significant to the buyer/user or not. Specific impact of on-board unified memory will vary a lot.

BTW I don't think pure benchmarks of time are the right measure in most cases (but for some, yes). When I do memory intensive stuff on my existing set-up, the main benefit I see with lots of memory is not increased speed for that task but that I can continue doing lots of other tasks without noticing. For the long-running intensive tasks I care less about raw speed but that the machine is 100% usable for the other stuff I'm doing. (This may not be representative, those tasks for me are mostly other I/O constrained - external disks - not CPU; they would be memory and hence swap constrained with less memory).

IMO you made the right choice for you. You could probably get by with 8gb but you're not that price sensitive, your needs may grow, etc.
Well I might not be using the full 8GB anyway either. But its not just 8GB of GPU I need to make up. Even if you only use 1 or 2GB of that GPU, that still means you LOSE 1 or 2 GB of actual system RAM for programs. Which means you don't have the full 8GB of RAM JUST for programs. Therefore, the comparisons we are making with Intel systems are actually the opposite to how we are thinking and in some cases we need MORE RAM on Apple Silicon than on Intel - like what I mentioned.

If you play games for example that use more GPU, that means you are sacrificing more of the system RAM because the GPU needs it.

Fact is, on my testing 8GB was fine on my iMac but I also had 8GB GPU. How much of that being used I do not know. If it was even 1GB being used, that would still mean I would only have 7GB in system RAM with Apple Silicon, and I do not know if that would be a tipping point for my workload or not. FCP does use the GPU for even light video editing for what I do, so it might utilize more than the 1GB in my example.
 

darngooddesign

macrumors P6
Jul 4, 2007
18,366
10,128
Atlanta, GA
The best way to check if you need more memory is to close everything and restart your computer in the morning. Then do your normal work that you do every day. At the end of the day open terminal and type in vm_stat and look at the Pageouts number. If it is significant, then you would definitely benefit from more memory. In my case it is not and that is over two days clearly.

What range is a significant number of PageOuts?
 

JeepGuy

macrumors 6502
Sep 24, 2008
332
110
Barrie
Well I might not be using the full 8GB anyway either. But its not just 8GB of GPU I need to make up. Even if you only use 1 or 2GB of that GPU, that still means you LOSE 1 or 2 GB of actual system RAM for programs. Which means you don't have the full 8GB of RAM JUST for programs. Therefore, the comparisons we are making with Intel systems are actually the opposite to how we are thinking and in some cases we need MORE RAM on Apple Silicon than on Intel - like what I mentioned.

If you play games for example that use more GPU, that means you are sacrificing more of the system RAM because the GPU needs it.

Fact is, on my testing 8GB was fine on my iMac but I also had 8GB GPU. How much of that being used I do not know. If it was even 1GB being used, that would still mean I would only have 7GB in system RAM with Apple Silicon, and I do not know if that would be a tipping point for my workload or not. FCP does use the GPU for even light video editing for what I do, so it might utilize more than the 1GB in my example.
I would add that if you are running multiple monitors, that adds to the pressure on memory.
 
  • Like
Reactions: armoured
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.