Hacker News new | ask | show | jobs
by p_l 24 days ago
Memory controllers are pretty much limited by external pinout.

Zen 4 and newer consumer chips have 4 memory controllers (for legacy reasons shown as 2) which handle 32bit wide LPDDR5 or DDR5 interfaces (2x per dimm for DDR5)

The AM5 (desktop) socket has in addition to the 4x 32bit memory lanes, 28 PCI-E lanes (generally 16x for GPU, two 4x general purpose, one 4x to chipset), 4x combined DP/HDMI outputs, USB 2.0 port, 4 USB 3.2 Gen 2 ports. And that's just the major buses, there's ton of other components exposed (simpler IO, sound, power)

All of that counts to staggering 1718 pins - anyone remember when moving dual-channel K8 from 940 pin to 939 allowed removal of whole layer from motherboard PCB, making them way cheaper?

The high-end performance server socket from AMD has 6096 pins, significant chunk of it being the 24x 32bit DDR5 interfaces.

So unfortunately it's very much not easy to add more memory, and that's before considering issues with routing it on motherboard even if you accept changing shapes

2 comments

I have no real idea of how much a "pin" costs though; it seems There was a brief period of affordable threadripper, but then product segmentation made that not great for amd...

Perhaps it's better to stick on am5 for a while, but it's not clear if this number of pins is somehow cost effective, or if it's just enough to beat Intel.

> There was a brief period of affordable threadripper, but then product segmentation made that not great for amd...

The thing they're doing which is completely insane is using different sockets for Threadripper and Epyc.

The primary difference between them isn't the price -- they're both expensive -- it's that Epyc uses the power budget to reach higher core counts and Threadripper uses it to hit higher clock speeds. So for example, Zen5 Threadripper 9975WX has 32 cores with a 4 GHz base clock and 5.4 GHz boost clock. There is no equivalent Zen5 Epyc, the most similar is 9375F which is 3.8GHz/4.8GHz. Conversely, Epyc 9755 has 128 Zen5 cores and Epyc 9965 has 192 Zen5c cores and there is no Threadripper with that many cores.

The reason this matters is that the system boards themselves are pricey, not just the CPUs, but as the platform starts to age you start to get a lot of old servers on the used market that originally had a bottom-end Epyc in them. Which you'd then like to pull and replace with a Threadripper -- i.e. pay them more money to buy a new Threadripper -- except that they inexplicably decided to screw you and themselves by using a different socket.

And the same thing the other way around. It also means you can't find an older workstation with the bottom-end Threadripper and pay them money for a high core count Epyc with better performance per watt to use it as a server.

Whoever did it this way doesn't seem to understand that market segmentation is intended to separate price segments rather than just creating arbitrary compatibility impairment between things that have similar prices.

Apparently it is nearly possible electrically for some EPYC/Threadripper combinations, but requires considerable investment on the motherboard side - muxing different firmware types, analog and digital logic to detect CPU type and modify some of the connections (including different VRM configuration)

So, possible to do by motherboard vendor, not necessarily enforced by AMD, expensive

Anything is possible if you want to hire an entire team of professionals and fabricate your own parts, but that's not the issue.

Consider that they could have had the opposite of that. Companies design a single board that can be used for either chip instead of two separate boards, and thereby have lower design costs, which allows them to sell the boards for less while making more money, which in turn makes customers happy and causes them to buy more of your chips.

The real issue is that the cost is not really on AMD - the cost is on motherboard vendors - more complex routing, thicker PCBs, etc. - all adds up.

A pin on underside of CPU is reasonably cheaper especially with how they've got a sea of wires working for the humongous models replacing previous serdes-based approach

The new Zen 6 Venice server CPUs have 32 x 32-bit DDR5 interfaces, which also work up to 12800 MT/s, double in comparison with the DDR5-6400 supported by the Zen 5 server CPUs.

So the socket is even bigger, but they no longer support 2 DIMMs per channel, so a CPU socket connects to only 16 DIMM sockets.

The reason we had the saga of "registered" aka "buffered" memory, and the various serial-link based memories, is just how it is to run wide parallel buses at high clock speeds.

At the newest speeds, it becomes impractical even with buffered drivers and self-clocking

That's true.

However, besides the big SP7 socket with 16 DIMMs and 1 DIMM per channel, Zen 6 Venice will be available also with the somewhat smaller SP8 socket, which uses the same 16 DIMM sockets, but here there are 2 DIMMs per channel at a halved number of channels, so the maximum memory throughput is halved, from 1.6 TByte/s to 0.8 TByte/s, while the maximum amount of memory stays the same, at 2 TB.

It is interesting that Zen 6 has 2 I/O dies, each with 8 memory controllers, but in the smaller SP8 socket the same 2 memory controllers are used, with only 4 memory controllers enabled in each I/O die, instead of using only 1 I/O die.

Presumably that was done in order to not reduce the number of PCIe lanes in the SP8 socket, which actually has more PCIe lanes than the SP7 socket.

It's possible also that most beneficial routing/partitioning for IOD made an impact, including actual Infinity Fabric topology and port counts