Lesson 12 Β· Chips & LLMs

HBM & SK Hynix

The memory bottleneck behind every AI accelerator β€” and the duopoly that controls it

πŸ“ HBM architecture Β· Arithmetic intensity Β· TSV stacking Β· CoWoS Β· SK Hynix moat ~25 min
The Central Problem

Why memory, not compute, is the constraint on AI performance

In Lesson 8 we established that LLM inference has two phases: prefill (compute-bound) and decode (memory-bandwidth-bound). The decode phase β€” generating each new token β€” requires loading the entire model weight matrix from memory to compute units, one token at a time. A 70B parameter model in FP16 occupies 140 GB of memory. For each generated token, 140 GB must stream from memory to the GPU's arithmetic units.

Standard server DRAM (DDR5) delivers ~89 GB/s per channel. At 8 channels, that is ~700 GB/s β€” not enough to stream 140 GB in a tolerable latency. The H100 solves this with HBM3: 3.35 TB/s bandwidth, nearly 5Γ— the best DDR5 configuration. Without HBM, large language model inference would be economically unviable.

Core Thesis
High Bandwidth Memory (HBM) is the critical enabler of AI inference at scale. It is architecturally irreplaceable: no other memory technology combines the bandwidth, capacity, and power efficiency needed for large model serving. SK Hynix dominates HBM3/HBM3e production, while Samsung has repeatedly failed NVIDIA's quality bar. HBM yield directly limits how many H100 and B200 modules TSMC can ship per quarter β€” making SK Hynix a structural, picks-and-shovels beneficiary of every GPU sold.
Section 1

The memory wall: compute scales faster than bandwidth

GPU compute throughput (TFLOPS) has grown roughly 3Γ— per year since 2016. Memory bandwidth has grown roughly 1.5Γ— per year. This widening gap β€” the "memory wall" β€” is the fundamental reason why memory bandwidth, not raw compute, determines inference performance.

989 TFLOPS
H100 compute (BF16)
vs. A100: 3.1Γ— increase
3.35 TB/s
H100 memory BW
vs. A100: 1.7Γ— increase
295
FLOPs per byte
H100 ridge point (BF16)
1–2
FLOPs per byte
Inference decode (FP16)

The ridge point is where compute and memory bandwidth are equally the limiting factor. At H100's ridge point of 295 FLOPs/byte, operations that use more FLOPs per byte of memory accessed are compute-bound; operations that use fewer are memory-bandwidth-bound. LLM decode at 1–2 FLOPs/byte is ~150–295Γ— below the ridge point β€” it sits almost entirely in memory-bound territory.

Roofline Model β€” H100 SXM5
Perf (TFLOPS) Arithmetic Intensity (FLOPs / byte) 0.1 1 10 100 1000 1 10 100 1K 10K ridge point AI β‰ˆ 295 FLOPs/byte memory-bandwidth-limited compute- limited LLM decode (~1 FLOP/byte) 3–4 TFLOPS effective! Training / prefill (~300–1000 FLOPs/byte) 150Γ— below ridge point
The roofline model shows achievable performance as a function of arithmetic intensity. LLM decode (matrix-vector, ~1 FLOP/byte) sits 150Γ— below the ridge point β€” it achieves only ~3–4 TFLOPS of the H100's 989 TFLOPS peak. Throwing more compute at inference decode is useless. Only more memory bandwidth helps. This is why HBM is irreplaceable.
Section 2

Why standard DRAM can't solve this

DDR5 (server DRAM) achieves high throughput by running many DRAM chips in parallel. A typical 8-channel server memory system peaks at ~700 GB/s. The limit is the bus width: each DIMM slot connects via a 64-bit data bus, and multiplying bus width requires physically wider PCB traces and larger connectors β€” the chip and board get prohibitively large.

GDDR6X (used in consumer RTX GPUs) pushes the bandwidth higher via a wider on-die bus, but faces power limits: high-speed long copper traces dissipate significant energy. An RTX 4090 has 21.8 Gbps GDDR6X bandwidth (576 GB/s) β€” less than HBM2e, and at nearly double the power draw per GB/s of HBM.

The Physics Constraint
The memory bandwidth equation is: Bandwidth = bus_width_bits Γ— transfer_rate_GHz Γ— 2 (DDR). To get 3.35 TB/s from DDR5 at 4.8 GT/s, you would need a ~700-bit data bus β€” physically impossible with standard package wiring. HBM achieves this by moving the memory physically next to the chip, with a 1,024-bit bus that is only a few millimeters long.
Section 3

HBM architecture: vertical stacking + silicon interposer

HBM solves the bus-width problem with two innovations: through-silicon vias (TSVs) and the silicon interposer.

HBM Stack + CoWoS Integration (cross-section schematic)
DRAM die Γ—8 (or Γ—12) Logic base die Silicon interposer Package substrate ←TSVs (thousands)β†’ die 8 die 7 die 6 die 5 die 4 die 3 die 2 die 1 HBM3 Stack Logic base die GPU Die (H100: 814 mmΒ²) SM Γ— 132 Β· HBM ctrl Γ— 5 Silicon Interposer (CoWoS) β€” 1,024-bit bus, ~5 mm trace length 1,024-bit data bus (vs. DDR5: 64-bit) Package substrate (BGA solder balls β†’ PCB) HBM stack Γ—2–4 more… Through-silicon via (TSV) Micro-bump / solder joint H100: 5 HBM3 stacks Β· 80 GB total Β· 3.35 TB/s | B200: 8 HBM3e stacks Β· 192 GB Β· 8 TB/s
HBM stacks 8–12 DRAM dies vertically, connected by thousands of TSVs. The logic base die sits at the bottom, connecting via micro-bumps to a silicon interposer β€” a passive silicon chip with dense metal routing. The GPU die and HBM stacks are mounted side-by-side on the interposer. This 1,024-bit bus, spanning only ~5 mm, delivers 16Γ— the bandwidth of DDR5 at lower power per bit.

How TSVs enable the 1,024-bit bus

Through-silicon vias are vertical copper pillars, 1–10 Β΅m in diameter, that are etched and filled through the silicon die. A single HBM3 stack contains ~1,024 data TSVs per die β€” 1,024 independent electrical connections running vertically through each layer. This is physically impossible with horizontal wire bonding, which is limited to the die's periphery. TSVs access the die's entire area for I/O.

The silicon interposer brings the GPU die and HBM stacks close enough (< 5 mm of trace length) that the 1,024-bit bus can run at multi-gigabit-per-pin speeds without the signal integrity problems that afflict long copper PCB traces. Shorter distance = less capacitance = lower power = higher speed.

Section 4

HBM generation evolution: bandwidth doubles each cycle

Generation Bus width Transfer rate BW / stack Max stack height Used in Year
HBM1 1,024 bits 1 Gbps/pin 128 GB/s 4-hi AMD Fiji (R9 Fury X) 2015
HBM2 1,024 bits 2 Gbps/pin 256 GB/s 8-hi NVIDIA V100, AMD MI100 2016
HBM2e 1,024 bits 3.6 Gbps/pin 460 GB/s 8-hi NVIDIA A100, AMD MI200 2020
HBM3 1,024 bits 6.4 Gbps/pin ~670 GB/s 12-hi NVIDIA H100, AMD MI300X 2022
HBM3e 1,024 bits 9.6 Gbps/pin ~1,000 GB/s 12-hi NVIDIA H200, B200 2023–24
HBM4 2,048 bits 12 Gbps/pin ~3,072 GB/s 16-hi (est.) NVIDIA B300 series (est.) 2025–26
Memory Bandwidth by Technology (GB/s per module or stack)
DDR5 (1 channel)
89 GB/s
GDDR6X (RTX 4090)
576 GB/s
HBM2e (A100)
2,000 GB/s
HBM3 (H100)
3,350 GB/s
HBM3e (H200)
4,800 GB/s
HBM3e (B200)
8,000 GB/s
DDR5 per-channel bandwidth (89 GB/s) vs. HBM3e in the B200 (8 TB/s) β€” a 90Γ— difference. The entire point of HBM is to close the arithmetic intensity gap that makes inference memory-bound.
Section 5

CoWoS integration: why HBM yield constrains GPU supply

TSMC's CoWoS (Chip on Wafer on Substrate) process assembles the GPU die and HBM stacks on a silicon interposer. This is a two-stage manufacturing process:

  1. Die preparation: NVIDIA ships GPU dies (fabricated on TSMC N4/N5); SK Hynix/Micron ship pre-tested HBM stacks.
  2. CoWoS assembly: TSMC places GPU die + HBM stacks on the interposer, runs solder reflow, and tests the assembled module. If any HBM stack fails integration testing, the entire module is scrapped β€” the GPU die included.
The Yield Multiplication Problem
An H100 uses 5 HBM3 stacks. If each HBM stack passes CoWoS integration at 95% yield, the probability that all 5 pass is 0.95⁡ = 77%. One bad stack out of 5 destroys a $30,000 GPU module. This is why HBM yield is the binding constraint on H100 shipment volume β€” not GPU die yield, not TSMC CoWoS capacity, but HBM stack quality. Samsung's failure to meet NVIDIA's HBM3e yield threshold in 2023–2024 was the primary reason for the GPU supply shortage that drove H100 prices above $40,000 on the secondary market.
Section 6

Market structure: SK Hynix's structural advantage

Why SK Hynix's lead is durable

HBM manufacturing requires skills that take years to develop:

ASP premium: HBM3e sells for roughly 3–5Γ— the price per gigabyte of standard DDR5. A 192 GB HBM3e configuration (B200) represents approximately $15,000–20,000 of HBM value β€” about 40–60% of the total module cost. At 2+ million B200 modules (NVIDIA's estimated 2025 shipments), SK Hynix HBM3e revenue from NVIDIA alone could exceed $20B.

Section 7 Β· Investment Lens

Investment implications

SK Hynix: picks & shovels play
Every H100/B200 shipped contains SK Hynix HBM. SK Hynix does not compete on AI model performance β€” it gets paid regardless of which GPU wins. HBM content per GPU increases with each generation (80 GB H100 β†’ 192 GB B200), and ASP per GB holds its premium because the technology is irreplaceable.
Supply as the binding constraint
In 2023–2024, the GPU shortage was primarily an HBM shortage. Samsung's failed qualification created a two-supplier situation with constrained capacity. Adding a third qualified supplier (Samsung eventual qualification or HBM4 reset) would ease pricing pressure, but this is an 18–24 month lead time problem β€” structural in the near term.
HBM4: bus width doubles
HBM4 targets a 2,048-bit bus (2Γ— HBM3/3e) and 12 Gbps/pin, delivering ~3 TB/s per stack. This requires new TSV etching capability and a denser interposer. SK Hynix is ahead in HBM4 development; if Samsung's HBM4 yield is also poor, SK Hynix's share could increase further in the B300/successor generation.
Key risk: Samsung's yield recovery
Samsung has ~10,000 HBM-capable engineers and world-class DRAM process technology. If Samsung resolves its HBM3e yield through a process fix (packaging change, under-fill reformulation), it could recapture 20–30% market share quickly. Watch for Samsung qualification announcements from NVIDIA β€” that's the key negative signal for SK Hynix pricing power.

Key signals to watch

The Integrated Thesis
HBM is not a commodity β€” it is a precision engineered component that requires 10+ years of manufacturing expertise to produce at high yield. SK Hynix's co-development relationship with NVIDIA, 10-year head start in TSV manufacturing, and Samsung's current yield disadvantage create a durable moat. Every AI accelerator sold for inference workloads (the dominant long-term use case) is memory-bandwidth-bound by the roofline model β€” meaning HBM content and ASP have a structural tailwind as long as AI inference scales.
Primary Sources

Recommended reading

Knowledge Check β€” HBM & SK Hynix

1. Why is LLM inference decode classified as "memory-bandwidth-bound" rather than "compute-bound" on an H100?
LLM inference uses integer arithmetic rather than floating-point, and H100 integer throughput is lower than its BF16 TFLOPS, creating a compute bottleneck specifically for integer operations in the attention layer
The KV cache in inference is stored in CPU RAM rather than GPU memory, and the CPU-to-GPU PCIe bandwidth becomes the limiting factor rather than the HBM bandwidth on the GPU itself
Decode performs a matrix-vector multiply for each token: roughly 2N FLOPs to move N weight bytes, yielding ~1–2 FLOPs/byte β€” far below the H100's ridge point of ~295 FLOPs/byte where memory and compute bottlenecks are equal
Inference decode is sequential by nature and cannot be parallelized across GPU cores, so all 132 streaming multiprocessors sit idle waiting for the single active decode thread to complete each token
2. What are the two key physical innovations that allow HBM to deliver a 1,024-bit bus when DDR5 is limited to 64 bits?
Photonic interconnects replacing copper traces, and phase-change memory cells replacing capacitor-based DRAM cells, allowing simultaneous high-bandwidth and high-density at lower power consumption
Through-silicon vias (TSVs) that route thousands of vertical electrical connections through the die stack, and a silicon interposer that places the memory physically adjacent to the GPU die β€” reducing trace length from centimeters to millimeters
Differential signaling pairs that double the effective bandwidth per wire, and error-correcting code (ECC) lanes that reclaim bandwidth otherwise lost to redundant parity bits in conventional DRAM designs
CMOS logic integration into the DRAM die itself, and multi-level cell storage (MLC) that encodes 2 bits per cell β€” doubling effective density without requiring additional TSVs or packaging changes
3. Why did Samsung's failure to qualify HBM3e for NVIDIA in 2023–2024 cause the GPU shortage β€” rather than just reducing Samsung's market share while other suppliers compensated?
NVIDIA's contracts required Samsung to supply a minimum guaranteed quantity; when Samsung failed qualification, NVIDIA owed contractual penalties that delayed all procurement while the legal dispute was resolved
Samsung held patents on the micro-bump bonding process used by all HBM suppliers; its exit from the qualified supplier list triggered a temporary injunction preventing SK Hynix from shipping until IP licensing was renegotiated
Samsung controlled roughly 35–40% of HBM capacity; losing this capacity from the qualified supplier pool meant total HBM3e supply fell short of demand, creating a shortage even though SK Hynix and Micron were shipping at full utilization
CoWoS assembly at TSMC was designed specifically for Samsung HBM stack dimensions; when Samsung stacks were no longer used, TSMC had to redesign its CoWoS interposer layout, idling assembly capacity for six months
4. The B200 uses 192 GB of HBM3e (8 stacks) vs. the H100's 80 GB (5 stacks). How should an investor interpret this for SK Hynix's revenue outlook?
Negative signal: more HBM per GPU means SK Hynix needs more manufacturing capacity per dollar of GPU revenue, and the capital expenditure required to build HBM3e capacity will compress SK Hynix's free cash flow even as revenue grows
Neutral signal: increased HBM content per GPU is offset by NVIDIA's increased bargaining power as the single dominant buyer, which will compress HBM ASP proportionally as content per unit rises
Positive signal: 2.4Γ— more HBM per GPU (192 vs. 80 GB) means SK Hynix's revenue per GPU module shipped grows proportionally, independent of GPU unit volume β€” even flat GPU shipments would grow SK Hynix HBM revenue significantly as the installed base migrates to B200
Negative signal: HBM3e at 192 GB per module forces TSMC to expand CoWoS interposer size, which reduces TSMC's CoWoS throughput per tool and creates a packaging bottleneck that limits B200 shipments and therefore SK Hynix unit volume
5. What is the single most important event to watch for that would indicate SK Hynix's HBM pricing power is deteriorating?
SK Hynix's HBM revenue as a percentage of total DRAM revenue falls below 30%, signaling that commodity DRAM price recovery is contributing more to earnings than HBM premium pricing
Micron's HBM3e production capacity grows faster than expected; Micron filing patents on proprietary TSV bonding processes that would prevent SK Hynix from using the same techniques in HBM4 production
A confirmed NVIDIA qualification announcement for Samsung HBM3e or HBM4 β€” this would immediately expand qualified HBM supply from two to three vendors, increasing competition and putting downward pressure on the 3–5Γ— ASP premium SK Hynix currently commands
TSMC announcing an expansion in CoWoS advanced packaging capacity beyond 200,000 wafers per month β€” removing the packaging bottleneck and making HBM supply rather than CoWoS assembly the new constraint
Questions worth exploring: "How does HBM4's 2,048-bit bus change the economics for SK Hynix vs. Samsung?" Β· "What is the power consumption difference between HBM3e and GDDR6X per GB/s?" Β· "How does AMD MI300X's use of HBM2e/HBM3 compare to NVIDIA's HBM3e strategy?" Β· "What would happen to inference performance if HBM were replaced by CXL-attached DRAM?" Ask your teacher any of these to go deeper.
Coming Up β€” Lesson 13
The NVIDIA competitive moat revisited β€” B200 and Blackwell: now that you understand the full stack (scaling laws β†’ compute β†’ memory β†’ packaging), we can evaluate NVIDIA's Blackwell architecture with first-principles depth. Why is the B200's NVLink switch a bigger deal than the raw TFLOPS increase? What does the disaggregated prefill/decode serving architecture mean for B200 cluster design? And what would it actually take for AMD or a custom ASIC to displace NVIDIA in 2025–2027?