Jump to content

Why does it seem that the higher the frequency of the ram, the higher the latency? Isn't latency the delay between the cpu and the ram? Wouldn't that mean that higher clock speed should lower frequency? This is something I never understood despite considering myself a "techie". Every I look, people just say, "get DDR3-1600 CAS 9, it's good enough."

This is a signature.

Link to comment
https://linustechtips.com/topic/462205-relationship-between-latency-and-frequency/
Share on other sites

Link to post
Share on other sites

Ideally you want lower cas and high speed RAM

Its essentially how fast your memory interacts with your CPU

*someone correct me if I'm wrong*

It really only matters if your an Overclocker like me, who try to get 

EVERY
LAST
MARK

out of cinebench 

Link to post
Share on other sites

I'm no expert on memory, but I think it's simply only able to do so many things per second, and so to maintain that limit, you have to trade frequency with latency.  Improving both would push it too far.  (sorry experts if that explanation is painful :))

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to post
Share on other sites

Ideally you want lower cas and high speed RAM

Its essentially how fast your memory interacts with your CPU

*someone correct me if I'm wrong*

It really only matters if your an Overclocker like me, who try to get 

EVERY

LAST

MARK

out of cinebench 

I understand that, but I'm asking why does higher frequency ram have higher latency compared to lower frequency ram?

This is a signature.

Link to post
Share on other sites

I'm no expert on memory, but I think it's simply only able to do so many things per second, and so to maintain that limit, you have to trade frequency with latency.  Improving both would push it too far.  (sorry experts if that explanation is painful :))

I don't think that's the case, because if it is, then what is the point of having faster memory?

This is a signature.

Link to post
Share on other sites

I understand that, but I'm asking why does higher speed ram have higher latency compared to lower speed ram?

latency is how long it takes to access the ram

the frequency is how fast it can take in or out data

 

so lower latency is better for lots of small files since it gets to them faster

but higher frequency is better for few large files

 

this is why some programs work better with lower latency while others with higher frequency

higher frequency also heats up the ram more

 

its just the way the circuits in ram work that to keep it stable the latency needs to be increased to support higher frequencies

you need to balance the two otherwise you get instability and memory errors

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

I don't think that's the case, because if it is, then what is the point of having faster memory?

Well, you can get 1600 CL11, and 1600 CL9, for example.  The latter is better overall, but you could take that 1600 CL11 and down clock it to 1333 for example and probably change timings to CL9

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to post
Share on other sites

Well, you can get 1600 CL11, and 1600 CL9, for example.  The latter is better overall, but you could take that 1600 CL11 and down clock it to 1333 for example and probably change timings to CL9

That wasn't really what I meant. I meant like, why would you choose say, DDR3-2400 CAS10 over DDR-1600 CAS 9, but it's fine, @Enderman explained it just fine.

This is a signature.

Link to post
Share on other sites

Why does it seem that the higher the frequency of the ram, the higher the latency? Isn't latency the delay between the cpu and the ram? Wouldn't that mean that higher clock speed should lower frequency? This is something I never understood despite considering myself a "techie". Every I look, people just say, "get DDR3-1600 CAS 9, it's good enough."

 

The latency is measured in cycles, rather than time units. So it appears that higher frequency RAM has "higher" latency, but it doesn't in reality. Even if your latency time is exactly the same, higher frequency means more RAM cycles will pass during that amount of time, so the latency number "increases" since it's measured in cycles.

 

DDR3 at 1600MHz is 1600 million cycles per second (1.6 billion). CAS latency of 8 means the latency is 8 cycles. At 1.6 billion per second, each individual cycle takes 0.625ns. 8 cycles of latency would be 5.0ns.

 

DDR3 at 2400MHz CAS 11 is 0.41667ns per cycle, and 11 cycles is 4.58333ns of latency. So as you can see the 2400MHz RAM with CAS latency 11 actually has slightly lower latency than 1600MHz CAS 8 even though the number appears higher.

Link to post
Share on other sites

The latency is measured in cycles, rather than time units. So it appears that higher frequency RAM has "higher" latency, but it doesn't in reality. Even if your latency time is exactly the same, higher frequency means more RAM cycles will pass during that amount of time, so the latency number "increases" since it's measured in cycles.

DDR3 at 1600MHz is 1600 million cycles per second (1.6 billion). CAS latency of 8 means the latency is 8 cycles. At 1.6 billion per second, each individual cycle takes 0.625ns. 8 cycles of latency would be 5.0ns.

DDR3 at 2400MHz CAS 11 is 0.41667ns per cycle, and 11 cycles is 4.58333ns of latency. So as you can see the 2400MHz RAM with CAS latency 11 actually has slightly lower latency than 1600MHz CAS 8 even though the number appears higher.

bingo

AMD (and proud) r7 1700 4ghz- 

also (1600) 

asus rog crosshairs vi hero x370-

MSI 980ti G6 1506mhz slix2 -

h110 pull - acer xb270hu 1440p -

 corsair 750D - corsair 16gb 2933

Link to post
Share on other sites

When comparing RAM, you can use this quick and dirty method to see which one is actually doing more work.

Take the frequency and divide it by the latency.

The higher the resulting number, the more you're getting out of the RAM module.

Don't try to assign any real meaning to that number since it is a huge simplification, but if you're comparing two modules with different frequencies and latencies, this will let you get a rough idea of which one will do more than the other.

---

Link to post
Share on other sites

The latency is measured in cycles, rather than time units. So it appears that higher frequency RAM has "higher" latency, but it doesn't in reality. Even if your latency time is exactly the same, higher frequency means more RAM cycles will pass during that amount of time, so the latency number "increases" since it's measured in cycles.

 

DDR3 at 1600MHz is 1600 million cycles per second (1.6 billion). CAS latency of 8 means the latency is 8 cycles. At 1.6 billion per second, each individual cycle takes 0.625ns. 8 cycles of latency would be 5.0ns.

 

DDR3 at 2400MHz CAS 11 is 0.41667ns per cycle, and 11 cycles is 4.58333ns of latency. So as you can see the 2400MHz RAM with CAS latency 11 actually has slightly lower latency than 1600MHz CAS 8 even though the number appears higher.

Alright, so how is it counted when I see latency numbers like "9-9-9-24-2N"?

This is a signature.

Link to post
Share on other sites

DDR4 4000 Master Race

Core I7 5960X / Gigabyte X99 SOC Force / Kingston 16GB DDR4 3000 / EVGA GTX 980 Classified's In Quad SLI / EVGA 1600W G2

Core I7 6700K / Asus Z170 Maximus VIII Hero / Corsair 16GB DDR4 3000 / MSI R9 290X Lightning / EVGA 1600W T2

Link to post
Share on other sites

Have fun with those spread sheets, I'll stick to games LOL.

I'm sure BF4 will be fantastic with these chips

Core I7 5960X / Gigabyte X99 SOC Force / Kingston 16GB DDR4 3000 / EVGA GTX 980 Classified's In Quad SLI / EVGA 1600W G2

Core I7 6700K / Asus Z170 Maximus VIII Hero / Corsair 16GB DDR4 3000 / MSI R9 290X Lightning / EVGA 1600W T2

Link to post
Share on other sites

I don't see any Skylake comparisons in that video. It's X99 vs Z97 so keep talking out your ass

Core I7 5960X / Gigabyte X99 SOC Force / Kingston 16GB DDR4 3000 / EVGA GTX 980 Classified's In Quad SLI / EVGA 1600W G2

Core I7 6700K / Asus Z170 Maximus VIII Hero / Corsair 16GB DDR4 3000 / MSI R9 290X Lightning / EVGA 1600W T2

Link to post
Share on other sites

Because a rebranded 4790K won't change the outcome? You know I'm just kidding right?

So a 6700K is a rebranded 4790K now? Lol

Core I7 5960X / Gigabyte X99 SOC Force / Kingston 16GB DDR4 3000 / EVGA GTX 980 Classified's In Quad SLI / EVGA 1600W G2

Core I7 6700K / Asus Z170 Maximus VIII Hero / Corsair 16GB DDR4 3000 / MSI R9 290X Lightning / EVGA 1600W T2

Link to post
Share on other sites

No, I'm just having fun. Jumped over to your topic.

Oh so you be trollin... Nicely done sir

Core I7 5960X / Gigabyte X99 SOC Force / Kingston 16GB DDR4 3000 / EVGA GTX 980 Classified's In Quad SLI / EVGA 1600W G2

Core I7 6700K / Asus Z170 Maximus VIII Hero / Corsair 16GB DDR4 3000 / MSI R9 290X Lightning / EVGA 1600W T2

Link to post
Share on other sites

Alright, so how is it counted when I see latency numbers like "9-9-9-24-2N"?

It's honestly best not to even worry about it, given that it doesn't have any meaningful effect on performance.

Link to post
Share on other sites

i made guide!

Zen-III-X8-5900X (Gamestation 5)

Spoiler

Case: Medion Micro-ATX Case / Case Fan Front: SUNON MagLev PF70251VX-Q000-S99 70mm / Case Fan Rear: Fanner Tech(Shen Zhen)Co.,LTD. 80mm (Purple) / Controller: Sony Dualshock 4 Wireless (DS4Windows) / Cooler: AMD Near-silent 125w Thermal Solution / CPU: AMD Ryzen 5 3600, 6-cores, 12-threads, 4.2/4.2GHz, 35,3MB cache (T.S.M.C. 7nm FinFET) / CPU: AMD Ryzen 9 5900X, 12(8)-cores, 24(16)-threads, 4.5/4.8GHz, 70.5MB(68,35MB) cache (T.S.M.C. 7nm FinFET) / Display: HP 24" L2445w (64Hz OC) 1920x1200 / GPU: MSI GeForce GTX 970 4GD5 OC "Afterburner" @1450MHz (T.S.M.C. 28nm) / GPU: ASUS Radeon RX 6600 XT DUAL OC RDNA2 32CUs @2.6GHz 10.6 TFLOPS (T.S.M.C. 7nm FinFET) R.ID (NimeZ drivers) / Keyboard: HP KB-0316 PS/2 (Nordic) / Motherboard: ASRock B450M Pro4, Socket-AM4 (SAM enabled) / Mouse: Razer Abyssus 2014 / PCI-E: ASRock USB 3.1/A+C (PCI Express x4) / PSU: EVGA SuperNOVA G2, 550W / RAM A1 & B1: G.SKILL DDR4-3600MHz CL18-20-21-39-60-1T "Samsung 8Gbit C-Die" (2x8GB) / RAM A2 & B2: HyperX DDR4-3600MHz CL16-18-19-37-85-1T "SK Hynix 8Gbit CJR" (2x16GB) / Operating System: Windows 10 Home / Sound 1: Zombee Z500 / Sound 2: Logitech Stereo Speakers S-150 / Storage 1 & 2: Samsung 850 EVO 500GB SSD / Storage 3: Western Digital My Passport 2.5" 2TB HDD / Storage 4: Western Digital Elements Desktop 2TB HDD / Storage 5: Kingston A2000 1TB M.2 NVME SSD / Wi-fi & Bluetooth: ASUS PCE-AC55BT Wireless Adapter (Intel)

 Lake-V-X6-10600 (Gaming PC)

R23 score MC: 9190pts | R23 score SC: 1302pts

R20 score MC: 3529cb | R20 score SC: 506cb

Spoiler

Case: Cooler Master HAF XB Evo Black / Case Fan(s) Front: Noctua NF-A14 ULN 140mm Premium Fans / Case Fan(s) Rear: Corsair Air Series AF120 Quiet Edition (red) / Case Fan(s) Side: Noctua NF-A6x25 FLX 60mm Premium Fan / Controller: Sony Dualshock 4 Wireless (DS4Windows) / Cooler: Cooler Master Hyper 212 Evo / CPU: Intel Core i5-10600(ASUS Performance Enhancement), 6-cores, 12-threads, 4.4/4.8GHz, 13,7MB cache (Intel 14nm++ FinFET) / Display: ASUS 24" LED VN247H (67Hz OC) 1920x1080p / GPU: Gigabyte Radeon RX Vega 56 Gaming OC GCN5 56CUs @1.7GHz 12.19 TFLOPS (Samsung 14nm FinFET) R.ID (NimeZ drivers) / Keyboard: Logitech Desktop K120 (Nordic) / Motherboard: ASUS PRIME B460 PLUS, Socket-LGA1200 (SAM enabled) / Mouse: Razer Abyssus 2014 / PCI-E: ASRock USB 3.1/A+C (PCI Express x4) / PSU: EVGA SuperNOVA G2, 850W / RAM A1 & B1: HyperX DDR4-2666MHz CL13-15-15-30-45-2T "Samsung 8Gbit C-Die" (2x8GB) / RAM A2 & B2: Juhor DDR4-3200MHz CL16-20-20-38-72-2T "SK Hynix 8Gbit MFR" (2x16GB) / Operating System: Windows 10 Home / Sound: Zombee Z300 / Storage 1 & 2: Samsung 850 EVO 500GB SSD / Storage 3: Seagate® Barracuda 2TB HDD / Storage 4: Seagate® Desktop 2TB SSHD / Storage 5: Crucial P1 1000GB M.2 SSD/ Storage 6: Western Digital WD7500BPKX 2.5" HDD / Wi-fi: TP-Link TL-WN851N 11n Wireless Adapter (Qualcomm Atheros)

Vishera-X8-9370 | R20 score MC: 1476cb

Spoiler

Case: Cooler Master HAF XB Evo Black / Case Fan(s) Front: Noctua NF-A14 ULN 140mm Premium Fans / Case Fan(s) Rear: Corsair Air Series AF120 Quiet Edition (red) / Case Fan(s) Side: Noctua NF-A6x25 FLX 60mm Premium Fan / Case Fan VRM: SUNON MagLev KDE1209PTV3 92mm / Controller: Sony Dualshock 4 Wireless (DS4Windows) / Cooler: Cooler Master Hyper 212 Evo / CPU: AMD FX-8370 (Base: @4.4GHz | Turbo: @4.7GHz) Black Edition Eight-Core (Global Foundries 32nm) / Display: ASUS 24" LED VN247H (67Hz OC) 1920x1080p / GPU: MSI GeForce GTX 970 4GD5 OC "Afterburner" @1450MHz (T.S.M.C. 28nm) / GPU: Gigabyte Radeon RX Vega 56 Gaming OC @1501MHz (Samsung 14nm FinFET) / Keyboard: Logitech Desktop K120 (Nordic) / Motherboard: MSI 970 GAMING, Socket-AM3+ / Mouse: Razer Abyssus 2014 / PCI-E: ASRock USB 3.1/A+C (PCI Express x4) / PSU: EVGA SuperNOVA G2, 850W PSU / RAM 1, 2, 3 & 4: Corsair Vengeance DDR3-1866MHz CL8-10-10-28-37-2T (4x4GB) 16.38GB / Operating System 1: Windows 10 Home / Sound: Zombee Z300 / Storage 1: Samsung 850 EVO 500GB SSD (x2) / Storage 2: Seagate® Barracuda 2TB HDD / Storage 3: Seagate® Desktop 2TB SSHD / Wi-fi: TP-Link TL-WN951N 11n Wireless Adapter

Godavari-X4-880K | R20 score MC: 810cb

Spoiler

Case: Medion Micro-ATX Case / Case Fan Front: SUNON MagLev PF70251VX-Q000-S99 70mm / Case Fan Rear: Fanner Tech(Shen Zhen)Co.,LTD. 80mm (Purple) / Controller: Sony Dualshock 4 Wireless (DS4Windows) / Cooler: AMD Near-silent 95w Thermal Solution / Cooler: AMD Near-silent 125w Thermal Solution / CPU: AMD Athlon X4 860K Black Edition Elite Quad-Core (T.S.M.C. 28nm) / CPU: AMD Athlon X4 880K Black Edition Elite Quad-Core (T.S.M.C. 28nm) / Display: HP 19" Flat Panel L1940 (75Hz) 1280x1024 / GPU: EVGA GeForce GTX 960 SuperSC 2GB (T.S.M.C. 28nm) / GPU: MSI GeForce GTX 970 4GD5 OC "Afterburner" @1450MHz (T.S.M.C. 28nm) / Keyboard: HP KB-0316 PS/2 (Nordic) / Motherboard: MSI A78M-E45 V2, Socket-FM2+ / Mouse: Razer Abyssus 2014 / PCI-E: ASRock USB 3.1/A+C (PCI Express x4) / PSU: EVGA SuperNOVA G2, 550W PSU / RAM 1, 2, 3 & 4: SK hynix DDR3-1866MHz CL9-10-11-27-40 (4x4GB) 16.38GB / Operating System 1: Ubuntu Gnome 16.04 LTS (Xenial Xerus) / Operating System 2: Windows 10 Home / Sound 1: Zombee Z500 / Sound 2: Logitech Stereo Speakers S-150 / Storage 1: Samsung 850 EVO 500GB SSD (x2) / Storage 2: Western Digital My Passport 2.5" 2TB HDD / Storage 3: Western Digital Elements Desktop 2TB HDD / Wi-fi: TP-Link TL-WN851N 11n Wireless Adapter

Acer Aspire 7738G custom (changed CPU, GPU & Storage)
Spoiler

CPU: Intel Core 2 Duo P8600, 2-cores, 2-threads, 2.4GHz, 3MB cache (Intel 45nm) / GPU: ATi Radeon HD 4570 515MB DDR2 (T.S.M.C. 55nm) / RAM: DDR2-1066MHz CL7-7-7-20-1T (2x2GB) / Operating System: Windows 10 Home / Storage: Crucial BX500 480GB 3D NAND SATA 2.5" SSD

Complete portable device SoC history:

Spoiler
Apple A4 - Apple iPod touch (4th generation)
Apple A5 - Apple iPod touch (5th generation)
Apple A9 - Apple iPhone 6s Plus
HiSilicon Kirin 810 (T.S.M.C. 7nm) - Huawei P40 Lite / Huawei nova 7i
Mediatek Dimensity 700 (T.S.M.C 7nm) - Cherry Mobile Aqua S10 Pro 5G
Mediatek MT2601 (T.S.M.C 28nm) - TicWatch E
Mediatek MT6580 (T.S.M.C 28nm) - TECNO Spark 2 (1GB RAM)
Mediatek MT6592M (T.S.M.C 28nm) - my|phone my32 (orange)
Mediatek MT6592M (T.S.M.C 28nm) - my|phone my32 (yellow)
Mediatek MT6735 (T.S.M.C 28nm) - HMD Nokia 3 Dual SIM
Mediatek MT6737 (T.S.M.C 28nm) - Cherry Mobile Flare S6
Mediatek MT6739 (T.S.M.C 28nm) - my|phone myX8 (blue)
Mediatek MT6739 (T.S.M.C 28nm) - my|phone myX8 (gold)
Mediatek MT6750 (T.S.M.C 28nm) - honor 6C Pro / honor V9 Play
Mediatek MT6765 (T.S.M.C 12nm) - TECNO Pouvoir 3 Plus
Mediatek MT6797D (T.S.M.C 20nm) - my|phone Brown Tab 1
Qualcomm MSM8926 (T.S.M.C. 28nm) - Microsoft Lumia 640 LTE
Qualcomm MSM8974AA (T.S.M.C. 28nm) - Blackberry Passport
Qualcomm SDM710 (Samsung 10nm) - Oppo Realme 3 Pro

 

Link to post
Share on other sites

I understand that, but I'm asking why does higher frequency ram have higher latency compared to lower frequency ram?

The reason is simple: Stability. In order, for the system to be stable, they must increase the latency when they increase the ram's frequency

Cpu:i5-4690k Gpu:r9 280x with some other things

Link to post
Share on other sites

 

It's honestly best not to even worry about it, given that it doesn't have any meaningful effect on performance.

Well, I want to know because I'm curious, not because I need to.

 

The reason is simple: Stability. In order, for the system to be stable, they must increase the latency when they increase the ram's frequency

That's what I though too until I thought about it. Wouldn't the speed increase of increasing the frequency be cancelled out by the latency increase? You can argue that the frequency increase more than the latency, but it just didn't make sense from an efficiency standpoint.

 

DDR4 4000 Master Race

Have fun with those spread sheets, I'll stick to games LOL.

Please keep this on topic. There's a PM function if you wanna argue over pointless things.

This is a signature.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×