Ez Computerहिन्दीOpen app

Deep Dive 1 — RAM Evolution

Free chapter Part K: Deep Dive · Chapter 39 · 12 min read · 20 practice questions

After this chapter you will be able to

  • trace RAM from FPM and EDO to DDR5 and name the main change in each step
  • explain MT/s, CL, bus width and bandwidth with simple calculations
  • explain why dual channel and ECC matter
  • match LPDDR, GDDR and HBM to the devices they serve
  • read a RAM label such as DDR5-5600 line by line
RAM Evolution Old DRAM FPM and EDO Asynchronous, no clock Both now obsolete SDRAM Follows system clock 1 transfer per clock Mainstream late 1990s DDR family 2 transfers per clock Voltage 2.5 V → 1.1 V DDR5 is current Special memory LPDDR: phones, laptops GDDR: graphics cards HBM: stacked, for AI Speed numbers MT/s = transfers/s Bandwidth = MT/s × 8 CL counts clock cycles Channels and ECC Dual: 2× bandwidth ECC fixes 1-bit errors ECC module: 72 bits Module types DIMM: desktop SO-DIMM: laptop RDIMM: server Reading a label MT/s ÷ 2 = clock Check generation, form Board speed limit
Chapter 39 at a glance Remember the chain: DDR = 2 transfers per clock → MT/s → bandwidth = MT/s × 8 bytes.

39.1 Why RAM Keeps Changing

RAM is the working memory of the computer (see Chapter 6). Every new generation tries to do three things better: move more data per second, answer a request sooner, and use less power. Processors became much faster over the years, so memory designers had to keep feeding them data quickly enough to stop the CPU from waiting.

39.2 Before DDR: FPM and EDO

Early DRAM was asynchronous. It had no clock of its own, so the memory controller waited for fixed timing signals before each step.

Type Full form Main idea Period (mainstream) Status
FPM Fast Page Mode DRAM Keeps one row open, so nearby reads in the same row are quicker Early 1990s Obsolete
EDO Extended Data Out DRAM Keeps the data output valid while the next address is being set up, so the next read starts sooner Mid-1990s Obsolete

⚠ COMMON CONFUSION - FPM and EDO are asynchronous (no shared clock). SDRAM and every DDR type are synchronous (they follow the system clock).

39.3 SDRAM: Memory That Follows the Clock

SDRAM (Synchronous DRAM) accepts commands on the edges of the system clock. The controller knows exactly when data will arrive, so it can plan requests in advance. SDRAM became the mainstream PC memory in the late 1990s.

Worked example: 133 MHz × 1 transfer per cycle × 8 bytes = 1,064 MB/s (about 1 GB/s) of peak bandwidth.

39.4 The DDR Family: DDR to DDR5

Clock SDRAM 1 transfer per clock DDR 2 transfers per clock Each blue dot = one data transfer
SDRAM and DDR: transfers per clock SDRAM moves data once per clock. DDR moves it on both the rising and falling edges, so it makes two transfers.
Volts step down, speed steps up 2.5 V DDR 1.8 V DDR2 1.5 V DDR3 1.2 V DDR4 1.1 V DDR5 Speed rises Each generation: lower volts, higher speed
Each DDR step: lower volts, higher speed Remember the staircase: the bars shrink (voltage falls from 2.5 V to 1.1 V) while the arrow rises (speed grows).

DDR means Double Data Rate. DDR memory transfers data on both the rising and falling edges of the clock, so it makes two transfers per clock cycle.

DDR also uses prefetch: on each read, the chip fetches several bits per data pin from the memory array at once, then sends them out fast. A larger prefetch allowed higher speeds without raising the internal clock too much.

Generation Mainstream from (approx.) Voltage (typical) Prefetch (bits per pin) Typical transfer rate (MT/s) Module name range Status
DDR (DDR1) About 2000 2.5 V 2 200–400 PC-1600 to PC-3200 Obsolete
DDR2 About 2004 1.8 V 4 400–800 PC2-3200 to PC2-6400 Obsolete
DDR3 About 2007 1.5 V (1.35 V in DDR3L) 8 800–2133 PC3-6400 to PC3-17000 Obsolete
DDR4 About 2014 1.2 V 8 2133–3200 (faster kits exist) PC4-17000 to PC4-25600 Older platforms
DDR5 Standard in 2020; mainstream from about 2021 1.1 V 16 4800–6400 (faster kits exist) PC5-38400 to PC5-51200 Current

★ EXAM POINT - SDRAM does 1 transfer per clock. DDR does 2 transfers per clock. DDR5 is the current generation (standard in 2020).

39.5 Specialised Memory: LPDDR, GDDR and HBM

Type Full form Designed for Key trait
LPDDR Low-Power DDR Phones, tablets, thin laptops Very low power; often soldered to the board, not a removable stick
GDDR Graphics DDR Graphics cards Very high bandwidth from a wide bus; uses more power
HBM High Bandwidth Memory AI accelerators and high-end graphics Several memory dies stacked together, linked by a very wide 1024-bit interface and placed very close to the processor

GDDR5, GDDR6 and GDDR7 are successive generations of graphics memory.

Worked example (HBM): an HBM2-class stack runs at about 2,000 Mb/s per pin.

⚠ COMMON CONFUSION - VRAM is a role (memory used by the graphics processor), not one chip type. VRAM can be GDDR or HBM. Integrated graphics have no separate VRAM and share the normal system RAM.

39.6 Reading the Numbers: Transfer Rate, Bandwidth and Latency

Bandwidth = MT/s × 8 bytes DDR4-3200 1 channel 25.6 GB/s DDR4-3200 Dual channel 51.2 GB/s DDR5-5600 1 channel 44.8 GB/s DDR5-5600 Dual channel 89.6 GB/s Example: DDR5-5600 → 5600 × 8 = 44,800 MB/s = 44.8 GB/s
Working out bandwidth Bandwidth = transfers per second × 8 bytes. Dual channel doubles it; capacity does not change.

Transfer rate (MT/s)

Bandwidth

Bandwidth = transfers per second × bus width in bytes. A standard module has a 64-bit (8-byte) data path.

Configuration Calculation Bandwidth
DDR4-3200, one channel 3,200 × 8 = 25,600 MB/s 25.6 GB/s
DDR4-3200, dual channel 2 × 25.6 GB/s 51.2 GB/s
DDR5-5600, one channel 5,600 × 8 = 44,800 MB/s 44.8 GB/s
DDR5-5600, dual channel 2 × 44.8 GB/s 89.6 GB/s

Units: speed figures use 1 GB = 1000 MB, as memory makers and the PC module names do. Capacity uses 1 GB = 1024 MB.

CL (CAS Latency)

CL is the number of clock cycles between asking for a column of data and getting it. Because it is counted in cycles, its real time depends on the clock speed:

Time (ns) = CL × 2000 ÷ MT/s

Module CL Clock (MHz) One cycle (ns) CL time (ns)
DDR4-3200 CL16 16 1600 0.625 16 × 0.625 = 10.0
DDR5-6000 CL30 30 3000 0.333 30 × 0.333 = 10.0
DDR5-5600 CL36 36 2800 0.357 36 × 0.357 = 12.9

Check with the formula: DDR5-5600 CL36 gives 36 × 2000 ÷ 5600 = 72,000 ÷ 5,600 = 12.86 ns.

Lesson: DDR4-3200 CL16 and DDR5-6000 CL30 have the same CL time (10 ns), but DDR5-6000 has 48 GB/s of bandwidth against 25.6 GB/s. A higher CL number is not automatically worse. CL is also only one part of total memory timing, so treat this as a simplified view.

★ EXAM POINT - Bandwidth = transfer rate × bus width. A 64-bit module has 8 bytes per transfer. CL is measured in clock cycles, not in seconds.

39.7 Channels, ECC and Module Types

Channels

ECC

ECC (Error-Correcting Code) stores extra check bits with the data.

⚠ COMMON CONFUSION - DDR5 chips have on-die ECC, which fixes errors inside the chip. It is not reported to the system, so it is not the same as full ECC on a server module.

Module types

Module Full form Used in Note
DIMM Dual In-line Memory Module Desktops Standard full-size module
SO-DIMM Small Outline DIMM Laptops, mini PCs Smaller module
RDIMM Registered DIMM Servers A register chip buffers address and command signals, allowing more modules per channel
ECC DIMM — Workstations, servers 72-bit path with error correction

39.8 How to Read a RAM Label

Label on the RAM stick What it means 16 GB Capacity of one module DDR5-5600 Generation · 5600 MT/s CL36 36 cycles = 12.9 ns 1.1 V Operating voltage PC5-44800 Peak bandwidth: 44.8 GB/s 2Rx8 2 ranks, each of x8 chips Check: MT/s ÷ 2 = clock · MT/s × 8 = bandwidth
Reading a RAM label Read the label one item at a time. DDR5-5600 is the generation and speed; PC5-44800 is the bandwidth in MB/s.

Labels differ by maker, but most show the same items. Take the example label 16 GB · DDR5-5600 · CL36 · 1.1 V · PC5-44800 · 2Rx8.

Label item Meaning Value in this example
16 GB Capacity of one module 16 GB
DDR5 Generation (must match your board) DDR5
5600 Transfer rate in MT/s (labels may say MHz) Clock = 5600 ÷ 2 = 2800 MHz
CL36 Latency in clock cycles 36 × 2000 ÷ 5600 = 12.9 ns
1.1 V Operating voltage Normal for DDR5
PC5-44800 Peak bandwidth per module, in MB/s 5600 × 8 = 44,800 MB/s (44.8 GB/s)
2Rx8 2 ranks, each built from x8 chips See the check below

Check on 2Rx8: a rank is a group of chips that answer together to fill the 64-bit path. Each rank has 8 chips of 8 bits. If each chip holds 8 Gb (1 GB), then one rank = 8 × 1 GB = 8 GB, and two ranks = 2 × 8 GB = 16 GB. The label and the capacity agree.

Step-by-step method:

  1. Read the generation (DDR4 and DDR5 are not interchangeable).
  2. Divide the MT/s by 2 to get the clock.
  3. Multiply the MT/s by 8 to get bandwidth. Check that it matches the PC number.
  4. Work out CL ÷ clock to get the latency in ns.
  5. Check the form factor (DIMM or SO-DIMM) and ECC or non-ECC for your machine.

📌 MUST KNOW - Before buying or upgrading RAM, check the generation, the form factor and the maximum speed your board supports. A faster module runs at the board’s limit, not above it.

⚠ COMMON CONFUSION - “3200 MHz” on a label means 3200 MT/s. The real clock is 1600 MHz, because DDR transfers twice per clock.

Chapter Quick Revision

  1. RAM progress is mainly about the interface: clocking, transfer method and prefetch.
  2. FPM and EDO are asynchronous DRAM types of the 1990s; both are obsolete.
  3. SDRAM follows the system clock and moves one transfer per clock.
  4. DDR (Double Data Rate) makes two transfers per clock cycle.
  5. DDR voltages fell from 2.5 V (DDR1) to 1.1 V (DDR5).
  6. DDR prefetch grew from 2 bits (DDR1) to 16 bits (DDR5).
  7. DDR5 is the current generation; its standard was published in 2020.
  8. DDR4 and DDR5 modules do not fit each other’s slots.
  9. MT/s is the transfer rate; for DDR, clock (MHz) = MT/s ÷ 2.
  10. Bandwidth = MT/s × bus width in bytes; a 64-bit module has 8 bytes.
  11. DDR5-5600 gives 44.8 GB/s per channel (5600 × 8 = 44,800 MB/s).
  12. From DDR onward, PC-style names give bandwidth in MB/s: PC5-44800 = DDR5-5600.
  13. CL is counted in clock cycles; time in ns = CL × 2000 ÷ MT/s.
  14. DDR4-3200 CL16 and DDR5-6000 CL30 both give 10 ns CL time.
  15. Dual channel doubles bandwidth, not capacity.
  16. ECC corrects single-bit errors and detects double-bit errors.
  17. An ECC module has 72 bits: 64 data plus 8 check bits.
  18. SO-DIMM is the laptop form; DIMM is the desktop form.
  19. LPDDR serves phones and thin laptops; it is designed for low power.
  20. GDDR serves graphics cards; HBM is stacked memory with a 1024-bit interface.
  21. VRAM is a role (graphics memory), and it can be GDDR or HBM.
  22. An HBM2-class stack at 2,000 Mb/s per pin gives 256 GB/s.
  23. In “2Rx8”, 2 is the number of ranks and x8 is the chip width.
  24. Capacity of a label = ranks × chips per rank × chip size.
  25. Always check generation, form factor and board speed limit before buying RAM.

Most Important Terms

SDRAM · DDR · Transfer rate · MT/s · Clock · Prefetch · Bandwidth · Bus width · CL (CAS latency) · PC rating · Dual channel · Channel · ECC · Parity · DIMM · SO-DIMM · RDIMM · LPDDR · GDDR · HBM · VRAM · Rank · PMIC · FPM · EDO

Common Confusions

Rapid Recall

⚡ QUICK FACT - “DDR” means the data is sent on both the rising and falling edge of the clock.