SEMICONDUCTORS & PACKAGING

HBM1/2

HBM: Capacity Is Only the First Check

Follow one accelerator upgrade decision through twelve plates: capacity, bandwidth, latency, stack connections and the HBM4 interface.

18 min read

MY’s robot wants its AI assistant to finish sooner, but it can choose only one upgrade. Make a tentative choice: more compute or more memory bandwidth? Follow the same data through this lesson, then identify the evidence that would support your choice.

Try the lab: capacity and bandwidth

It fits in memory. What could still limit the job?

The 48 GB working set fits within the given 80 GB; data-supply performance still needs evidence.
1/12 — The 48 GB working set fits within the given 80 GB; data-supply performance still needs evidence.

MY's robot wants its AI assistant to finish sooner. One upgrade proposal adds compute; another increases memory bandwidth. The robot checks that the data fits and leans toward more compute. The teacher asks it to keep that tentative choice while they trace the data path.

Begin with a capacity budget for this fictional card: four nominal 24 GB HBM stacks total 96 GB, with a separate 16 GB reservation leaving 80 GB for the job. Its working set is the data that need to reside in memory during execution. Here that totals 48 GB, including learned model weights, intermediate calculation results called activations, KV data that let a conversational model reuse earlier context computations, temporary storage and required allocations. These are teaching values, using decimal GB.

48 GB is less than 80 GB, which establishes that the working set fits within the assigned memory budget. Once execution begins, the GPU still has to obtain the data required by each operation. Both transfer throughput and the wait for an individual request can affect completion time. Reuse and dependencies change those demands.[8]

A waiting GPU does not establish that HBM bandwidth is saturated. Host transfers or program dependencies may also leave compute idle. We need measurements before choosing an upgrade. Capacity, bandwidth and latency give us three distinct questions to investigate.

Capacity, bandwidth and latency answer different questions

Separate stored volume, transfer rate and individual wait; concurrency does not itself shorten an access.
2/12 — Separate stored volume, transfer rate and individual wait; concurrency does not itself shorten an access.

Capacity describes the amount of data that can be stored, commonly in GB. Bandwidth describes how much data can be transferred per unit of time, commonly in GB/s. Latency measures the time from a particular request to its required response; memory discussions often use ns. Their different units reflect different questions.

In a warehouse analogy, capacity is storage space and bandwidth is the amount leaving the exit each second. Latency follows one order from submission to delivery. The analogy distinguishes measurements. Real HBM requests also obey memory timing and controller scheduling, so a simple conveyor cannot predict their behavior.

Many independent requests can be in flight together. While one waits, other requests may make progress and raise aggregate throughput. In a dependent lookup, the previous result supplies the next address. That chain must wait before issuing its next request. Equal total read volume therefore need not produce equal completion times.[7][8]

More concurrent work can hide part of a wait without shortening each underlying access. The robot has passed its capacity check. It now needs to learn how many independent requests the program can issue and where its data lives. Opening the package answers the physical part of that question.

Beside the GPU; stacked inside the memory

Vertical stacking and lateral placement coexist; the package substrate and PCB remain distinct.
3/12 — Vertical stacking and lateral placement coexist; the package substrate and PCB remain distinct.

HBM stands for High Bandwidth Memory. In this lesson's package example, a central GPU die has four HBM stacks beside it in the same package. Each HBM stack contains several DRAM memory dies arranged vertically. The stacking happens inside HBM; the GPU and HBM remain side by side in this example.[1][9]

The arrangement helps connect a large number of data wires. As we calculate later, each HBM3E stack in this lesson has a 1024-bit data interface, requiring dense connections to the compute die. Keeping the dies close and using fine package interconnect supports a short, wide data path. Package routing capability therefore becomes part of the memory-system design.

Below the dies, distinguish the package interconnect, package substrate and circuit board. The substrate connects the package outward; the PCB carries card-level power and other connections. These layers have different roles. Packaging options may use a full silicon interposer, redistribution layers or local silicon structures.[9]

This is one teaching cross-section rather than a universal construction drawing. Its central relationship is enough for our next step: DRAM stacks upward within memory, while HBM sits beside the GPU. We can now enlarge one stack and follow a returning read.

Follow one read from the DRAM stack to compute

Returning data crosses stack and package connections; TSVs, joints and interfaces have distinct roles.
4/12 — Returning data crosses stack and package connections; TSVs, joints and interfaces have distinct roles.

After the GPU requests an address, the memory controller schedules it according to the address and DRAM state. Data are read from the storage array, travel through vertical stack connections to the base interface, cross package interconnect and reach the compute side. Each part has a role: DRAM stores and reads the data, stack connections join dies, and package interconnect carries data across to the GPU.

A TSV is a conductive connection through a silicon die, carrying a path through that die's thickness. Separate dies also need inter-die bonds to join one die's path to the next. Together these structures form a route across layers. Top-die structures and bonding technologies vary, so distinguish a through-silicon connection from the joint between dies when following the data.[6][10]

The base die handles interface and peripheral functions, with the division of work depending on the product. This lesson uses a conventional accelerator example with the controller and PHY on the compute side. The controller schedules requests and timing; the PHY sends and receives physical interface signals. Their cooperation brings the data to the correct place under the interface rules.[4][5]

Bonding choices affect connection density and manufacturing difficulty. Hybrid bonding is a product-specific option rather than a feature of every HBM stack. First follow the complete read path and the role of each part. Then ask what adding memory dies changes about how much can be stored and how quickly it can be supplied.

Engineer extension: what the path diagram leaves out

Commands, addresses, clocks and data do not all use the same wires. A complete read also involves array and row-buffer operations, timing constraints and scheduling. The picture follows data-return connectivity only. Check product documentation for base-die partitioning, PHY implementation and bonding details.[4][5][6]

More DRAM layers add capacity, not another external bus

The eight-layer capacity calculation includes bit-to-byte conversion; layer count does not multiply external bandwidth.
5/12 — The eight-layer capacity calculation includes bit-to-byte conversion; layer count does not multiply external bandwidth.

The robot counts eight DRAM dies and almost counts the base die as a ninth. The teacher separates it from the data-capacity calculation. Each DRAM die in this example holds 24 Gb. Eight provide 192 Gb; dividing by eight bits per byte gives a nominal 24 GB stack.[1]

The equation is 8 × 24 Gb ÷ 8 = 24 GB. The first eight counts DRAM layers; the final division converts bits to bytes. Their matching values are coincidental. The base die does not contribute another 24 Gb DRAM layer in this model. Nominal capacity also differs from the budget available to software.

More layers can increase stored data within a stack. Its external interface must be evaluated separately. Holding data width and per-pin rate fixed, extra DRAM layers do not automatically increase the amount crossing that interface each second. Taller stacks may affect implementation and thermal behavior, but those effects need their own analysis.

Four nominal 24 GB stacks give our original card 96 GB. Its usable 80 GB comes from the separate classroom allocation, not directly from the die-density equation. With capacity accounted for, the next question is how requests reach parallel channels.

Parallel channels help when requests can use them

Each channel has its own banks; idle channels cannot necessarily serve a concentrated queue.
6/12 — Each channel has its own banks; idle channels cannot necessarily serve a concentrated queue.

Capacity in four stacks does not establish that a job spreads traffic evenly across them. Data placement and requested addresses determine which resources receive work. Concentrating requests in one place can leave other paths idle without allowing them to serve the busy resource's addresses.[7]

Think of channels as memory paths whose work can be scheduled separately. Each contains banks, organizational units of the memory arrays. An address determines which resource can serve it. If the requested data are in a busy resource, an idle bank in another channel does not automatically hold a copy. Many channels help only when data placement and scheduling provide work they can carry out concurrently.

For the HBM3E configuration discussed here, 16 channels of 64 bits total 1024 bits. Counting two 32-bit pseudo-channels per channel gives 32 × 32 = 1024 bits. These partition the same data lines in two ways. Adding their totals would count the interface twice. A channel is also much wider than one data pin.[1]

Bank-level parallelism gives the controller further opportunities, subject to row state and timing constraints. A whole channel should not be described as serving only one request. The robot needs the actual address distribution. Next we calculate a raw interface ceiling before examining how much a workload can use.

Engineer extension: channel count does not predict performance

Address mapping selects stacks, channels and banks. Row hits, row changes and memory timing constrain service order. The standard HBM4 interface uses 32 × 64 = 2048 bits, equivalently 64 × 32-bit pseudo-channels. The latter adds no width beyond those 2048 bits. Consult the controller documentation for mapping and scheduling.[3][5][7]

Calculate raw bandwidth without counting twice

1024-bit × 8 Gb/s ÷ 8 = 1024 GB/s; no extra DDR or stack-height multiplier.
7/12 — 1024-bit × 8 Gb/s ÷ 8 = 1024 GB/s; no extra DDR or stack-height multiplier.

Set specific products aside and define a separate teaching interface: 1024 data lines, each transferring 8 Gb every second. Multiply width by per-pin data rate to obtain bits per second, then divide by eight for bytes. These interface assumptions do not assert a shipping specification for the earlier 24 GB capacity example.

The full calculation is 1024 × 8 Gb/s ÷ 8 = 1024 GB/s, or 1.024 TB/s, using decimal units. Lowercase b means bit and uppercase B means byte; eight bits make one byte, hence the division by 8. DDR means double data rate, transferring on both clock edges. A per-pin rate already stated in Gb/s includes those transfers, so it should not be multiplied by two again.

DRAM layer count does not appear in this external-interface formula. Four identical interfaces operating together would total 4 × 1024 = 4096 GB/s raw. Controllers and package wiring must support concurrent operation, and the job needs sufficient distributed traffic. Multiplying a stack's figure by four does not establish application throughput.

This result is a theoretical interface ceiling. It includes neither every wait a workload encounters nor its compute completion time. The robot can now explain where the specification comes from. Next it must observe how the program uses those data lines.[7]

Useful bandwidth depends on how the workload moves data

Equal useful data volume need not mean equal time; dependencies, access patterns and reuse matter.
8/12 — Equal useful data volume need not mean equal time; dependencies, access patterns and reuse matter.

Two programs may consume the same useful data while creating different transfer costs. Large contiguous accesses and scattered small requests use memory transactions differently. A transaction can return bytes the program does not currently need, making transferred volume larger than useful volume.[7]

DRAM also has internal work to perform. Accessing a bank involves opening a row and managing its state; switching rows can add waiting. Changing between reads and writes also takes time. DRAM periodically refreshes stored charge to retain data. These activities share resources with requests, so useful bandwidth depends on the program, controller and memory configuration.[7]

Dependent lookup adds a different limit. Until the next address has been computed, hardware has no request to schedule. Independent work can increase requests in flight and hide some latency. A strictly dependent chain has less opportunity for overlap. Raising raw bandwidth alone may do little for that wait.[8]

Cache and reuse change demand as well. Data reused inside the GPU need not be fetched from HBM on every use. Separate the interface ceiling, actual transaction volume and useful program data. Lower HBM utilization can even result from better reuse, so a percentage alone cannot judge efficiency.

Engineer extension: distinguish a simplified bound from measurement

A simplified roofline bound compares achievable compute throughput with sustained memory bandwidth times operations per transferred byte. State the memory level and byte accounting. Raw pin bandwidth is not automatically sustainable kernel bandwidth. Dependencies, synchronization and host transfers can lower results further.[8]

Host transfers and resident HBM access are different paths

Loading uses the host link; resident reuse stays on the card. Their rates describe different paths.
9/12 — Loading uses the host link; resident reuse stays on the card. Their rates describe different paths.

The robot returns the accelerator to its host for the first run. In this example, data travels from host memory across the host link into HBM before GPU use. This diagram gives that link 64 GB/s as a teaching assumption. It does not assert a complete product configuration for a particular PCIe generation.

Once resident in HBM, data can be read and written repeatedly on the card. Those accesses use the HBM–GPU path without crossing the host link every time. A slower host connection therefore does not cap all resident HBM traffic at 64 GB/s. Identify the transfer under analysis first.[7]

Our example separates initial loading, resident computation and result output. It assumes relatively small results to make the stages visible; other jobs may output large volumes. Replacing input on every run, or repeatedly offloading part of the working set, can make host transfers much more significant.

Whether loading, computing and output overlap depends on dependencies and execution arrangements. Serial stages can be timed and added; overlapping work requires schedule and steady-state analysis. HBM TB/s cannot be used directly to time an entire host input, and the slowest link cannot substitute for analyzing every stage.

Engineer extension: when can bytes divided by bandwidth help?

Specify the source, destination and bytes crossing that path. State whether bandwidth is a raw ceiling or a sustained measurement, and whether fixed latency is ignored. Bytes divided by bandwidth is a bounded estimate. Reuse, repeated loading and overlap require actual traffic and a timeline; the quotient is not a universal application-runtime formula.

Separate generation architecture from product speed

2048 bits specifies data width. A release baseline, vendor rate and application performance are separate claims.
10/12 — 2048 bits specifies data width. A release baseline, vendor rate and application performance are separate claims.

For the HBM3E and standard HBM4 configurations compared here, data width increases from 1024 to 2048 bits. HBM4 has 32 channels of 64 bits, each divided into two 32-bit pseudo-channels. Both 32 × 64 and 64 × 32 describe the same 2048 data bits.[1][3][5]

More data lines require package connections and matching compute-side interfaces and controllers. Twice the width describes the data interface; it does not promise twice the program performance. An existing GPU cannot automatically support the new interface by replacing its memory device.

Rate specifications also have dates and sources. JEDEC's 2025 HBM4 release announcement used a baseline of up to 8 Gb/s. At the October 18, 2026 check, Micron's product page stated more than 11 Gb/s per pin and more than 2.8 TB/s per stack. One is a release baseline and the other a vendor rating under product conditions. The earlier baseline is not a fixed ceiling for every later product.[2][3]

The two greater-than figures are lower-bound descriptions, not an exact equality. Compare supported rates, configurations and system conditions for an actual design. This lesson covers the stated standard-interface comparison. It does not extend those widths automatically to every custom HBM architecture.

Engineer extension: comparison scope

Ellipses omit channels, and drawn line counts are not pin counts. SPHBM4, custom interfaces, HBM-PIM and later generations lie outside this configuration comparison. Evaluate their interface, controller partition and standard version separately before applying any pin-count claim.

Power, heat and test determine whether the design is deliverable

Some I/O energy savings do not establish whole-card savings; test and repair have coverage limits.
11/12 — Some I/O energy savings do not establish whole-card savings; test and repair have coverage limits.

Both upgrade proposals may meet their nominal specifications. The card still has to operate reliably. Short interconnects can reduce part of the I/O energy cost, while GPU, DRAM and peripheral circuitry continue to need power. Lower energy per bit alone does not establish lower whole-card power when traffic or compute work also increases.

GPU and HBM sit together in the package.[9] Their heat sources need coordinated thermal evaluation. The shared cooler is one illustrative arrangement, prompting us to follow heat through the package. Evaluate power delivery, temperature distribution and sustained operating conditions together. A short data-path arrow cannot stand in for thermal analysis.

Testing occurs at several stages. Dies are screened, assembled stacks are tested, and the completed package needs integration checks. Passing an earlier screen only establishes coverage at that stage. Later bonding or integration can reveal further problems; tested-good components do not imply zero remaining defects.[10]

ECC means error-correcting code, which detects or corrects covered data errors according to the design. Redundancy and repair can replace specified defects using spare resources. The capabilities can both support availability, but each has its own scope and triggers rather than forming a mandatory sequence every time. The base-die and repair lesson develops those mechanisms; cost evaluation needs the number of good units ultimately delivered.

Engineer extension: avoid a universal yield multiplication

Screening, assembly defects, repair capability and post-package testing interact. Multiplying three unspecified yield percentages ignores selection conditions and repair flow. Model the actual populations, coverage and acceptance criteria. This lesson supplies no unsupported cost or yield multiplier.

Return to the card and choose the next experiment

Changing the working set to 120 GB reopens capacity planning; upgrade decisions must follow the conditions.
12/12 — Changing the working set to 120 GB reopens capacity planning; upgrade decisions must follow the conditions.

Back at the two proposals, the teacher still cannot select an upgrade without evidence. The 48 GB working set fits the given 80 GB, so capacity passes. Next measure GPU execution and waiting, HBM traffic and request distribution, and the stages in which host transfers occur.

If sufficient requests are in flight and profiling identifies HBM throughput as the primary limit, more achievable bandwidth is a reasonable candidate. Dependency waits call for examining algorithms or locality; a compute limit calls for compute evaluation. Host-dominated time requires transfer and workflow analysis. Compare cooling, power and cost for each candidate.

Now change the working set to 120 GB while usable capacity remains 80 GB. The previous capacity conclusion fails. Consider more usable memory, partitioning, offload or a smaller working set. Those alternatives can add transfer costs. More bandwidth alone cannot make the oversized data resident, but insufficient residency does not establish that the job can never run.

HBM increases capacity density through stacking and supplies data through a wide interface. Whether it shortens this job depends on demand and the actual path. Choose a measurement or modification that tests the limiting hypothesis, then compare outcomes. The HBM Base Die and Repair follow-up examines how stacks are tested and kept usable.

Glossary

  • HBM — High Bandwidth Memory: stacked DRAM with a wide data interface.
  • Working set — The model and execution data allocated for the job in this lesson.
  • Bandwidth / Latency — Bandwidth measures data per second; latency measures the wait for a particular request.
  • TSV / Inter-die joint — A TSV passes through silicon; an inter-die joint connects neighboring dies.
  • Controller / PHY — The controller schedules requests; the PHY handles the physical signaling interface.
  • Channel / Pseudo-channel / Bank — Memory-path partitions and internal organization; partitioning does not add another data width.
  • Raw / Sustained / Useful — Interface ceiling, sustained transfer rate, and the program's useful data.
  • ECC / Redundancy / Repair — Data-error detection/correction, and spare resources for covered defects.

Further reading

HBM Base Die and Repair

Advanced Packaging

This lesson leaves full DRAM timing, product-specific physical layouts and repair implementations to the relevant controller and memory documentation.

Primary sources

Checked 2026-10-18. The JEDEC reference is its release announcement, not a claim of access to the full normative standard. Numerical scenarios in the plates and lab are teaching assumptions.

  1. Micron — HBM3E product specifications
  2. Micron — HBM4 product specifications (checked 2026-10-18)
  3. JEDEC — HBM4 JESD270-4 release announcement (2025-04-16)
  4. Synopsys — HBM4 controller IP
  5. Synopsys — HBM4 PHY IP
  6. SK hynix — HBM3E design scheme
  7. AMD PG276 — HBM Performance Concepts
  8. AMD HIP — Understanding GPU performance
  9. TSMC 3DFabric — CoWoS
  10. Micron — HBM4 manufacturing and testing FAQ

#HBM #MemoryBandwidth #AdvancedPackaging #HBM4 #ComicClassroom

Lab: capacity and the interface ceiling

Change the working set and interface assumptions. This lab separates capacity from raw bandwidth. It does not predict runtime or cap resident HBM traffic by a host link. GB uses decimal units.

The aggregate needs controller, interconnect and distributed-traffic support. Do not multiply by DRAM layers. Analyze host transfers on their own path.

Learning guide

Semiconductors & Packaging

0 / 3

Prerequisites

  • Basic chip, package and memory concepts.

What I learned

  • Check capacity, bandwidth and latency separately.
  • Trace the data path through GPU, controller, PHY and HBM stacks.
  • Calculate raw interface bandwidth and distinguish HBM4 specification scopes.

Key terms

Open glossary →

Further reading

Knowledge check

1. A 48 GB working set fits within 80 GB usable. Does that establish sufficient data supply per second?
2. At fixed 1024-bit width and 8 Gb/s per pin, does doubling DRAM layers double raw bandwidth?
3. What is 1024-bit × 8 Gb/s ÷ 8? Should DDR add another factor of two?
4. Two programs read the same useful volume. One has independent requests; the other gets each address from the previous result. Can rated TB/s predict equal runtimes?
5. The working set grows to 120 GB while usable capacity stays 80 GB. Can more bandwidth alone remove this capacity limit?

Thanks for reading.

Take the concept with you, not just the terminology.

#HBM#Advanced Packaging#Memory Bandwidth