4.3 High-Bandwidth Memory (HBM) & Memory Reliability
Key Takeaways
- High-Bandwidth Memory (HBM) achieves multi-terabyte-per-second throughput by vertically stacking DRAM dies using Through-Silicon Vias (TSVs) and mounting them onto a Silicon Interposer adjacent to the GPU logic die.
- HBM employs an ultra-wide memory interface (e.g., 4,096 to 8,192 bits) operating at moderate clock frequencies, significantly reducing energy per bit (pJ/bit) compared to narrow, high-frequency planar GDDR6 and DDR5 buses.
- Memory bandwidth has scaled rapidly across data center GPU generations: 900 GB/s (HBM2 on V100), 2.0 TB/s (HBM2e on A100), 3.35 TB/s (HBM3 on H100 SXM5), and up to 8.0 TB/s (HBM3e on Blackwell B200).
- Hardware Error-Correcting Code (ECC) protects GPU SRAM caches and HBM DRAM: Single-Bit Errors (SBE) are corrected inline without application interruption, while Double-Bit Errors (DBE) trigger immediate kernel termination to prevent Silent Data Corruption (SDC).
- Proactive GPU memory health management combines Dynamic Page Retirement (DPR) to isolate faulty physical pages with hardware Row Remapping to dynamically swap failing DRAM rows with spare redundant rows during initialization.
4.3 High-Bandwidth Memory (HBM) & Memory Reliability
Memory Subsystem Impact: Deep learning workloads—especially Large Language Model (LLM) autoregressive decoding and multi-billion-parameter training—are frequently memory bandwidth bound. When generating tokens, every single forward pass requires streaming hundreds of gigabytes of model weights from GPU memory into the Streaming Multiprocessors. To prevent massive compute starvation, enterprise GPUs utilize High-Bandwidth Memory (HBM) packaged directly alongside the compute silicon, coupled with enterprise-grade ECC reliability and self-healing subsystems.
1. HBM Physical Microarchitecture & 2.5D Packaging
Traditional system memory (DDR4/DDR5) and graphics memory (GDDR6/GDDR6X) utilize planar PCB routing, where discrete memory chips are soldered to a printed circuit board around the processor socket and connected via long copper traces (50–100 mm). This introduces substantial parasitic capacitance, high latency, signal attenuation, and high energy consumption ($10–20+$ pJ/bit).
In contrast, High-Bandwidth Memory (HBM) utilizes 2.5D and 3D advanced packaging (such as TSMC CoWoS — Chip-on-Wafer-on-Substrate):
┌─────────────────────────────────────────────────────────────────────────────┐
│ 2.5D ADVANCED PACKAGING (TSMC CoWoS) │
│ │
│ ┌──────────────┐ ┌─────────────────────────┐ ┌──────────────┐ │
│ │ HBM3e STACK │ │ NVIDIA GPU ASIC │ │ HBM3e STACK │ │
│ │ ┌──────────┐ │ │ (Hopper / Blackwell) │ │ ┌──────────┐ │ │
│ │ │ DRAM 8 │ │ │ │ │ │ DRAM 8 │ │ │
│ │ ├──────────┤ │ │ │ │ ├──────────┤ │ │
│ │ │ DRAM 4 │ │ TSVs │ Streaming │ TSVs │ │ DRAM 4 │ │ │
│ │ ├──────────┤ │ │ │ Multiprocessors │ │ │ ├──────────┤ │ │
│ │ │ DRAM 1 │ │ │ │ & Tensor Cores │ │ │ │ DRAM 1 │ │ │
│ │ ├──────────┤ │ │ │ │ │ │ ├──────────┤ │ │
│ │ │Logic Base│ │ │ │ │ │ │ │Logic Base│ │ │
│ └─┴────┬─────┴─┘ ▼ └────────────┬────────────┘ ▼ └─┴────┬─────┴─┘ │
│ │ Micro-Bumps │ Micro-Bumps │ │
│ ═══════════╪═══════════════════════════╪══════════════════════════╪════════ │
│ │ HIGH-DENSITY PASSIVE SILICON INTERPOSER │ │
│ └─────────────── Sub-Micron Metal Traces ──────────────┘ │
│ ─────────────────────────────────────────────────────────────────────────── │
│ ORGANIC PACKAGE SUBSTRATE │
│ ═══════════════════════════════════════════════════════════════════════════ │
│ BGA SOLDER BALLS │
└─────────────────────────────────────────────────────────────────────────────┘
Key Architectural Elements of HBM
- 3D Vertical DRAM Stacking:
- Multiple DRAM dies (typically 4, 8, or 12 dies per stack) are vertically stacked on top of a specialized base logic controller die.
- Vertical connections are established via thousands of microscopic Through-Silicon Vias (TSVs) etched directly through the silicon dies, terminated with microscopic solder micro-bumps.
- High-Density Silicon Interposer:
- The GPU compute die and multiple HBM stacks are mounted side-by-side on a shared passive silicon interposer.
- The interposer contains microscopic, sub-micron copper wires that span only a few millimeters, drastically reducing trace resistance and parasitic capacitance.
- Ultra-Wide Memory Bus vs. Planar GDDR/DDR:
- GDDR6 operates over narrow 32-bit channels at extreme clock frequencies (16–20 Gbps pin speeds), consuming significant power to drive signals across PCB traces.
- HBM operates over an ultra-wide 1,024-bit interface per stack. A GPU with 4 to 8 HBM stacks achieves an aggregate memory bus width of 4,096 to 8,192 bits, running at lower pin speeds while delivering vastly higher aggregate bandwidth.
- Energy Efficiency:
- HBM consumes approximately 3–5 pJ/bit of data transferred, compared to 10–15 pJ/bit for GDDR6 and 20–30 pJ/bit for standard DDR5.
2. Generational Memory Bandwidth & Capacity Scaling
To keep pace with the exponential growth in deep learning model parameter counts and token generation demands, NVIDIA GPU memory subsystems have evolved across successive data center architectures:
MEMORY BANDWIDTH GENERATIONAL SCALING
Volta V100 (HBM2) ──► 900 GB/s (32 GB Capacity)
Ampere A100 (HBM2e) ──► 2.04 TB/s (80 GB Capacity)
Hopper H100 (HBM3) ──► 3.35 TB/s (80 GB Capacity)
Hopper H200 (HBM3e) ──► 4.80 TB/s (141 GB Capacity)
Blackwell B200(HBM3e) ──► 8.00 TB/s (192 GB Capacity)
Generational Specifications Comparison
| GPU Model | Microarchitecture | Memory Standard | Capacity per GPU | Bus Width | Memory Clock / Pin Rate | Peak Memory Bandwidth |
|---|---|---|---|---|---|---|
| V100 SXM2 | Volta (2017) | HBM2 | 16 GB / 32 GB | 4,096 bits (4 stacks) | 1.75 Gbps | 900 GB/s |
| A100 SXM4 | Ampere (2020) | HBM2e | 40 GB / 80 GB | 5,120 bits (5 stacks active) | 3.2 Gbps | 1,555 / 2,039 GB/s (2.04 TB/s) |
| H100 SXM5 | Hopper (2022) | HBM3 | 80 GB | 5,120 bits (5 stacks active) | 5.2 Gbps | 3,350 GB/s (3.35 TB/s) |
| H200 SXM5 | Hopper (2024) | HBM3e | 141 GB | 6,144 bits (6 stacks active) | 6.25 Gbps | 4,800 GB/s (4.8 TB/s) |
| B200 SXM | Blackwell (2024) | HBM3e | 192 GB | 8,192 bits (8 stacks active) | 8.0 Gbps | 8,000 GB/s (8.0 TB/s) |
| GB200 NVL72 | Blackwell (2024) | HBM3e | 13.5 TB across 72 GPUs (13,824 GB) | 8,192 bits per GPU | 8.0 Gbps | 576 TB/s Aggregate |
3. Enterprise Memory Reliability: Error Taxonomy & ECC Protection
In enterprise AI clusters containing thousands of GPUs running distributed training jobs for weeks or months continuously, memory errors are inevitable due to thermal stress, silicon aging, and cosmic radiation (alpha particles and atmospheric neutrons).
To safeguard data integrity, NVIDIA data center GPUs implement hardware Error-Correcting Code (ECC) based on Single Error Correction, Double Error Detection (SEC-DED) algorithms across all internal SRAM caches (L1, L2, Register Files) and external DRAM (HBM stacks).
MEMORY ERROR TAXONOMY
Physical Bit Event
│
┌───────────────┴───────────────┐
▼ ▼
Single-Bit Error (SBE) Double-Bit Error (DBE)
[Soft Bit Flip] [Uncorrectable Multi-Bit]
│ │
▼ ▼
Corrected Inline by ECC Hardware Cannot Restore Bits
Zero Application Impact Immediate Kernel Termination
│ │
▼ ▼
Telemetry Logged via NVML XID Error Generated (XID 48/63/95)
Tracked for Page Retirement Prevents Silent Data Corruption (SDC)
Single-Bit Errors (SBE) vs. Double-Bit Errors (DBE)
| Parameter | Single-Bit Error (SBE) | Double-Bit Error (DBE) / Multi-Bit Error |
|---|---|---|
| Bit Fault Nature | A single bit within an ECC codeword flips from $0 \to 1$ or $1 \to 0$. | Two or more bits within the same codeword flip simultaneously. |
| ECC Handling | Corrected inline in hardware via SEC-DED syndrome parity decoding. | Detected but uncorrectable; the syndrome identifies that corruption occurred but cannot deterministically reconstruct original bits. |
| Workload Impact | Zero application interruption; execution proceeds seamlessly with zero latency penalty. | Immediate process/kernel termination; GPU enters an error state to prevent invalid data propagation. |
| Data Integrity Risk | None. Data is restored to perfect mathematical fidelity. | Critical. Allowing execution to continue would cause Silent Data Corruption (SDC), permanently corrupting model weights. |
| Telemetry Counters | Increments volatile_sbe and aggregate_sbe counters in NVML/DCGM. | Triggers high-priority hardware interrupts; logs XID 48, XID 63, or XID 95 events. |
| Mitigation Action | Monitored; triggers Dynamic Page Retirement (DPR) if a single memory page accumulates excessive SBEs. | The current training job fails and must be resumed from the latest saved training checkpoint. |
4. Enterprise Self-Healing: Dynamic Page Retirement & Row Remapping
To prevent transient bit errors from degrading cluster availability, NVIDIA GPUs incorporate two autonomous memory protection and self-healing mechanisms:
┌─────────────────────────────────────────────────────────────────────────────┐
│ GPU MEMORY SELF-HEALING ARCHITECTURE │
│ │
│ [ Telemetry Monitoring: DCGM / NVML ] │
│ │ │
│ ├──────────────────────────────┬────────────────────────────────┐ │
│ ▼ ▼ ▼ │
│ [ SBE on Memory Page ] [ Persistent SBEs / DBE ] [ DRAM Row Degradation ]
│ │ │ │ │
│ ▼ ▼ ▼ │
│ Corrected Inline Dynamic Page Retirement (DPR) Hardware Row Remapping
│ (Zero Interruption) Isolates 4KB/64KB Page Swaps Failing DRAM Row
│ from Allocator Pool with Redundant Spare
│ (Preserves GPU Operation) (Restores 100% Health)
└─────────────────────────────────────────────────────────────────────────────┘
1. Dynamic Page Retirement (DPR)
- Mechanism: When a specific physical memory page (e.g., 4 KB or 64 KB) experiences a Double-Bit Error or accumulates multiple Single-Bit Errors exceeding internal threshold limits, the NVIDIA display driver and memory management unit dynamically mark the page as retired.
- Operational Lifecycle:
- Pending Retirement: The page is isolated so that no new memory allocations are placed in that physical page while the current application continues running.
- Retired on Reset: Upon the next GPU reset, driver reload, or system reboot, the page is permanently added to the hardware Retired Pages Table stored in the GPU's non-volatile on-board EEPROM.
- Verification Commands:
# Query retired page counts across all GPUs nvidia-smi --query-gpu=gpu_name,retired_pages.sbe,retired_pages.dbe,retired_pages.pending --format=csv # View detailed retired page memory addresses nvidia-smi -q -d PAGE_RETIREMENT
2. Hardware Row Remapping
Introduced in modern enterprise architectures (Ampere A100, Hopper H100, Blackwell B200), Row Remapping is a hardware-level self-healing mechanism built into the HBM DRAM memory controller:
- Spare Physical Rows: HBM memory banks are manufactured with redundant, spare physical DRAM rows reserved exclusively for hardware repair.
- Autonomous Re-allocation: When the memory controller detects recurring bit instability or a localized cell failure within a DRAM row, it logs a pending row remap request in non-volatile flash.
- Execution: During GPU initialization or driver reset, the hardware memory controller autonomously remaps the logical address of the failing row to one of the redundant spare physical rows.
- Operational Advantage: Unlike Page Retirement (which reduces total usable GPU memory capacity by blacklisting pages), Row Remapping restores 100% of the GPU's original memory capacity and resets the error rate to zero without requiring physical RMA replacement of the GPU module.
- Monitoring Commands:
# Inspect hardware row remapper status and spare row capacity nvidia-smi -q -d ROW_REMAPPER # Output format highlights: # - Remapping Status: Correctable / Uncorrectable Remap Pending # - Remapped Rows: Due to SBEs / Due to DBEs # - Bank Remapping Availability: Histogram of remaining spare rows
How does High-Bandwidth Memory (HBM) achieve multi-terabyte-per-second memory bandwidth while maintaining superior energy efficiency compared to planar GDDR6 memory?
When a Double-Bit Error (DBE) occurs in GPU HBM memory during a distributed deep learning training job, why does the GPU driver immediately terminate the executing kernel rather than continuing execution?
What key operational advantage does Hardware Row Remapping offer over Dynamic Page Retirement (DPR) when addressing persistent DRAM cell faults in modern enterprise GPUs?