4 ms·
The quote right after explains your concerns. >The memory bandwidth on the new Macs is impressive. Benchmarks peg it at around 60GB/sec–about 3x faster than a
by nojito 6y ago
The quote right after explains your concerns.
>The memory bandwidth on the new Macs is impressive. Benchmarks peg it at around 60GB/sec–about 3x faster than a 16” MBP. Since the M1 CPU only has 16GB of RAM, it can replace the entire contents of RAM 4 times every second. Think about that…
- nottorp 6y agoSounds like some form of GDDR instead of plain DDR. Not only faster, but I bet simultaneously accessible from both the CPU and GPU.
- MBCook 6y ago> Not only faster, but I bet simultaneously accessible from both the CPU and GPU. It is. We know they're using a unified memory architecture, they pointed it out in the presentation.
- nottorp 6y agoUnified doesn't necessarily mean dual ported.
- dfox 6y agoDue to how DRAM works the array itself cannot have more than one port and almost certainly even the DRAM chip as a whole is still some variation of single ported SDRAM (long time ago there were various pseudo-dual-ported DRAM chips, but these were only really useful for framebuffer-like applications). But given that there are multiple levels of cache in the SoC it is somewhat moot point.
- sliken 6y agoLPDDR4x (the ram chips in the m1) comes in dual port flavors.
- formerly_proven 6y agoI suspect you mean they come with two channels on a single chip, which is not the same as two ports. Channels access separate bits of memory. Ports access the same bits of memory.
- gameswithgo 6y agono its normal mobile ram
- sliken 6y agoThe M1 has 4 LPDDR4x chips inside the the CPU package running at 4266 Mhz and showing some of the best latencies I've seen. What "normal" laptop has that?
- MobiusHorizons 6y agoI believe the poster meant "normal" in the sense that it's a conventional memory technology for laptops. (ie LPDDR4 not GDDR like had been suggested above).
- gameswithgo 6y agobeing inside the cpu package should allow for less than a 1% improvement in latency by my napkin math. its got good latency because it is a top of the line mobile ram setup but that isn’t unique to m1
- sliken 6y agoI 100% agree, but I've audited my code, and on other platforms my code closely agrees with LMbench's lat_mem_rd, which seems pretty well regarded for accuracy. The latency appears real to me.
- ytch 6y agoThis reminds me that Xbox series X/PS5 use Unified GDDR for higher memory bandwidth, I'm curious if such design can help x86 catch up M1?
- kllrnohj 6y agox86 has been doing unified memory for integrated GPUs since at least 2015. It's not a new thing, see for example https://bit-tech.net/news/tech/cpus/amd-huma-heterogeneous-unified-memory-acces/1/ https://bit-tech.net/news/tech/cpus/amd-huma-heterogeneous-u... The reason GDDR isn't typically used for system RAM is it's higher latency & more power hungry. Like, the GDDR6 memory on a typical discreet card uses more power than the an entire M1-powered Mac Mini power hungry.
- ytch 6y agoThanks, I haven't noticed the latency/power difference of GDDR memory.
- mehrdada 6y agoNope. Nothing too magical, I suspect. It says LPDDR4 right there in System Profiler, although it does not indicate the frequency.
- darren_ 6y agoYes, reading some more of the discussions it seems like the answer is that (roughly) the same amount of memory is used, but hitting swap is no longer a major problem, at least for user-facing apps. Seems like the original quote is reading too much into the retain/release thing.
- jml7c5 6y agoIf the same amount of memory is used, then wouldn't swap usage be the same?
- garretraziel 6y agoYeah, but swapping suddenly isn't as big problem as before (probably). You had to be very careful not to hit trashing on x86_64, now you don't have to worry so much. Or that's how I understand this, I don't actually own M1 Mac.
- gameswithgo 6y agofirst there is no sensible reason why ram bandwidth would be different by 3x, its lpddr4x either way, and you can’t replace it from an ssd that fast, the ssd would limit swap speed
- nojito 6y agoWhat? https://www.anandtech.com/show/16252/mac-mini-apple-m1-tested https://www.anandtech.com/show/16252/mac-mini-apple-m1-teste... > Besides the additional cores on the part of the CPUs and GPU, one main performance factor of the M1 that differs from the A14 is the fact that’s it’s running on a 128-bit memory bus rather than the mobile 64-bit bus. Across 8x 16-bit memory channels and at LPDDR4X-4266-class memory, this means the M1 hits a peak of 68.25GB/s memory bandwidth. The point of the memory bandwidth is so that it never has to swap to disk in the first place.
- ubercow13 6y agoHow does memory bandwidth prevent it needing to swap to disk?
- ericpauley 6y ago> The point of the memory bandwidth is so that it never has to swap to disk in the first place. What? How does memory bandwidth obviate the need for disk swapping?
- Izikiel43 6y agoBy swap speed I think he meant that the bottle neck is the time that it takes to move data from the SSD to the RAM, not how fast can the RAM be read from the processor.