News for hackers. Stuff that matters.
Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by spamizbad on Monday December 14, 2020 @12:35PM (#25420400)
I think people should pay more attention to the LPDDR4X RAM that's tightly coupled to the CPU and likely has significantly less latency and more bandwidth than anything on the Ryzen or i9. This is critical to keeping their wide design fed, and if you swapped this out with standard DDR3200 you'd see some lackluster numbers.

Both Intel and AMD try to overcome the memory wall with larger caches and clever prefetching, which is going to chew up more die space and power than x86 decoders.

Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by epistasis on Monday December 14, 2020 @01:00PM (#25420800)
Anandtech measured the ram latency at >90ns, which is not great:

https://www.anandtech.com/show/16252/mac-mini-apple-m1-teste...

The cache on the M1 is also massive. If Intel/AMD have clever prefetchers to make up for this, it looks like the M1 might be doing something more.

Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by chungus_khan on Monday December 14, 2020 @02:37PM (#25422133)
I have been trying to explain to people that having the DRAM chips physically next to the SOC on the package does not actually meaningfully improve memory latency.

I get that people on this site are excited, but please be excited about the right things.

Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by rsynnott on Monday December 14, 2020 @05:52PM (#25424458)
People seem to have dramatically missed the point here; it's almost certainly done for power reasons.
Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by tuatoru on Monday December 14, 2020 @10:07PM (#25426509)
And also for silicon budget, probably: short distances require small interface transistors and thin wires compared to massive distances like 5cm.

The chip area can be re-used for compute-sized transistors and wires (much, much smaller than interface transistors and wires, so there can be many more of them).

Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by epistasis on Monday December 14, 2020 @05:20PM (#25424168)
Yeah, speed of PCB transmission is ~8 inches (~20cm) per nanosecond. Which is about 2/3 of the classic "light-nanosecond", which is roughly a foot.
Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by CyberDildonics on Monday December 14, 2020 @02:50PM (#25422306)
Why would that RAM have less latency? Do you have any sort of a source for why you think that?
Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by AceJohnny2 on Monday December 14, 2020 @12:43PM (#25420529)
How would one benchmark memory performance (DRAM latency & bandwidth) on the various chips?
Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by spamizbad on Monday December 14, 2020 @12:59PM (#25420790)
Above my pay grade! You probably operating with a fixed speed on M1 so you can't intentionally cripple it, but it would be interesting to see "What would this look like if Apple had paired it with standard DDR4-3200?". AMD's Zen core's are known to respond well to lower latency RAM, but in the PC space you're not getting anything close to what Apple has with the LPDDR4x on package. You could try benchmarking the Intel and Ryzen chips with DDR4 5000 and try carefully tuning the memory frequency and timing to find the right balance of bandwidth and latency.
Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by jeffbee on Monday December 14, 2020 @05:56PM (#25424513)
> in the PC space you're not getting anything close to what Apple has with the LPDDR4x on package.

I mean, that's exactly how an 11th Gen Core laptop is constructed.

Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by kllrnohj on Monday December 14, 2020 @06:51PM (#25425067)
> but in the PC space you're not getting anything close to what Apple has with the LPDDR4x on package.

You can run basically any Intel CPU at DDR4-4266 without any issue. Or you can go thread ripper and laugh in quad channel memory. Or Intel x299 and triple-channel memory.

You don't have to tune anything, either, the RAM comes pre-tuned with the right timings in the XMP profile.

Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by 0x008 on Tuesday December 15, 2020 @02:24AM (#25427869)
DDR5 is coming to consumer platforms probably 2022
Re:Apple M1 vs. Ryzen 3900X vs. Intel I9 in Software Develop... by dpzmick on Monday December 14, 2020 @01:14PM (#25421011)
this is a reasonable test: https://www.cs.virginia.edu/stream/ref.html

but it's pretty straightforward to just copy giant buffers in order/out of order and squint really hard at the results