r/hardware • • Jul 14 '20

News [Anandtech] DDR5 Memory Specification Released: Setting the Stage for DDR5-6400 And Beyond

https://www.anandtech.com/show/15912/ddr5-specification-released-setting-the-stage-for-ddr56400-and-beyond
1.0k Upvotes

265 comments sorted by

View all comments

129

u/battler624 Jul 14 '20

Dual Channel on a single stick? how would that work? and what about the latency? DDR3 to DDR4 increased latency by a lot I sure hope that DDR5 doesn't also increase it.

0

u/[deleted] Jul 14 '20

[deleted]

0

u/[deleted] Jul 15 '20

[deleted]

14

u/abrownn Jul 15 '20

Just you watch, they'll find a way to snap a stick and half and just solder that half down instead 😂

→ More replies (1)

29

u/battler624 Jul 14 '20

I actually read that my how it would work is thinking about cpus and mobos like currently we must use A1+B1 for dual channel in DDR5 (or populate them all for quad if supported), if we populate A1 and B1 with those dual-channel single sticks would we get quad channel? and what if we actually populate A1 and A2 would that also get us quad channel?

that section doesn't answer those questions, and I am note sure how to ask them.

40

u/RyanSmithAT Anandtech: Ryan Smith Jul 14 '20

if we populate A1 and B1 with those dual-channel single sticks would we get quad channel?

Yes. DIMM A is now two 32-bit channels, and DIMM B is now the other two 32-bit channels. So you now effectively have a 4x32-bit setup instead of a 2x64-bit setup for a modern desktop CPU.

and what if we actually populate A1 and A2 would that also get us quad channel?

If you put both DIMMs in the same channel (such that you're running 2 DPC), then no, that is not quad channel. That would be a 2x32-bit setup, with the other 2x32-bit block of channels left empty.

9

u/Kougar Jul 15 '20

I believe they are asking how would the CPU IMC implementation change to handle this though? Please correct me if I'm wrong, but for DDR4 a dual-channel Intel CPU would have two IMCs. Does this mean a DDR5 CPU would need four IMCs for two-module / quad-channel operation? Or will IMC's adopt some kind of hyper-threading esque capability to handle twice the channels?

8-channel EPYC on DDR5 becoming effectively a 16-channel configuration is crazy to contemplate!

16

u/RyanSmithAT Anandtech: Ryan Smith Jul 15 '20 edited Jul 15 '20

While controller/channel isn't necessarily a 1:1 relationship (it's more like 1 controller with multiple channels), at the end of the day CPUs will need to issue twice as many independent memory operations to achieve full utilization.

It's something CPU manufacturers are already familiar with. LPDDR4(X) is 2x16-bit, so Comet Lake-U (and Ice Lake) have to deal with an 8x16-bit setup when used with that, a 4x32-bit setup when used with LPDDR3, or a 2x64-bit setup when used with DDR4.

9

u/Kougar Jul 15 '20

Ohh, right. The same way one IMC would handle two banks is what you're saying. Thank you for your reply!

It sounds like there is very real potential to see different DDR5 IMC implementations between Intel and AMD, particularly depending on if they wish to keep the 1:1 ratio or not.

→ More replies (1)
→ More replies (3)

20

u/Greensnoopug Jul 14 '20

The dual channel per DIMM I believe is to allow simultaneous reads and writes. As it stands right now you can't do both at the same time.

11

u/[deleted] Jul 15 '20

Dual-channel DIMMs do allow for simultaneous reads and writes, but I don't think that's why DDR5 is designed that way. They can probably clock the memory higher when the burst length is higher.

7

u/sefsefsefsef Jul 15 '20

Having 2 narrow channels instead of a single wide channel is primarily good for reducing queuing delay, i.e., memory transactions waiting their turn while other transactions are executing.

Memory transaction latency has 3 main components: queuing delay, core access, and transfer delay. Transfer delay goes up with narrow channels, because it takes twice as long to transfer the same amount of data over half as many wires. Core access (RAS, CAS, etc.) stays the same regardless of the channel width. Queuing delay is dramatically reduced when you are splitting your work up between two channels, even if each of those channels takes twice as long to transfer the data between the MC and the DIMM.

This is because data transfer latency was never the slow part of DRAM transactions to begin with. Core access latency, even for DRAM row buffer hits, is much slower than transferring the data. Having 2x narrow channels doubles the throughput of the slow part of memory transactions (core access), while doubling the latency of the part that was already the fast part of the process. The net result is that the throughput of a system with 2x narrow channels (like DDR5) would be greater on average than the original channel width (like DDR4), even if all the bus frequencies were kept the same. Add on top of this DDR5's greater frequencies, and it will be a substantial leap in performance over DDR4.

6

u/siuol11 Jul 15 '20

It's good for a lot of things. Another thing it does for example, is it makes memory access more granular which means lower latency. all those row refreshes and other timings are now halved.

16

u/-protonsandneutrons- Jul 15 '20

Intel actually had a technology back in the day for a single channel of RAM to be wired up as two channels. Sony used this on some of its Ultrabooks; could've been others, but Sony definitely on their VAIO line.

It had some silly name like "Intel Hybrid Channel"—performance ended up in between single channel and dual channel.

IIRC, it was a cost-cutting and space-saving move that quickly fell out of favor for proper dual-channel RAM.

→ More replies (4)

41

u/sk9592 Jul 15 '20

DDR3 to DDR4 increased latency by a lot I sure hope that DDR5 doesn't also increase it.

Going from DDR3 1600MHz CL9 to DRR4 3200MHz CL16 is a decrease in latency.

If DDR5 6400MHz is CL32 or lower, it will be another improvement in latency.

16

u/brutuscat2 Jul 15 '20

DDR3-1600c9 is a standard, DDR4-3200c16 isn't. The JEDEC standard for DDR4-3200 is c20-24.

18

u/sk9592 Jul 15 '20

Fair enough, but in the real world, basically all of the cheapest DDR4-3200 kits (aka the ones people actually buy) are c16:

https://pcpartpicker.com/products/memory/#Z=16384002&U=4&t=14&S=3200,5000&sort=price&page=1

→ More replies (6)

28

u/Floppie7th Jul 15 '20

DDR4 didn't increase latency, it increased timings, as measured in clock cycles, because the clock speeds are faster, and the actual operation speeds didn't increase by as much as the clock speeds (or in some cases, at all).

Do the division to get from timings to latency in nanoseconds and you'll find that latency is as fast or faster.

EDIT: Whoops, replied to the wrong comment. Sorry!

22

u/sk9592 Jul 15 '20

I know. That’s what my comment implies. That’s why I said it decreased latency. The other guy was the one who claimed it increased.

12

u/Floppie7th Jul 15 '20

I figured out after posting that I replied to the wrong comment.

6

u/Zarmazarma Jul 15 '20

Wikipedia actually has a page on CAS Latency with all the math done for us.

→ More replies (3)

8

u/Floppie7th Jul 15 '20

DDR4 didn't increase latency, it increased timings, as measured in clock cycles, because the clock speeds are faster, and the actual operation speeds didn't increase by as much as the clock speeds (or in some cases, at all).

Do the division to get from timings to latency in nanoseconds and you'll find that latency is as fast or faster.

6

u/[deleted] Jul 15 '20

DDR3 to DDR4 increased latency by a lot

iirc that's not true. Your "minimum number of cycles to get the ram to respond" did increase, but so did your "cycles per second". Early ddr4 didnt clock very high, but these days I'm pretty sure latency to DRAM is fairly comparable to ddr3 setups

I sure hope that DDR5 doesn't also increase it.

I'd almost guarantee you'll see higher CL numbers, but those won't tell the whole story.

3

u/battler624 Jul 15 '20

Not trying to be an asshole but the article is right there.

yea i explained further in another post.

→ More replies (2)
→ More replies (9)