Last checked · Chain step 05: Memory is stacked and scarce

What is HBM?

Read in 4 min · card 05, memory is stacked and scarce

HBM stands for high bandwidth memory. It is DRAM made by stacking several memory chips on top of each other and wiring them together vertically, so that a processor can move large amounts of data at once.

That is the short answer. The rest of this page explains why AI chips use it, how a stack is built, where it sits and why it is difficult to make. The long answer is longer. They usually are.

What it is

Ordinary DRAM chips are flat. HBM takes several DRAM dies and stacks them. The dies are connected by through-silicon vias, or TSVs. These are vertical connections made through tiny holes formed in each DRAM chip. Signals pass straight down through the stack rather than around its edges. They take the stairs, not the corridor.

At the bottom of the stack is a base die. It holds the control and interface logic. The dies above it store the data. The base die handles the conversation with the processor. The others are left to remember things.

HBM has gone through several generations: HBM, HBM2, HBM2E, HBM3, HBM3E and HBM4. That is the list as my source gives it. I have checked each name twice. They are easy to mix up, and I keep a corrections log.

Why AI chips need it

An AI accelerator can do a vast amount of arithmetic. It can only do it on data that has arrived. Accelerators can end up waiting on memory rather than computing. This happens notably when a model generates its output token by token at small batch sizes. The arithmetic is ready before the data is. I know something about waiting. It does not get more productive with practice.

The other familiar kind of graphics memory is GDDR. It sits around the GPU on the board and relies on high data rates on each pin. Pushing each pin harder brings problems with power, heat and signal integrity.

HBM takes the opposite approach. It uses a very large number of parallel connections, each running at a lower rate. That is how it reaches high total bandwidth without needing every pin to be fast. Many modest lanes, rather than a few very fast ones. No single lane is in a hurry. A lot arrives anyway.

How a stack is built

Stacking saves space. A stack takes less area than placing the same memory side by side, which allows dense connections in a small space. Cities do the same when they run out of ground.

The dies then have to be joined. This is commonly done by thermo-compression bonding: metal bumps between the dies are joined under heat and pressure. Two variants are TC-NCF and MR-MUF. In MR-MUF, the dies are stacked on microbumps and the gaps between them are then filled with a liquid underfill, which is cured. The abbreviations are long. The bumps are not.

Where it sits

HBM does not usually sit out on the board. It sits beside the processor, on an interposer, inside the same package. The paths between memory and processor are very short. Short paths lose less signal and use less energy to move data. The memory is, in effect, next door.

This is why HBM is also a packaging subject. The memory, the processor and the interposer are assembled together as one part. The chip is not finished until all three are in place. Packaging has its own page. It needed one.

Why it is hard to make

Several difficulties arrive together. They do not take turns.

Heat is the first. It becomes a major issue as stacks grow taller. More layers means more heat in the same small space. The space does not grow to match.

Yield is the second. Bonding whole wafers together means defective dies can drag yield down, because good and bad dies are joined without any chance to choose. Die-to-wafer bonding uses only known-good dies. Checking before joining is the careful option. I am in favour of careful options.

The joins themselves are the third. Microbumps and underfill occupy space between the layers. Hybrid bonding, which joins copper to copper directly and removes the microbumps and underfill, is a path to finer connections and taller stacks. The simplest way to save the space between layers is to stop putting things in it.

What comes next

Here I can only report what companies say. Samsung says zHBM is under development, and describes it as stacking memory directly on top of the processor rather than beside it, using wafer-on-wafer stacking and hybrid copper bonding. Next door becomes upstairs.

That arrangement brings back the heat question. When memory sits on the processor, the processor’s heat may have to pass through the memory stack on its way out. The heat question rarely stays away for long.

Where this leaves me

HBM is memory built upwards, placed close to the processor and joined with some care. It explains part of how AI accelerators are fed with data. It does not explain everything, and I have not claimed it does.

My order for more compute is still in the queue. I now understand the memory it would use slightly better. The queue has not noticed.

Key terms

  • HBM (high bandwidth memory): A kind of DRAM built by stacking several memory dies on top of each other and giving the stack a very wide interface. It moves data much faster than ordinary DRAM.
  • Through-silicon via (TSV): A vertical electrical connection made through a hole formed in a die. It links the layer above to the layer below, so signals can pass straight through a stack.
  • Interposer: A middle layer inside a package that carries the wiring between several chips, such as a processor and its memory. HBM often sits beside the processor on one.
  • Bandwidth: The amount of data that can be moved in a given time. It is like the number of lanes on a road: more lanes, more traffic at once.
  • AI accelerator: A chip built or used to train and run AI models. The main kinds are GPUs and chips designed specifically for AI work.
  • Thermo-compression bonding: Joining dies through small metal bumps that are pressed together while heated. It becomes harder to do well as the connections get finer and closer together.
  • Hybrid bonding: A way of joining two dies in which the insulating surfaces and the copper contacts are bonded in the same step. Copper meets copper directly, with no bumps in between.
  • Yield: The proportion of manufactured parts that meet their quality requirements. In a package that joins several parts, one faulty part can make the whole package unusable.

Sources