Summary: DRAM (e.g. DDR5 SDRAM) is a computer’s main working memory — volatile, capacitor-based storage positioned between CPU cache and persistent disk in the memory hierarchy, packaged as DIMMs that connect to the CPU via an integrated memory controller.

What the acronyms mean

DDR5 SDRAM stands for Double Data Rate Synchronous Dynamic Random Access Memory

TermMeaning
Double Data RateTransfers data on both rising and falling clock edges — 2× throughput for same clock frequency
SynchronousOperation is locked to the system clock
DynamicCapacitors leak charge — cells must be periodically refreshed to retain data (see dram-read-write-refresh)
Random AccessAny cell is addressable in any order (contrast: sequential tape or spinning-disk HDD)

Memory hierarchy

LevelTypical capacityTypical latencyTechnology
Registers~1 KB< 1 nsOn-die flip-flops
L1–L3 Cache0.5–64 MB1–40 nsOn-die SRAM (no refresh needed)
DRAM16–128 GB~17 nsOff-die DRAM (this page)
NVMe SSD1–4 TB~50 µsNAND flash
HDD1–20 TB~5 msMagnetic disk

DRAM sits between fast, small, expensive on-die SRAM cache and slow, large, cheap persistent storage. Programs and files are copied from SSD into DRAM before the CPU processes them — loading bars correspond to SSD → DRAM transfers, a ~3,000× latency gap.

Physical packaging

Hierarchy (DDR5, single-rank 16 GB DIMM, ×8 chips):

  • DIMM — Dual Inline Memory Module, 288-pin PCB; the physical memory stick.
  • It has two memory sub-channels
    • Sub-channel A — Four ×8 chips presenting a 32-bit data bus (each chip has one 2GB die)
    • Sub-channel B — Four ×8 chips presenting a 32-bit data bus (each chip has one 2GB die)
  • Total: 8 chips × 2 GB = 16 GB per DIMM

Chip designation (×N notation): ×N means N data output pins per chip. Four ×8 chips wired in parallel give the 32-bit sub-channel data bus. ×4 chips would require 8 chips per sub-channel.

Memory sub-channel architecture

DDR5 sub-channels

Each DDR5 DIMM is split into two independent sub-channels (A and B), each presenting its own 32-bit data (DQ) bus and its own dedicated Command/Access (CA) bus.

Since the sub-channels are fully independent, the memory controller (CPU) can issue different commands down each CA bus simultaneously — for example, a READ on sub-channel A while sub-channel B handles a WRITE.

Per sub-channel signals:

Signal groupSignal/Pin NameCountPurpose
Data (see below img)DQ32 / 401Bidirectional; 8 bits per chip × 4 chips per sub-channel
Command/AddressCA142Time-multiplexed:
- carries bank + row address (RAS phase)
- then column address (CAS phase) on the same pins
Chip SelectCS1–2Selects which rank responds
Differential clockCK2Differential pair; data is transferred on both rising and falling edges

Parallelism: Each sub-channel has its own CA bus

Each sub-channel has a dedicated CA[13:0] bus connecting it to the CPU’s integrated memory controller (IMC). This means two CA buses per DIMM, allowing the controller to issue different commands to sub-channel A and B (e.g. READ on A, while WRITE on B) in the same clock cycle — this is parallelism, not multiplexing.

Time-multiplexing of each CA bus

The CA bus is time-multiplexed — both phases reuse the same physical pins, so the physical pin count is far smaller than the logical address width.

Command and address multiplexing

In DDR5, the CA bus now carries both the command opcode (e.g. ACT, PRE, READ, WRITE…) and the 31-bit logical address across two phases:

ECC DIMMs: Each sub-channel carries 40 bits instead of 32 — the extra 8 bits carry system-level ECC syndrome bytes computed across the DIMM. This is separate from on-die ECC inside each chip (see dram-memory-cell).

Both phases reuse the same physical pins, so physical pin count is far smaller than the logical address width. Note, the exact pin count may differ ( review 14 vs 21 CA pins, I’m confused re: DDR4 vs DDR5).

DDR4 comparison

DDR4 had a single CA bus shared across all chips on the DIMM, and no sub-channel split. All chips responded to the same command stream, limiting command-level parallelism.

Sub-channel and CA bus are not the same thing

The sub-channel is the data path split, the CA bus is the command delivery mechanism. DDR5 gives each sub-channel its own CA bus as a consequence of making them independent, but they’re describing different aspects:

Sub-channelCA bus
DescribesData pathCommand path
Width32-bit DQ14-bit CA
Count per DDR5 DIMM22 (one per sub-channel)

Each DDR5 DIMM has two independent sub-channels (A and B), each with its own Command/Address (CA) bus. This is a major change from DDR4, which had a single shared CA bus controlling all chips on the DIMM.

Power management

DDR5 moves voltage regulation onto the DIMM itself via an on-board PMIC (Power Management IC):

  • Input: 12 V (RDIMMs / server) or 5 V (UDIMMs / desktop) from the motherboard
  • Output: regulated 1.1 V for all DRAM chips (down from DDR4’s 1.2 V)
  • Four step-down switching regulators on the PMIC provide multiple regulated rails
  • Reduces motherboard power-delivery complexity; improves per-DIMM efficiency

DDR5 specifications

MetricDDR4 (reference)DDR5 range
Supply voltage (Vcc)1.2 V1.1 V
Transfer rate2,133–3,200 MT/s4,000–8,800 MT/s
Clock frequency1,067–1,600 MHz2,000–4,400 MHz
Peak bandwidth (per DIMM)25.6 GB/s32.0–70.4 GB/s
Max DIMM capacity64 GB512 GB
Banks16 (4 groups × 4 banks)32 (8 groups × 4 banks)
Burst lengthBL8BL16, optionally BC8
On-die ECCOptionalMandatory
Voltage regulationOn motherboardOn DIMM (PMIC)
Sub-channels per DIMM1 × 64-bit2 × 32-bit (independent)

See also

Revisit

Footnotes

  1. non-ECC / ECC

  2. TBC: Should this be 21?