6.5.4Advanced & Emerging Architectures

High Bandwidth Memory (HBM - HBM2 - HBM3)

2,091 words10 min readdifficulty · medium4 backlinks

WHY does HBM exist?

Bandwidth for any memory interface is fundamentally:

WHY does "wide + slow" win on power? Dynamic power in a wire scales roughly as PCV2fP \propto C V^2 f. Short on-package wires have tiny capacitance CC and can use a small voltage swing VV, and low ff. So HBM moves a lot of data per joule.


WHAT is HBM physically?

Figure — High Bandwidth Memory (HBM - HBM2 - HBM3)

HOW to compute a stack's bandwidth (derivation)

Take HBM2:

  • Bus width per stack N=1024N = 1024 bits.
  • Per-pin data rate f=2.0 Gbpsf = 2.0\ \text{Gbps} (this is the effective rate; the physical clock is 1 GHz DDR = double data rate).

BWstack=N×f8=1024×2.0×1098 B/s=256 GB/s\text{BW}_{\text{stack}} = \frac{N \times f}{8} = \frac{1024 \times 2.0\times10^{9}}{8}\ \text{B/s} = 256\ \text{GB/s}

Why this step? 1024×2.0G=2.048 Tbit/s1024 \times 2.0\text{G} = 2.048\text{ Tbit/s}; divide by 8 → 256 GB/s per stack. A 4-stack GPU → ~1 TB/s. That is the headline number.


Worked examples


Common mistakes (steel-manned)


Active recall

Recall Test yourself (hide answers)
  • What two knobs set bandwidth, and which does HBM push? → NN (width) and ff (rate); HBM pushes width.
  • What connects dies vertically inside a stack? → TSVs.
  • Why 2.5D not 3D-on-GPU? → Thermal: GPU heat would damage stacked DRAM.
  • HBM2 per-stack bandwidth? → 256 GB/s (1024 × 2 Gbps / 8).
  • Why is HBM energy-efficient? → Short, low-swing, low-frequency wires → tiny CV2fCV^2f.
What is the fundamental bandwidth formula for a memory interface?
BW = N × f / 8, where N = number of data wires, f = per-pin transfer rate (bytes = bits/8).
Which parameter does HBM maximize to get bandwidth — width or per-pin speed?
Width (N ≈ 1024 bits/stack); per-pin speed is deliberately kept low.
What are TSVs?
Through-Silicon Vias — vertical copper interconnects drilled through a die to connect stacked DRAM dies.
What is a silicon interposer and what integration is it called?
A passive silicon carrier holding thousands of fine wires between stack(s) and processor; enables 2.5D integration.
Why is HBM 2.5D rather than true 3D on the GPU?
The GPU's heat would damage the stacked DRAM; side-by-side placement solves thermal + process-mismatch issues.
Compute HBM2 per-stack bandwidth.
1024 bits × 2.0 Gbps / 8 = 256 GB/s.
How does HBM3 keep a 1024-bit bus while doubling channels?
16 channels × 64-bit = 1024 data bits (vs HBM2's 8 × 128-bit).
Why is HBM more energy-efficient per bit than GDDR?
Short on-package wires → low capacitance C, small voltage swing V, low frequency f, so P ∝ CV²f is small.
What does "8-Hi" mean in HBM?
A stack of 8 DRAM dies (Hi = height/number of stacked dies).
Approx bandwidth of an HBM3E 4-stack system at 9.6 Gbps?
~1.23 TB/s/stack × 4 ≈ 4.9 TB/s.
Recall Feynman: explain to a 12-year-old

Imagine you must move a mountain of water. GDDR is like one super-fast fire hose — powerful but it whips around, gets hot, and wastes water. HBM is like opening a thousand garden taps side by side, right next to the bucket. Each tap is gentle, but together they fill the bucket way faster and don't overheat. HBM stacks the "taps" (memory chips) in a tower and sits them next to the brain (the chip) on a tiny glass tray so the water barely has to travel.


Connections

  • GDDR Memory — the "narrow + fast" alternative HBM competes with.
  • Memory Wall — the root problem HBM addresses.
  • Through-Silicon Vias (TSV) — the vertical interconnect technology.
  • 2.5D and 3D Integration — packaging paradigms.
  • Silicon Interposer — the carrier enabling thousands of wires.
  • GPU Architecture — primary HBM consumer (AI accelerators, HPC).
  • Energy per Bit / pJ per bit — the efficiency metric HBM optimizes.
  • DDR vs GDDR vs HBM — comparison of memory families.

Concept Map

bottleneck is

BW = N x f / 8

choose big f small N

choose small f huge N

high V high f

P scales C V squared f

built from

sits on

side by side placement

1024-bit x 2 Gbps

4 stacks

Memory wall problem

Bandwidth bytes/sec

Bandwidth formula

GDDR high freq

HBM wide slow bus

High power

Low power per bit

DRAM stack via TSVs

Silicon interposer

2.5D integration

HBM2 = 256 GB/s per stack

~1 TB/s GPU

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, problem yeh hai ki modern GPU aur AI accelerators ka compute bahut tez badh gaya hai, par memory se data laane ki speed (bandwidth) peeche reh gayi — isko "memory wall" bolte hain. HBM isko solve karta hai ek simple insight se: bandwidth ka formula hai BW = N × f / 8, jahan N = kitne wires aur f = har wire ki speed. GDDR wala approach kehta hai "kam wire, bahut tez chalao", jisse power aur heat dono badh jaate hain. HBM ulta karta hai — "bahut saare wire (1024 bits per stack), par har wire slow aur low-voltage" chalao. Result: same ya zyada bandwidth, magar bahut kam power.

Physically HBM ka trick yeh hai ki DRAM chips ko ek doosre ke upar stack kar dete hain, aur unko vertically jodte hain TSVs (Through-Silicon Vias) se — matlab silicon ke through drilled copper pillars. Yeh poora stack GPU ke bagal mein ek silicon interposer par baithta hai, jise 2.5D integration kehte hain. GPU ke upar seedha nahi rakhte kyunki GPU garam hota hai aur DRAM jal jaayega — isliye side-by-side.

Har generation mein zyada kuch nahi badalta: bas per-pin speed f badhti jaati hai aur zyada dies stack hote hain (8-Hi, 12-Hi). HBM2 = 256 GB/s per stack, HBM3 = ~819 GB/s per stack, HBM3E ~1.2 TB/s. Chaar stacks laga do to poore accelerator ki bandwidth terabytes/second mein pahunch jaati hai. Yaad rakhne ka mantra: Wide, Short, Stacked — chaudi bus, chhote wire, upar stack kiye hue chips. Yehi HBM ki poori kahani hai.

Go deeper — visual, from zero

Test yourself — Advanced & Emerging Architectures

Connections