Hacker News new | ask | show | jobs
by nukanse 3 days ago
I'm puzzled by the inexistence of dimm/sodium modules made of SRAM.

They should have roughly 4/8 times less capacity, but there should be applications for it, and enthusiast willing to pay for them.

It should be possible to assemble a 16/32 gb PC with pure SRAM.

8 comments

The cache die on the zen4 x3d processors are ~36mm^2 at TSMC's 7nm process for 64mb of cache.

Simply scaling that means 1gb would be ~576mm^2. For comparison that's around the same size as AMD's Navi21 their highest-end GPU at the time. That means you'd need 4608mm^2 total die area for 8gb, and 9216mm^2 for 16gb.

A DDR5 dimm has approximately 4000mm^2 of area each side (133mmx30mm). That means just fitting 16gb of 7nm dies would be impossible without stacking. And with things like cooling, mounting the dies, that area including the bottom connector fingers, and other components means you realistically might not even get 8gb of dies on a dimm.

And that's ignoring the cost.

Though this is 7nm, sram scaling has been poor - even TSMC state that their best-case sram scaling to 4nm is approx 22%. Which means at 4nm 16gb is still out of the question (~7189mm^2) area-wise. All using over 4x the die area of a GB100. Which still retail for over $30k each (best I could find was ~45k, but that also includes hbm).

Yes, each step is extremely loosely estimated there, and likely rather wrong. There may be parts of x3d die you could remove if not used for a cache, but the l3 is already using the higher density libraries (unlike l1, for example). But it could be whole multiples out, but still shows it's completely unworkable. It could be over 1000x the cost per GB, not 4-8x.

Sram doesn't scale.

I agree it wouldn't work but I think your reasoning is wrong. You can't estimate price based solely on die area as chips have a massive markup on them to offset R&D costs. Then there's the fact that for quite a few years anything from nvidia has had an absurd profit margin. On top of that, for the past year or so fab capacity has become one of the primary bottlenecks meaning prices right now don't even remotely resemble a normal market.

I don't know what a wafer full of transistors without as much R&D overhead nominally goes for but the cost of hbm in a normal market should get you roughly in the ballpark.

So why won't it work? Consider that hbm exists and is already difficult to engineer for. You'd have something faster and less dense than hbm. How is that supposed to work? Where would you put it and how would you wire the bus?

Even if you solve that problem it's still substantially more expensive (because density) while also running much hotter. The concept appears completely unworkable.

I'll also question how much of a market there is for it. Even 10 or 15 years ago an enthusiast could buy a GPU or other accelerator card with large quantities of hbm. If almost no end users were willing to pay for those (and they were readily available!) then who is going to pay for an even more expensive and less power efficient option?

The DDR interface is not overdesigned. Swapping in SRAM would not improve performance, the DDR interface would just become the bottleneck.
Swapping in SRAM certainly would improve performance as the latency would be reduced compared to an equivalent DRAM. However, as far as I know, nobody produces SRAM with DDRx type interfaces.

Everspin produced MRAM with DDR3 interfaces a while back, but there were plenty of compatibility issues preventing it from interoperating with mainstream CPUs. It turns out that CPU vendors don't design DRAM controllers that work properly for all possible parameters. It is funny how often such shortcuts are taken in tech.

SRAM uses way more power than DRAM. You'd have cooling issues for the DIMMs.
Some reasons have been mentioned by other posters, like the limits imposed by the DDR interface and the much higher power consumption, which is caused both by the faster interface that would be needed for SRAM and by the much higher leakage currents of SRAM memory cells.

An extra reason is that SRAM modules could not be used without ECC, like DRAM is used in "consumer" computers.

SRAM is much more vulnerable to radiation than DRAM, because it stores a smaller electric charge in the input capacitances of the cell transistors. The frequency of memory errors would be at least an order of magnitude greater than for DRAM DIMMs, so the use of ECC for correcting the errors would be mandatory.

No point putting the fastest (TB/s) and lowest latency RAM on the slowest (50-100GB/s) and noisiest bus for RAM. That's like an F1 car on a dirt road.
>It should be possible to assemble a 16/32 gb PC with pure SRAM

It is possible, but at what cost.

Take a look dieshot at modern cpu, see how much area does cache use, now scale it to your wanted capacity(also yield will drop too, so take that in mind)

At these sizes system performance will be slower than DRAM because of interconnect. SRAM is much less dense than DRAM. Not 6x less dense as transistor count would imply, more like 30x. There is a point at which extra wire capacitance kill any cell speed advantage.
Even just 8GB would cost thousands of dollars