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

rezwits

macrumors 6502a
Original poster
Jul 10, 2007
838
436
Las Vegas
The RX A6000 is in a different galaxy than this M1 thing sorry man.
Not completely, I mean the M1s have ML Cores and ECC? But maybe the GPU implementation isn't up to snuff or close i.e. "Floating Point Math." I would be interested in seeing what kind of CAD programs evolve too but whatever.

IDK, cause honestly I just got ideas from the M1/Pro/Max and what they are capable of... I didn't really comprehend the sickness of 32+ GB of GPU VRAM...

I'm learning and reading...

altho, IDK, I am throwing 24GB of "data" around like a pizza, well more like I am "kneading the dough"
 
Last edited:

mi7chy

macrumors G4
Oct 24, 2014
10,625
11,296
Some overzealous fanboys used to claim 8GB = 16GB but reality is shared memory contention will cause lag. We should hold them accountable for misleading and wasting people's money.

 

cmaier

Suspended
Jul 25, 2007
25,405
33,474
California
Some overzealous fanboys used to claim 8GB = 16GB but reality is shared memory contention will cause lag. We should hold them accountable for misleading and wasting people's money.


8GB != 16GB, but UMA doesn’t necessarily cause a shared memory contention issue, either, so long as you have enough memory for your working set. People should just buy the memory they need and ignore the strange theories that keep popping up on here.
 

Jorbanead

macrumors 65816
Aug 31, 2018
1,209
1,438
Some overzealous fanboys used to claim 8GB = 16GB but reality is shared memory contention will cause lag. We should hold them accountable for misleading and wasting people's money.

This is your favorite talking point at parties isn’t it.
 

avkills

macrumors 65816
Jun 14, 2002
1,226
1,074
Since I am laughing hard right now. I am going to throw a wrench into his thinking....so I have a W6800x duo card in my Mac Pro with 64GB of total VRAM (32GB per gpu core), but for GPU 3D rendering we can only load up to 32GB since all the object/texture data needs to be loaded into the VRAM for both GPU cores for the rendering to work right.

I actually have more VRAM than system RAM (going to upgrade after the holidays). System runs just fine; benchmarks for Octane are pretty much the same as people with tons of system RAM.

and yes, the nVidia A6000 card has 48GB of VRAM and is currently the best overall GPU on the market right now for super high end 3D work (not gaming); but the W6xxxx series for the Mac Pro are no slouches either.

Unified memory is the future; although both AMD and nVidia are working clever plans to allow the CPU direct memory access to the GPU memory.

Really the only time GPU memory needs to be loaded to system RAM and back again is if the CPU needs to do calculations on something that is in GPU RAM; this is kind of where the unified RAM kick ass.

Ok back to the real world of whatever RAM you have is what you have.... ;)
 

MacCheetah3

macrumors 68020
Nov 14, 2003
2,286
1,227
Central MN
I actually have more VRAM than system RAM (going to upgrade after the holidays). System runs just fine; benchmarks for Octane are pretty much the same as people with tons of system RAM.
Interesting… I have wondered whether Otoy’s recommendations were about being extremely cautious (i.e., prepared for anything).
Otoy said:
A good rule of thumb is that you should have three to four times more RAM than GPU memory for the system to operate efficiently. The reason for the range is that not every scene requires the same amount of RAM usage, and you also want some extra RAM for other processes you’re running on your system.
Otoy said:
For example, If you have one RTX 3090 with 24GB of VRAM, you will already want three to four times the amount of system RAM in order to fully fill it (this varies depending on the scene and other RAM usage in your system). This means you’re looking at a minimum of 72GB of system RAM to keep everything happy. If you are running two 3090s that are connected via NVLink, you will actually want a minimum of 144GB of RAM, which is actually more than many consumer-end motherboards will support.

 
Last edited:

avkills

macrumors 65816
Jun 14, 2002
1,226
1,074
Interesting… I have wondered whether Otoy’s recommendations were about being extremely cautious (i.e., prepared for anything).



Well of course what OTOY says is more or less correct; but heavy 3D scenes is not my day to day; and in fact right now I do not even use Octane to render anything; but it is something I am looking at. I am going to try and go to 192GB of RAM using 6 sticks, just in case I want to go to 384 later. :p
 

darngooddesign

macrumors P6
Jul 4, 2007
18,366
10,126
Atlanta, GA
8GB feels like 16GB because there is very little performance penalty to SSD swapping beyond your 8GB. So while you used to need 16GB to avoid lag, that isn't as much the case now.
 

avkills

macrumors 65816
Jun 14, 2002
1,226
1,074
8GB feels like 16GB because there is very little performance penalty to SSD swapping beyond your 8GB. So while you used to need 16GB to avoid lag, that isn't as much the case now.
How is that different from any other modern computer system/OS that uses the hard drive for swap space? Faster hard drive = less noticeable performance hit when using swap. Swap performance has nothing to do with whether the system uses unified memory.
 

darngooddesign

macrumors P6
Jul 4, 2007
18,366
10,126
Atlanta, GA
How is that different from any other modern computer system/OS that uses the hard drive for swap space? Faster hard drive = less noticeable performance hit when using swap. Swap performance has nothing to do with whether the system uses unified memory.
Its not different except that the M1's memory bandwidth and SSD R/W-speed is a lot faster due to the RAM and drive integration. Unified just refers to the GPU using the same pool of memory, but thats not we're talking about.
 

leman

macrumors Core
Oct 14, 2008
19,521
19,678
How is that different from any other modern computer system/OS that uses the hard drive for swap space? Faster hard drive = less noticeable performance hit when using swap. Swap performance has nothing to do with whether the system uses unified memory.

Well, technically most x86 systems use unified memory, so that's indeed not the reason. Also, I don't think that anyone has ever quantified whether (and if, by how much) swap on M1 machines is indeed faster. Not also that faster SSDs won't really help, we need low latency here, not high bandwidth (and it's not like M1 SSDs have ultra-low latency). Anecdotally however, there are two things worth mentioning:

1. Apple Silicon uses 16K memory pages, which ought to make swapping a bit more efficient (data transfer batching)
2. There is this very interesting paper from couple of years ago: https://web.cs.unlv.edu/jisooy/paper/yang_pmbench.pdf where the authors demonstrate that the limiting factor of swap performance is actually the OS. It is possible that Apple has reimplemented the pager to use more efficient latency-optimized algorithms.
 

avkills

macrumors 65816
Jun 14, 2002
1,226
1,074
Its not different except that the M1's memory bandwidth and SSD R/W-speed is a lot faster due to the RAM and drive integration. Unified just refers to the GPU using the same pool of memory, but thats not we're talking about.
Well of course, faster memory bus and faster SSD speed of course it is going to be better with swap performance.

And yes the memory bandwidth of the M1 Max is very impressive. SSD speed is just a function of newer/faster tech.
 

avkills

macrumors 65816
Jun 14, 2002
1,226
1,074
Well, technically most x86 systems use unified memory, so that's indeed not the reason. Also, I don't think that anyone has ever quantified whether (and if, by how much) swap on M1 machines is indeed faster. Not also that faster SSDs won't really help, we need low latency here, not high bandwidth (and it's not like M1 SSDs have ultra-low latency). Anecdotally however, there are two things worth mentioning:

1. Apple Silicon uses 16K memory pages, which ought to make swapping a bit more efficient (data transfer batching)
2. There is this very interesting paper from couple of years ago: https://web.cs.unlv.edu/jisooy/paper/yang_pmbench.pdf where the authors demonstrate that the limiting factor of swap performance is actually the OS. It is possible that Apple has reimplemented the pager to use more efficient latency-optimized algorithms.
Good points.
 

leman

macrumors Core
Oct 14, 2008
19,521
19,678
Its not different except that the M1's memory bandwidth and SSD R/W-speed is a lot faster due to the RAM and drive integration.

Sure, but it's not that much faster than other premium laptops. And mot importantly, bandwidth won't help you with swapping. Bandwidth is important when you want to transfer a lot of data quickly. But here we are talking about transferring 16KB pages! Even if you have 1000 page swap requests per second (at which point you are already have a massive problem), that's still "only" 16MB — a mere triffle for any SSD.

Much more important for seamless user experience is the latency — if the memory needs to be swapped in, it better happen before the user notices that something is amiss. That's the real challenge and the real problem: how to keep the response time und this magical human perception threshold. And there are a lot of things that one can do here, from sleight of hand (e.g. delayed animation transitions that give the system some precious milliseconds to do its stuff) to improve kernel algorithms and data structures to prioritizing swap data transfers and other fancy things.
 

Analog Kid

macrumors G3
Mar 4, 2003
9,360
12,603
Sure, but it's not that much faster than other premium laptops. And mot importantly, bandwidth won't help you with swapping. Bandwidth is important when you want to transfer a lot of data quickly. But here we are talking about transferring 16KB pages! Even if you have 1000 page swap requests per second (at which point you are already have a massive problem), that's still "only" 16MB — a mere triffle for any SSD.

Much more important for seamless user experience is the latency — if the memory needs to be swapped in, it better happen before the user notices that something is amiss. That's the real challenge and the real problem: how to keep the response time und this magical human perception threshold. And there are a lot of things that one can do here, from sleight of hand (e.g. delayed animation transitions that give the system some precious milliseconds to do its stuff) to improve kernel algorithms and data structures to prioritizing swap data transfers and other fancy things.
I feel like we're starting to talk about two different issues here-- swap for multi-tasking versus swap for very large datasets. If I'm changing focus from Xcode to Safari, then swap just needs to be fast enough that I don't notice the context switch and SSD is fine. If I'm concerned about whether my 16GB of unified RAM feels like 32GB of unified RAM while doing heavy GPU processing then presumably I'm doing a massive finite element model or excruciatingly detailed render and in that case the latencies of going to swap are enormous compared to extra RAM and you've bought the wrong hardware.
 

Fomalhaut

macrumors 68000
Oct 6, 2020
1,993
1,724
Now let's say you put two machines side by side:

One a PC using that SILLY NVIDIA card for $10,000 at NewEgg, with 32 GB of RAM

One a M1 Pro with 32 GB of RAM

You would have:

AppleVersusIntel.jpg


n.b. I used the SILLY NVIDIA card for reference of having a 32GB GPU card, I think the most a Titan has is 12GB, I don't want to get into the reason why PC+NVIDIA gaming doesn't/can't use more at this point but a Workstation can if you working with large Graphical Data Sets, that a normal PC gamer just couldn't even use... so maybe some other day ;)

On the M1 Macs if the GPU cores use 28GB of your RAM then you only have 4GB left for other things....

Yes, unified memory does reduce copying between GPU memory and system RAM, but it doesn't magically create more memory as your "calculation" appears to show. Your GPU uses the same RAM - hence "unified".

I really don't know what you're trying to say...think about how the memory space is used by CPU and GPU. It is shared, so you can't add up the usage by GPU and CPU - it's just a single pool.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.