RAM: what really changes between DDR3, DDR4 and DDR5

Published on 2026-09-12 by frfrand

Frequency, latency, and bandwidth explained without marketing. Why more megahertz doesn't always mean faster, and why on a server quantity almost always wins.

RAM: what really changes between DDR3, DDR4 and DDR5

Short answer: Between DDR3, DDR4 and DDR5, bandwidth (more transfers per second), capacity per module and efficiency increased significantly, but actual latency barely changed: it hovers around 10 to 15 nanoseconds. To calculate it, multiply the CL by 2000 and divide by the frequency figure (DDR4-3200 CL16 gives 10 ns). In a server, having enough memory matters much more than the generation.

Memory specifications are full of numbers that seem comparable but are not. It is worth sorting them out, because the conclusion for a server is quite different from what marketing suggests.

The two numbers that appear

Frequency (DDR4-3200, DDR5-6000). Indicates how many transfers per second it performs. Higher frequency, more bandwidth: more data per second.

CL latency (CL16, CL30). How many clock cycles it waits before delivering the first data. Lower is better.

And here is the detail that marketing omits: both rise together. Faster memory usually has a higher CL, because the cycles are shorter.

The calculation that clarifies it

Actual latency in nanoseconds is calculated as follows: CL multiplied by 2000, divided by the frequency figure (transfers per second, in millions). In other words: CL divided by the actual clock, which is half of that figure, multiplied by 1000.

  • DDR4-3200 CL16 → 10 nanoseconds
  • DDR5-6000 CL30 → 10 nanoseconds

Practically the same. And if you do the math for typical DDR3, it also comes close.

The uncomfortable conclusion: over three generations, bandwidth multiplied and real latency barely changed. Each generation delivers more data per second, but the first piece of data takes more or less the same time as it has for fifteen years.

That is a physical limitation, not an oversight: it has to do with how memory cells work.

What really improved

Not everything is marketing; there were real advances:

Bandwidth. For workloads that move a lot of data continuously (processing images, analysis, virtualization with many machines) this is noticeable.

Capacity per module. DDR5 allows much larger modules, which is what makes servers with enormous amounts of memory possible.

Energy efficiency. Less voltage per generation. In a data center, that is money.

Error correction on the module. DDR5 incorporates basic internal correction. It does not replace server ECC memory, which also protects the path to the processor, but it is a real reliability improvement.

Why it matters little on a server

Here is the practical part.

The difference between DDR4 and DDR5 in a typical web application is a few percentage points. The difference between having enough memory and not having it is orders of magnitude.

When a server runs out of memory, two things happen, both bad:

  • Start using swap. Latency jumps from nanoseconds to milliseconds. It is a million times slower. The application does not crash: it drags, which is often worse because it is harder to diagnose.
  • Disk cache is lost. Linux uses free memory to cache files. Without it, every read goes back to disk.

And if it is truly lacking, the system chooses a process and kills it.

How to check it

free -h

The column to look at is available, not "free". "Free" being low is normal and desirable: Linux uses leftover memory as cache and frees it when someone needs it.

If "available" is low and swap is growing, there is a real problem.

vmstat 1

The "si" and "so" columns show swap activity. If there is constant activity there, your server needs more memory, not faster memory.

The short rule for sizing a server: first enough memory, then everything else.

RAM: what really changes between DDR3, DDR4 and DDR5

What matters about RAM when contracting a VPS

Although DDR3, DDR4, and DDR5 have technical differences, on a VPS you normally do not choose the physical memory module directly. At ArduMaker, when creating the VPS, each location reports the generation and speed of the memory of its machines and a measured memory index; still, what weighs most is the amount of RAM of the plan, the behavior of the application, and the consumption metrics.

For example, a server with PostgreSQL, Redis, and an API needs margin for processes, system cache, and spikes during deployment. At ArduMaker it is convenient to size the VPS by observing real usage: the VPS status shows RAM over time and consumption by process. If the OOM Killer terminates processes, first identify what consumes memory and if there is a leak, before automatically upgrading the plan.

Frequently asked questions

Is DDR5 faster than DDR4? In bandwidth, yes. In real latency, almost the same: DDR4-3200 CL16 and DDR5-6000 CL30 are around 10 nanoseconds.

How is RAM latency calculated in nanoseconds? CL × 2000 ÷ the frequency figure. For example, DDR5-6000 CL30: 30 × 2000 ÷ 6000 = 10 ns.

Which column do I look at in free -h? available. That free is low is normal: Linux uses leftover memory as cache.

When does a server run out of memory? When available is low and vmstat shows constant activity in si and so (swap).

Related: What is a Linux process · How to measure server workload.

  • RAM
  • DDR4
  • DDR5
  • hardware
  • rendimiento

Keep reading

All articles · VPS plans