Staredit Network > Forums > Technology & Computers > Topic: DDR3 vs. DDR4
DDR3 vs. DDR4
Dec 25 2015, 3:31 pm
By: NudeRaider  

Dec 25 2015, 3:31 pm NudeRaider Post #1

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

So, I was looking at all the recent computer building threads and noticed that the DDR4 RAM has noticably higher CAS Latency. Back when I was informing myself of the new DDR3s a good module had CL9 or CL11 (when clocked significantly higher) while we see up to CL16 now.

So I wondered what was going on and did some math. I noticed while throughput indeed increased (obviously), the (random) access times actually got higher (bad). But hasn't the throughput been much higher than any PC component can sustain anyways for like a decade now? And isn't answering an "unexpected" (or random) memory access faster, more important in real world applications? (See below if you want some numbers)
I'd say yes to both which would lead to the conclusion that purely from the RAM point of view it would make sense for highest end builds to stay on DDR3 for now. I haven't been keeping up with the latest in CPUs, so tell me: Are the new CPU architectures worth the increased memory latency or is this all just a hype for new tech?

A comparison of high performance modules:
DDR3: 8GB GEIL Frost White EVO POTENZA DDR3-2933, CL12
Throughput: 2933 MHz / 2 * 128 bit / 8 bit/B / 1.024^3 B/GiB = 21.85 GiB/s
Time until 1st word can be fetched from the pins: 1/2933 MHz * 2 * 12 = 8,18ns
Time until 8th word can be fetched from the pins: 1/2933 MHz * 7 + 8,18ns = 10,6ns

DDR4: 8GB CORSAIR Vengeance LPX Black DDR4-3466 CL16
Throughput: 3466 / 2 * 128 bit / 8 bit/B / 1.024^3 B/GiB = 25.82 GiB/s
Time until 1st word can be fetched from the pins: 1/3466 MHz * 2 * 16 = 9,23ns
Time until 8th word can be fetched from the pins: 1/3466 MHz * 7 + 9,23ns = 11,3ns

=> Throughput is 18.1% faster but random access times are 9.32% slower.




Dec 25 2015, 3:50 pm Excalibur Post #2

The sword and the faith

Nude, asking the hard questions. I like it. :)

If you look at this article you can discern some of the important breakpoints in frequency vs latency in DDR4. The question has been raised many times and although we'd all like to just assume the higher number bearing DDR4 is immediately better, we may not be at the point of maturity for that to be true in terms of MHz vs latency. Corsair has some data on this here although they are in the business of selling memory so take that as you will.

My usual method to get a 'good' memory kit is to get the highest frequency at the lowest latency I can find before the price gets insane. This is a rather basic and obvious idea however. My idea of a good ratio in the current market is a frequency above 3000 with a latency of 16 or below since this seems to be the pain point before A. no kits available in the selected parameters or B. price goes through the roof.

Cool chart from Crucial:


Post has been edited 1 time(s), last time on Dec 25 2015, 3:56 pm by Excalibur.




SEN Global Moderator and Resident Zealot
-------------------------
The sword and the faith.

:ex:
Sector 12
My stream, live PC building and tech discussion.

Apr 13 2016, 5:49 pm dumbducky Post #3



David Patterson, the guy who wrote THE book on computer architecture, has a saying that goes, "latency helps bandwidth, bandwidth hurts latency". Basically, improving latency causes your throughput to increase (if bits move faster over the line, more bits can go over the line in a set period). However, the opposite isn't true. Imagine going from a 32bit bus to a 64 bit bus. Before we can transmit, all 64 lines must be ready to go. This may take a little bit longer to do. So we increased latency slightly to allow for more total data. Your quick math experiment is a little flawed as well. You never grab a word from memory. You grab whole blocks way larger than a word (or DWORD) from main memory and then put them in cache.

http://www.ll.mit.edu/HPEC/agendas/proc04/invited/patterson_keynote.pdf




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: Roy, Amendo03