EMZETT.
Login

DDR memory: from DDR to DDR5

In short: DDR (double data rate) is the design of today’s main memory modules. Each generation (DDR, DDR2, DDR3, DDR4, DDR5) is faster and more frugal but not compatible with the others.

In more detail: The name describes that data is transferred per clock cycle on the rising and falling edge of the clock signal, i.e. twice as much as with a single edge. Each new generation raises the data rate, lowers the voltage and extends the architecture.

In Depth

DDRDDR2DDR3DDR4DDR5
Year20002003200720142020
Voltage2.5 V1.8 V1.5 V (1.35 V LV)1.2 V1.1 V
Data rate (MT/s)200 – 400400 – 1066800 – 21331600 – 3200+4800 – 8000+
Prefetch2n4n8n8n16n
Modules184 pin240 pin240 pin288 pin288 pin
Typical size/moduleup to 1 GBup to 4 GBup to 16 GBup to 64 GBup to 128 GB
Special–More frugal than DDRHigher densityBank groups, lower voltageVoltage regulator on module, two sub-channels, on-die ECC

Comparison along the aspects of the task:

  • Speed: Per generation the data rate roughly doubles. DDR3-1600 delivers 12.8 GB/s, DDR4-3200 25.6 GB/s, DDR5-6400 51.2 GB/s per module. Latency in nanoseconds stays similar; the higher number in cycles (CL) is offset by a higher clock.
  • Voltage: Drops from 1.5 V (DDR3) to 1.2 V (DDR4) and 1.1 V (DDR5). Less voltage means less waste heat and power, important for notebooks and servers.
  • Architecture: DDR4 introduces bank groups. DDR5 splits each module into two independent 32-bit channels, has its own voltage regulator (PMIC) on the module (instead of on the motherboard) and integrated error correction (on-die ECC) that catches instability at high data rates. Burst length rises to 16.

Further terms:

  • Data rate (MT/s) versus clock (MHz): DDR4-3200 runs at a real clock of 1600 MHz but transfers 3200 million transfers per second. The label “PC4-25600” gives MB/s.
  • Timings: CL16-18-18-38 gives wait cycles. Lower is better, only when compared at the same clock.
  • XMP/EXPO: Overclocking profiles stored by the manufacturer that you enable in the UEFI.
  • Dual channel: Two modules in parallel double the bandwidth.
  • Compatibility: Modules are protected against wrong insertion by different notches. DDR4 does not fit DDR5 boards.
  • Mobile variants: SO-DIMM (notebook), LPDDR (soldered, very frugal).
  • Graphics memory: GDDR is related but tuned for bandwidth instead of latency.

See also: RAM, RAM, [[rom-(festwertspeicher)|ROM and non-volatile storage]], How CPU, memory and motherboard interact