Inferensys

Glossary

High Bandwidth Memory (HBM)

High Bandwidth Memory (HBM) is a type of stacked memory technology where DRAM dies are vertically integrated with a GPU or CPU using through-silicon vias (TSVs), offering extremely high bandwidth and improved energy efficiency compared to traditional GDDR memory.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
GPU MEMORY OPTIMIZATION

What is High Bandwidth Memory (HBM)?

High Bandwidth Memory (HBM) is a foundational technology for accelerating modern AI workloads by providing the extreme data throughput required for large-scale parallel computation.

High Bandwidth Memory (HBM) is a type of stacked memory technology where multiple DRAM dies are vertically integrated with a processor, such as a GPU or CPU, using through-silicon vias (TSVs) and a silicon interposer. This 3D-stacked architecture provides a massively wide memory bus—up to 1024-bit or 2048-bit per stack—delivering bandwidth an order of magnitude higher than traditional GDDR memory while consuming significantly less power per gigabyte transferred. It is the standard memory for high-performance AI accelerators and data center GPUs.

The primary engineering advantage of HBM is its proximity to the processor die via the interposer, drastically reducing interconnect length and enabling the high bus width. This directly reduces inference latency and increases throughput for memory-bound operations common in large language models. HBM stacks are managed as a memory hierarchy tier alongside on-chip caches and system memory. Its high bandwidth is critical for feeding the parallel compute units in modern GPUs, making it essential for model serving architectures and inference performance benchmarking where data movement is often the bottleneck.

GPU MEMORY OPTIMIZATION

Key Architectural Features of HBM

High Bandwidth Memory (HBM) is a 3D-stacked DRAM architecture designed for extreme bandwidth and energy efficiency, fundamentally distinct from traditional GDDR memory. Its core features address the memory wall challenge in high-performance computing and AI.

01

3D Stacking with TSVs

The defining feature of HBM is its 3D-stacked architecture. Multiple DRAM dies are vertically stacked and connected using Through-Silicon Vias (TSVs)—microscopic vertical conduits that pass through the silicon. This creates an extremely dense, short-path interconnect between memory layers.

  • Key Benefit: Drastically reduces the physical distance signals must travel compared to planar GDDR layouts on a PCB.
  • Result: Enables much higher data transfer rates at significantly lower power per bit.
02

Wide-I/O Interface

HBM employs an exceptionally wide parallel bus—typically 1024 bits per stack—compared to the 32-bit wide interface of a GDDR6 memory chip. This width is the primary driver of its massive bandwidth.

  • Mechanism: Bandwidth = Interface Width × Clock Speed. HBM trades high clock speeds (~1-2 GHz) for extreme width.
  • Comparison: A single HBM3 stack with a 1024-bit bus at 1 GHz provides ~1 TB/s of bandwidth. Achieving this with GDDR6 would require prohibitively high, power-inefficient clock speeds.
  • Implication: The wide interface requires advanced 2.5D packaging (like a silicon interposer) to route the thousands of connections to the GPU die.
03

2.5D Packaging & Interposer

HBM cannot be connected via a traditional motherboard PCB due to its ultra-wide bus. It requires 2.5D packaging using a silicon interposer.

  • Interposer: A passive silicon slab that sits between the GPU compute die and the HBM stacks. It contains dense, high-speed wiring traces.
  • Function: The GPU and HBM stacks are placed side-by-side on the interposer and connected via microbumps. The interposer routes the thousands of signals between them over very short distances (<1 mm).
  • Benefit: Enables the necessary signal integrity for the wide, high-speed HBM interface. This co-packaging is a key differentiator from socketed GDDR memory.
04

Pseudo-Channel Architecture

To improve granularity and efficiency, each HBM physical channel is subdivided into two independent pseudo-channels.

  • Structure: A 1024-bit HBM3 interface is typically organized as 16 independent channels, each 64 bits wide. Each of these is split into two 32-bit pseudo-channels.
  • Advantage: Allows two memory controllers to operate on different banks within the same DRAM stack simultaneously, improving concurrency and reducing latency for smaller, non-sequential memory requests common in GPU workloads.
  • Use Case: Essential for efficiently serving the highly parallel, random-access patterns of AI inference and training.
05

Energy Efficiency (pJ/bit)

HBM is designed for superior energy efficiency per bit transferred, measured in picojoules per bit (pJ/bit).

  • Primary Drivers:
    • Lower Voltage: HBM operates at lower voltages (~1.2V) compared to GDDR6 (~1.35V).
    • Short Interconnects: TSVs and the interposer minimize capacitive loading and signal power.
    • Moderate Clock Speeds: The wide interface reduces the need for power-hungry, ultra-high clock speeds.
  • Impact: This efficiency is critical for data center GPUs where power consumption directly translates to operational cost and thermal design limits. HBM can deliver more bandwidth within a strict power envelope.
06

Memory Controller & Bank Groups

The HBM interface is managed by a sophisticated memory controller on the GPU die, designed to exploit HBM's internal bank group architecture.

  • Bank Groups: HBM DRAM dies are organized into multiple bank groups that can be accessed independently. Operations to different bank groups can be pipelined.
  • Controller Role: It schedules requests to maximize bank-level parallelism and minimize row activation (RAS) delays. It manages the pseudo-channels and handles command/address routing.
  • Optimization: Effective use of bank groups hides the inherent latency of DRAM access, allowing the extremely high bandwidth of the physical interface to be realized in practice for real workloads.
GPU MEMORY OPTIMIZATION

How HBM Works: A Technical Breakdown

High Bandwidth Memory (HBM) is a 3D-stacked DRAM architecture that vertically integrates memory dies with a GPU or CPU via a silicon interposer, delivering extreme bandwidth and superior power efficiency for AI and high-performance computing workloads.

HBM's architecture fundamentally differs from traditional GDDR memory. Multiple DRAM dies are stacked using Through-Silicon Vias (TSVs), creating a compact 3D structure. This stack is connected to the processor via a silicon interposer, a dense substrate that provides thousands of ultra-short, high-speed data paths. The wide interface—1024-bit or 2048-bit per stack—enables massive parallel data transfer at relatively low clock speeds, reducing power consumption and thermal load compared to the narrow, high-frequency interfaces of GDDR.

The processor accesses HBM through a memory controller partitioned into independent channels, each managing a portion of the wide bus. Data moves through the TSVs from the stacked dies to the interposer and directly into the processor's I/O cells. This vertical integration minimizes physical distance, drastically cutting latency and enabling bandwidth exceeding 1 TB/s in modern configurations. For systems engineers, HBM's efficiency directly translates to higher compute utilization by saturating the GPU's cores with data, making it a cornerstone for inference optimization and reducing latency in memory-bound AI models.

GPU MEMORY ARCHITECTURES

HBM vs. GDDR: A Performance Comparison

A technical comparison of High Bandwidth Memory (HBM) and Graphics Double Data Rate (GDDR) memory, focusing on architectural differences and performance characteristics critical for inference optimization and latency reduction.

Feature / MetricHigh Bandwidth Memory (HBM)Graphics DDR (GDDR6/GDDR6X)Notes / Context

Core Architecture

3D-stacked DRAM with through-silicon vias (TSVs)

Discrete DRAM chips on PCB

HBM uses a silicon interposer for dense vertical integration.

Interface & Bus Width

Wide (1024-bit to 4096-bit per stack)

Narrow (32-bit to 64-bit per chip)

HBM's extreme width compensates for lower clock speeds.

Typical Bandwidth (Per Stack/Chip)

1 TB/s (e.g., HBM3e)

~ 1 TB/s (aggregated for multi-chip module)

HBM provides higher bandwidth density per mm² of silicon.

Operating Voltage

~1.2V

~1.35V

HBM's lower voltage contributes to superior energy efficiency.

Power Efficiency (Bandwidth per Watt)

High

Moderate

Critical for data center TCO and thermal design.

Physical Footprint (Form Factor)

2.5D/3D integration on interposer, small footprint

Surrounds GPU die on substrate, larger area

HBM enables more compact accelerator designs.

Latency (First Access)

Comparable to GDDR

Comparable to HBM

Primary advantage is bandwidth, not latency reduction.

Primary Use Case

High-performance computing, AI training/inference servers

Consumer graphics, gaming, entry-level AI workstations

HBM targets bandwidth-bound, compute-intensive workloads.

Cost per GB

High

Lower

HBM's complex packaging increases cost.

Maximum Capacity per Stack/Module

Up to 24GB (HBM3e)

Up to 16GB per GDDR6 chip (aggregated higher)

Capacity is increasing with each HBM generation.

Standard Managed By

JEDEC

JEDEC

Both are standardized by JEDEC.

GPU MEMORY OPTIMIZATION

HBM in AI and Machine Learning

High Bandwidth Memory (HBM) is a stacked memory architecture that provides the extreme data throughput required for modern AI accelerators. This glossary breaks down its core components, performance characteristics, and role in the inference optimization stack.

01

Core Architecture: Stacked DRAM & TSVs

HBM's defining feature is its 3D-stacked architecture. Multiple DRAM dies are vertically stacked on top of a base logic die containing the memory controller. They are interconnected using Through-Silicon Vias (TSVs)—microscopic vertical conduits that pass through the silicon layers. This stacking provides several key advantages:

  • Extremely Wide Buses: HBM uses an interface that is 1024 bits wide per stack (compared to 32 or 64 bits for GDDR). Multiple stacks can be used in parallel.
  • Reduced Physical Footprint: The vertical integration saves significant space on the processor package compared to planar GDDR memory chips arranged around the GPU.
  • Shorter Interconnects: The proximity of the memory stack to the GPU logic die reduces signal path length, lowering power consumption and enabling higher speeds.
02

Performance Metrics: Bandwidth vs. Latency

HBM is engineered for maximum bandwidth, which is the primary bottleneck for large neural network inference and training. Key performance differentiators include:

  • Bandwidth: Current HBM3e implementations deliver over 1.2 TB/s per package. This is 3-5x higher than the best GDDR6X memory.
  • Latency: While HBM provides exceptional bandwidth, its access latency (the time to fetch the first bit of data) is generally higher than GDDR due to its more complex, multi-banked architecture. However, the massive bandwidth often outweighs this for AI workloads characterized by large, sequential data transfers.
  • Power Efficiency: HBM operates at a lower voltage (typically ~1.2V) and achieves higher bandwidth-per-watt than GDDR, a critical factor for dense server deployments.
03

The HBM Stack: From HBM1 to HBM3e

HBM has evolved through several generations, each increasing density, speed, and efficiency:

  • HBM1: The first generation, introduced with AMD's Fiji GPU. Offered up to 4 Hi (stack heights) and 128 GB/s per stack.
  • HBM2: Became the standard for AI accelerators (e.g., NVIDIA V100, AMD MI50). Increased bandwidth to ~256 GB/s per stack and supported up to 8 Hi for higher capacity.
  • HBM2e: An enhanced version with faster data rates, used in NVIDIA A100 and AMD MI100 GPUs.
  • HBM3: Doubled the per-pin data rate and introduced features like on-die ECC. Used in NVIDIA H100 GPUs.
  • HBM3e: The current leading-edge standard, pushing bandwidth beyond 1.2 TB/s per device and featured in NVIDIA's Blackwell B200 GPUs.
04

Role in AI Inference & Training

HBM is not just fast memory; it's an enabling technology for modern AI models. Its high bandwidth directly addresses the "memory wall" problem:

  • Training: Efficiently feeds the colossal parameter sets (e.g., 175B+ parameters in GPT-3) and massive batch data into the GPU's compute cores during backpropagation.
  • Inference: For large language models (LLMs), the KV Cache for the transformer's attention mechanism can consume 10s of GBs. HBM's bandwidth allows for rapid fetching of these cached keys and values, which is critical for low-latency token generation.
  • Mixture of Experts (MoE): In sparse models like MoE, HBM bandwidth is crucial for rapidly loading the weights of the activated experts into the GPU's SRAM or caches.
05

Integration & Packaging: CoWoS and Silicon Interposer

HBM cannot be connected via traditional motherboard traces. It requires advanced 2.5D packaging.

  • Silicon Interposer: A passive silicon layer placed between the GPU die and the HBM stacks. It contains ultra-dense wiring that connects the GPU's memory controller PHYs to the HBM stacks with minimal distance and loss.
  • CoWoS (Chip-on-Wafer-on-Substrate): NVIDIA's and TSMC's primary packaging technology for HBM integration. The GPU and HBM stacks are first placed on a silicon interposer wafer (Chip-on-Wafer), which is then bonded to a package substrate (on-Substrate). This creates a single, integrated module.
  • This tight integration makes HBM a fixed component of the GPU package, unlike socketed GDDR memory.
06

Related Concepts in the Memory Hierarchy

HBM exists within a broader memory hierarchy. Optimizing AI workloads requires understanding its interaction with other tiers:

  • On-Chip SRAM/Cache: GPU L1/L2 cache. Data must move from HBM into these faster, smaller caches for computation. HBM bandwidth determines how quickly this can happen.
  • Unified Virtual Memory (UVM): Allows the GPU to access CPU system memory (DDR) as a slower, larger backing store. HBM acts as the high-performance tier in this unified space.
  • NVLink: While HBM feeds a single GPU, NVLink provides high-bandwidth connectivity between GPUs, allowing them to pool their HBM resources for giant model training.
  • Memory Tiering: In advanced systems, hot data resides in HBM, warm data in DDR memory, and cold data may be paged to storage via GPU Direct Storage (GDS).
HIGH BANDWIDTH MEMORY (HBM)

Frequently Asked Questions

High Bandwidth Memory (HBM) is a critical technology for accelerating AI inference by providing the massive data throughput required by modern GPUs and AI accelerators. These FAQs address its architecture, performance, and role in optimizing machine learning workloads.

High Bandwidth Memory (HBM) is a type of stacked DRAM architecture where multiple memory dies are vertically integrated with a GPU or CPU using Through-Silicon Vias (TSVs) and a silicon interposer. This 3D stacking creates an ultra-wide communication bus—typically 1024 bits or more per stack—between the processor and memory. Unlike traditional GDDR memory, which uses a narrower, high-clock-speed interface on a printed circuit board (PCB), HBM's wide, low-power interface provides dramatically higher bandwidth in a smaller physical footprint. The memory controller on the processor die communicates directly with the HBM stacks via the interposer, which provides thousands of dense, short interconnects, minimizing signal latency and power consumption. This architecture is fundamental for feeding data-hungry AI and high-performance computing (HPC) workloads.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.