TABLE OF CONTENTS
Although it’s arguably one of the most straightforward components to install, understanding what makes your RAM tick is a whole other ballgame.
Those innocent-looking sticks of memory are far more complex than they seem. So let’s try to simplify one aspect today, shall we?
Memory Latency.
We’ll go over what it means, how it could affect your workloads, and help you understand whether you should chase after those blazing-fast speeds or look for low latency memory kits.
RAM Speed vs. Latency
While memory speed (or data rate) addresses how fast your memory controller can access or write data to memory, RAM latency focuses on how soon it can start the process.
The former is measured in MT/s (Megatransfers per second) and the latter in nanoseconds.
Before we dive into calculating memory or RAM latency, there are a few terms you should know:
Latency
Simply put, latency is a delay.
This delay can be measured in nanoseconds (real-world time).
However, when it comes to digital electronics, we often use clock cycles because this way we get comparative numbers that aren’t dependent on frequency or data rate of a part.
Memory Timings
Unlike latency, memory timings (that sequence of numbers you see on your memory module) are measured in clock cycles.
So, each number in memory timings, like 16-19-19-39, indicates the number of clock ‘ticks’ or cycles it takes to complete a certain task.
Here’s a short overview of what those timings mean, from first to last (all measured in clock cycles).
To simplify things, imagine your memory space as a giant spreadsheet with rows and columns, where each cell can hold binary data (0 or 1).
- CAS Latency (tCL) – The first memory timing is something called Column Access Strobe (CAS) Latency. Although the term strobe is a bit antiquated today as it’s a vestige from the Asynchronous DRAM days, the term CAS is still used in the industry. CAS Latency of RAM indicates the number of cycles it takes to get a response from memory once the memory controller sends over a column it needs to access (think about that spreadsheet analogy I mentioned above). Unlike all other timings below, tCL is an exact number and not a maximum/minimum.
- Row Address to Column Address Delay (tRCD) – The second number denotes the minimum number of clock cycles it will take to open a row (again, on that giant spreadsheet) and access the required column. Remember, unlike tCL, tRCD isn’t an exact number but is the maximum delay.
- Row Precharge Time (tRP) – The third number in that 4-number sequence indicates the minimum clock cycle delay to access another row within the same selected column.
- Row Active Time (tRAS) – The last number in that memory timing sequence denotes the minimum number of clock cycles a row needs to remain open to access the data. This is usually the biggest delay.
Calculating RAM Latency or CAS Latency
Simply put, CAS Latency is the amount of time your memory takes to respond to a request from the memory controller. Here’s a chart that simplifies the process for you:
In this section, we’ll find out how to calculate your RAM latency.
Of course, you could also use a RAM Latency calculator if you want to skip the math.
However, because advertised CAS Latency is measured in clock cycles, we need to account for memory speed to get a real-world CAS latency in nanoseconds.
Here’s the formula that you use:
![CAS latency formula](png/word-image-54.png)
CAS latency formula
So, say we have a DDR4-3200 CL16 memory kit.
You get a latency in nanoseconds with (16*2000)/3200 = 10ns.
First Word Latency
Now, if you’re wondering – what about those other memory timings? Don’t those affect latency as well?
Yes, they do.
However, CAS Latency is still the most commonly used metric to compare memory latency because it more directly affects (immediately) how fast your RAM module responds to a request.
That said, some engineers do argue the benefits of relying instead on First Word latency when it comes to memory.
In simple terms, First Word Latency accounts for primary memory timing numbers along with the Burst Length to come up with a delay that in essence tells you how long it takes to read a word out from memory.
Low Latency RAM vs. High-Speed RAM?
What’s faster?
Consider the following three kits –
- 32GB (2×16) DDR4-3200 CL16
- 32GB (2×16) DDR4-3600 CL18
- 32GB (2×16) DDR4-4000 CL20
Which one do you think is the ‘fastest’?
Well, that’s where things become a bit complicated (or interesting, if you’re a weirdo like me).
For 3D Viewports and Active Workloads
We tested this out ourselves. And it turns out that the task itself is so severely bottlenecked by the IPC and clock speed of a single processor core, that it doesn’t matter what latency you pick as long as the memory data rate or timings don’t actively hamper the processor’s speed.
CPU: Ryzen 9 5950X | CGDirector Viewport Benchmark (10-run Average) |
---|---|
DDR4-3600 CL20 | 1230.75 |
DDR4-3600 CL16 | 1237.50 |
DDR4-2666 CL20 | 1230.88 |
So, as an example – with Ryzen CPUs, both looser timings and lower data rates affect the performance of the CPU itself (even single core).
However, this opens up an interesting discussion.
Should you grab a cheaper DDR4-2666 CL20 kit (or a DDR4-2666 CL16 kit) instead of a slightly pricier DDR4-3600 CL20 kit if you’re going to end up with similar performance?
I’d say no. You’ll see better performance with a faster memory kit for any task that places an active load squarely on the CPU, spread across multiple cores.
One example of this is scrolling across quickly across a Premiere Pro timeline with compressed source footage.
For CPU/GPU Rendering Workloads
Short answer – doesn’t matter too much. If these are your main workloads, we recommend prioritizing system stability rather than chasing marginal gains.
Frequently Asked Questions (FAQ)
What does the CL mean in RAM Memory?
CL means “CAS Latency”. The CAS Latency of RAM indicates the number of cycles it takes to get a response from memory once the memory controller sends over a column it needs to access.
Is Mixing RAM with Different Latency, a Bad Idea?
Yes. As we’ve covered here, mixing memory, in general, isn’t ideal. This holds true even if your memory timings are different.
As for what behavior to expect, there are two possibilities:
- if you’re lucky, the memory modules can be tuned to work at the slower memory’s timings.
- if unlucky, you might not see stability until you dial back your memory overclock all the way back to JEDEC specifications, which are usually much slower.
How to Check my RAM’s CAS Latency?
You can find your current memory latency in no time!
First, download CPU-Z from the official CPUID website.
Once you install and run CPU-Z, you should see a screen like this one (the hardware and specs will be yours instead, of course) –
Head on over to the ‘Memory’ tab you see here, and you should see a list featuring your memory frequency (NOT datarate) as well as your memory timings like CAS Latency.
What is SPD in CPU-Z?
If you’re a curious kitty, you’ll have seen a tab called ‘SPD’ in your CPU-Z window and wondered what it was.
SPD, or Serial Presence Detect, is a standardized EEPROM (Electrically Erasable Programmable Read Only Memory) that offers a way for your system to access memory specifications.
So, when your system ‘POSTs’ (Power-On-Self-Test), it accesses memory specifications using the information stored here. During this step, it’ll instantly know what JEDEC specifications are set for your memory, in addition to a few other things. What’s more, it’ll also see any XMP profiles that have been loaded to your memory as you can see in the screenshot above. Your BIOS can then offer a ‘one-click’ way to set specifications to this XMP profile by reading off it.
Keep in mind, these aren’t your current memory settings. This tab only lists what it reads from your memory modules.
Over to You
So, what memory did you end up picking for your workstation? Do tell us in the comments down below or our forum and let us know how your experience has been working on the machine!
9 Comments
27 November, 2023
Hi! I use 2x 8GB SODIMM 2666MHz CAS 17 on my Lenovo Thinkpad E490. I’d like to upgrade to 2x 16GB SODIMM 2666MHz. Then I’ve heard about CAS Latency. I can’t find out my computer’s motherboard specs to know if I can use lower CAS memory modules. Can I use lower latencies memory modules, for example CAS 14 ou 15?
27 November, 2023
Yes, the motherboard doesn’t usually dictate the latency range, the RAM modules, do. So they should work just fine. You can usually also increase the CL to, e.g., 17 manually in the BIOS if it won’t work, but I’m pretty sure it will.
Alex
9 April, 2023
Does Cl needs to be higher or lower number?
10 April, 2023
Lower is better because it’s a measure of latency/delay 🙂
Cheers!
Jerry
11 April, 2023
The lower the better! 🙂
29 November, 2022
Hi Mr James.
Im still confused on “First Word Latency”
Is a higher number better or worse?
29 November, 2022
Hey Nick,
Lower latencies are better 🙂 So, a higher number would be worse.
Cheers!
Jerry
19 July, 2022
Hello Jerry,
I have a Gateway laptop, model GWTN156-2BK with 256GB SSD installed and 8GB of a single rank ram. I want to upgrade my laptop for better performance since I casually play games in it, and I also want more storage (about 1TB). Which ram would you recommend me? I have looked at Crucial but a lot of people reported their products to be bad and slow. Timetec seems like a good option but the CL for the ram is 22. I looked at the WD SN550 but don’t really know. Any advice, suggestion, or recommendations? I appreciate it.
28 July, 2022
Hey Ismael,
Are you looking to change your RAM or the SSD?
If RAM, you can probably grab any 3200 CL16 laptop RAM (here’s an example: https://www.crucial.in/memory/ddr4/bl2k16g32c16s4b).
Cheers!
Jerry