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
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.
- The basic memory cell (one transistor and one capacitor) has barely changed. Most progress is in the interface: how the chip is clocked, how data is sent, and how much is moved at once.
- Voltage has fallen with each DDR generation, which saves power and heat.
- Speed is judged by transfer rate and bandwidth. Capacity only tells how much RAM there is.
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.
- SDRAM moves one transfer per clock cycle.
- For SDRAM, the module name is the clock in MHz. PC133 is a 133 MHz SDRAM module on a 64-bit bus.
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
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 |
- The notch position on the module differs between generations, so a DDR4 module cannot physically fit a DDR5 slot.
- DDR5 added a power management chip (PMIC) on each module, and splits each module into two independent 32-bit sub-channels.
- Going up the DDR ladder: speed rises, voltage falls, prefetch grows.
★ 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.
- Bits per second = 1024 bits × 2,000 Mb/s = 2,048,000 Mb/s
- Bytes per second = 2,048,000 ÷ 8 = 256,000 MB/s = 256 GB/s per stack
- Compare: dual-channel DDR4-3200 gives 51.2 GB/s (Section 39.6), so one stack is about 5 times faster.
⚠ 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
Transfer rate (MT/s)
- MT/s = mega-transfers per second. Many labels write this as “MHz”, which is a common loose usage.
- For DDR, clock (MHz) = MT/s ÷ 2.
- DDR5-5600 means 5,600 million transfers per second, on a clock of 2,800 MHz.
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.
- Bandwidth matters for large streams of data (video, game textures).
- Latency matters for many small, scattered reads.
★ 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
- A memory channel is a separate data path between the memory controller and the RAM. It is 64 bits wide per module in DDR4 and earlier; on DDR5 each module splits into two 32-bit sub-channels.
- Dual channel means two channels work together, so the total path is 128 bits wide. Bandwidth doubles.
- Dual channel doubles bandwidth, not capacity. For best results, use two identical modules in the slots recommended by the board maker.
- Server and workstation platforms can use more channels.
ECC
ECC (Error-Correcting Code) stores extra check bits with the data.
- Standard ECC corrects 1-bit errors and detects 2-bit errors in each word.
- An ECC module has 72 bits (64 data + 8 check bits). Overhead = 8 ÷ 64 = 12.5%.
- Servers and workstations use ECC, because a silent data error can be costly. Most consumer PCs use non-ECC modules.
- Older parity memory could only detect a 1-bit error, not correct it.
⚠ 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
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:
- Read the generation (DDR4 and DDR5 are not interchangeable).
- Divide the MT/s by 2 to get the clock.
- Multiply the MT/s by 8 to get bandwidth. Check that it matches the PC number.
- Work out CL ÷ clock to get the latency in ns.
- 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
- RAM progress is mainly about the interface: clocking, transfer method and prefetch.
- FPM and EDO are asynchronous DRAM types of the 1990s; both are obsolete.
- SDRAM follows the system clock and moves one transfer per clock.
- DDR (Double Data Rate) makes two transfers per clock cycle.
- DDR voltages fell from 2.5 V (DDR1) to 1.1 V (DDR5).
- DDR prefetch grew from 2 bits (DDR1) to 16 bits (DDR5).
- DDR5 is the current generation; its standard was published in 2020.
- DDR4 and DDR5 modules do not fit each other’s slots.
- MT/s is the transfer rate; for DDR, clock (MHz) = MT/s ÷ 2.
- Bandwidth = MT/s × bus width in bytes; a 64-bit module has 8 bytes.
- DDR5-5600 gives 44.8 GB/s per channel (5600 × 8 = 44,800 MB/s).
- From DDR onward, PC-style names give bandwidth in MB/s: PC5-44800 = DDR5-5600.
- CL is counted in clock cycles; time in ns = CL × 2000 ÷ MT/s.
- DDR4-3200 CL16 and DDR5-6000 CL30 both give 10 ns CL time.
- Dual channel doubles bandwidth, not capacity.
- ECC corrects single-bit errors and detects double-bit errors.
- An ECC module has 72 bits: 64 data plus 8 check bits.
- SO-DIMM is the laptop form; DIMM is the desktop form.
- LPDDR serves phones and thin laptops; it is designed for low power.
- GDDR serves graphics cards; HBM is stacked memory with a 1024-bit interface.
- VRAM is a role (graphics memory), and it can be GDDR or HBM.
- An HBM2-class stack at 2,000 Mb/s per pin gives 256 GB/s.
- In “2Rx8”, 2 is the number of ranks and x8 is the chip width.
- Capacity of a label = ranks × chips per rank × chip size.
- 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
- FPM/EDO vs SDRAM - asynchronous (no clock) vs synchronous (follows the clock).
- MT/s vs MHz - transfers per second vs clock cycles per second; DDR has two transfers per clock.
- Bandwidth vs latency - how much data moves per second vs how long the first item takes.
- Capacity vs speed - GB says how much; MT/s says how fast.
- Dual channel vs dual capacity - dual channel doubles speed of the data path; it does not double GB.
- ECC vs non-ECC - ECC corrects single-bit errors; non-ECC corrects nothing.
- GDDR vs LPDDR vs HBM - graphics cards vs phones and thin laptops vs stacked high-end chips.
- VRAM vs RAM - VRAM is memory for graphics; it can be a separate chip type or shared system RAM.
Rapid Recall
- Q. Full form of EDO RAM? — A. Extended Data Out.
- Q. Which RAM type follows the system clock? — A. SDRAM.
- Q. How many transfers per clock does DDR make? — A. Two.
- Q. Current DDR generation? — A. DDR5.
- Q. Voltage of DDR5? — A. 1.1 V.
- Q. Bus width of a standard memory module in bits? — A. 64.
- Q. Bandwidth of DDR5-5600 per channel in GB/s? — A. 44.8.
- Q. Bandwidth of dual-channel DDR4-3200 in GB/s? — A. 51.2.
- Q. Clock of DDR5-5600 in MHz? — A. 2800.
- Q. Module name for DDR5-5600? — A. PC5-44800.
- Q. CL time of DDR4-3200 CL16 in ns? — A. 10.
- Q. Error-correcting memory type used in servers? — A. ECC.
- Q. Data bits (excluding check bits) in a 72-bit ECC module? — A. 64.
- Q. Memory type for phones and thin laptops? — A. LPDDR.
- Q. Memory type for graphics cards? — A. GDDR.
- Q. Stacked high-bandwidth memory type? — A. HBM.
- Q. Laptop memory module form? — A. SO-DIMM.
- Q. What does dual channel double? — A. Bandwidth.
- Q. Unit of CL? — A. Clock cycles.
- Q. Transfer rate of DDR5-6000 in MT/s? — A. 6000.
⚡ QUICK FACT - “DDR” means the data is sent on both the rising and falling edge of the clock.