6.5.17 · D3Advanced & Emerging Architectures

Worked examples — Wafer-scale engines (Cerebras-style)

3,320 words15 min readBack to topic

This page is the "put numbers in and turn the crank" companion to Wafer-scale engines (Cerebras-style). Before touching a single number, we lay out every kind of question the topic can ask, so that when you meet one in an exam you already know which cell it lives in — and no scenario surprises you.

Every symbol used here was first defined in the parent note. We re-state each one the instant it appears, so you never have to scroll back.


Symbols, defined before we use them

Because the scenario matrix below already names formulas, we pin every symbol down first, so no letter appears before its plain-words meaning.


The scenario matrix

Think of the whole topic as a grid. Each row is a quantity you might be asked to compute; each column is a regime (tiny/normal/extreme, or a degenerate edge). We must cover every filled cell below. Every symbol in the table was just defined directly above.

Cell Quantity Regime being tested Worked in
A Monolithic yield Small die (near 1) Ex. 1
B Monolithic yield Whole-wafer die (near 0, the "killer") Ex. 1
C Yield limit Degenerate: and Ex. 2
D Over-provisioning Normal fail fraction Ex. 3
E Over-provisioning Edge: and Ex. 3
F Aggregate bandwidth Order-of-magnitude compare vs GPU Ex. 4
G Mesh hop latency Neighbour (best) vs corner-to-corner (worst) Ex. 5
H Aggregate SRAM capacity "Does the model fit?" word problem Ex. 6
I Sparsity speedup Fraction of zeros skipped Ex. 7
J Combined exam twist Yield and capacity and bandwidth together Ex. 8

Before any arithmetic, here is the whole matrix drawn as pictures. Each panel below is the shape of one formula — glance at these first, then the numbers will just be points on curves you have already seen.

Figure — Wafer-scale engines (Cerebras-style)

Alt text: four small pastel panels. Top-left — the yield curve falling from 1 toward 0 as die area grows, with the small-die point (green, high) and whole-wafer point (coral, floor-crushed) marked. Top-right — the provisioning factor rising gently then shooting to infinity as . Bottom-left — aggregate bandwidth as a tall stack of 850k parallel links towering over a single short GPU bar. Bottom-right — a mesh grid with a short green best-case hop and a long coral worst-case corner-to-corner path.


Example 1 — Cells A & B: the yield killer, small die vs whole wafer

The figure below is the shape of the answer: the yield curve and where our two dies land on it.

Figure — Wafer-scale engines (Cerebras-style)

Alt text: yield curve plotted against die area . A green dot marks the small 800 mm² die still low on the curve; a coral dot marks the 46,000 mm² wafer crushed flat on the zero axis, with a dashed guide showing how fast the curve collapses.

Step 1 — Compute the mean defect count for each. Why this step? Recall from the symbols box that is the average number of killing defects expected in one die, and it equals . The exponential only makes sense once we know this average; it is the single knob everything depends on.

Step 2 — Apply the Poisson zero-defect probability. Why this step? A die is good only when it catches zero killing defects, and the Poisson probability of zero events with mean is (from the parent note's derivation).

Step 3 — Interpret against the matrix cells. Why this step? Numbers alone don't teach; the regime does. Cell A (small die) is already terrible; cell B (whole wafer) is astronomically, unimaginably zero — this is the coral dot pinned to the floor in the figure.

Recall What does

mean physically? More wafers than atoms in the universe would have to be made before one came out perfect ::: which is exactly why a defect-free monolithic wafer is impossible, forcing the redundancy trick.

Verify: Units check — is dimensionless, correct for an exponent. Sanity: bigger smaller , and both are between and . ✓

See Yield & Defect Density Models for the full derivation lineage.


Example 2 — Cell C: the two degenerate limits of yield

Look again at the yield curve in the Example 1 figure: both degenerate corners walk the curve back to its left edge, where or vanishes and the height returns to .

Step 1 — Substitute the limit into the exponent. Why this step? Degenerate inputs test whether the formula stays sane. In both cases the exponent .

Step 2 — Read the meaning. Why this step? A yield of exactly means "always works." A flawless process (no defects) or an infinitesimal die (nothing to hit) both guarantee success — the formula correctly returns certainty.

Verify: is continuous and ; both limits agree. ✓


Example 3 — Cells D & E: over-provisioning cores, normal and edge

The figure shows the provisioning factor : gentle near , then a wall as . Our three cases are three dots on this curve.

Figure — Wafer-scale engines (Cerebras-style)

Alt text: curve of the over-provision factor versus fail fraction . Flat and near 1 on the left; a green dot at just above 1.1; a lavender dot at exactly at 1; and a coral arrow at where the curve shoots to infinity.

Step 1 — Plug into the over-provision formula. Why this step? The factor is the "insurance premium" — how many spare cores to build so that after die, enough survive. On the figure this is the green dot, barely above 1.

So build ~944k cores to guarantee 850k survivors — about 11 % extra.

Step 2 — Take the edge . Why this step? Zero failures should demand no spares — the lavender dot sits exactly at height 1.

Step 3 — Take the edge . Why this step? If almost every core fails, you need almost infinitely many. The denominator , so — the coral wall in the figure, the formula screaming "this process is unusable."

Verify: monotonic — as rises , rises . Check (a): ? It rounds up to satisfy the inequality; using exact gives exactly . ✓


Example 4 — Cell F: aggregate bandwidth vs a GPU

The figure makes the scale visceral: a towering stack of parallel links beside a single short GPU bar.

Figure — Wafer-scale engines (Cerebras-style)

Alt text: bar chart on a log scale comparing WSE aggregate bandwidth (850,000 GB/s, tall lavender bar) against a single GPU link (900 GB/s, short coral bar), with the ~944× ratio annotated by an arrow.

Step 1 — Sum the links (they run in parallel). Why this step? In a mesh every link carries data simultaneously, so total = simple sum. This additivity is the reason wafer-scale bandwidth is huge — Network-on-Chip (NoC) & Mesh Topologies.

Step 2 — Divide by the GPU number. Why this step? An absolute number means nothing; the ratio is the headline "why it wins."

So ~944×, i.e. roughly the "1000×" quoted in the parent note.

Verify: unit check — GB/s summed gives GB/s; ratio is dimensionless. (using , decimal SI). ✓ Relates to the Dennard Scaling & the Memory Wall problem this solves.


Example 5 — Cell G: mesh hop latency, best vs worst case (geometric)

Figure — Wafer-scale engines (Cerebras-style)

Alt text: a mesh grid of lavender core squares. A short green arrow marks the best case — a single hop between neighbours (1 ns). A long coral staircase path traces the worst case, corner to corner along rows then columns (~2000 hops, ~2 µs). The start core and far corner are highlighted in butter yellow.

Step 1 — Convert clock speed to a per-hop time. Why this step? Latency lives in seconds, not hertz. One cycle at GHz is the reciprocal of the frequency.

Step 2 — Best case: one hop. Why this step? Neighbours are adjacent (the green arrow in the figure) — a single link. This is the common case for local, streaming traffic.

Step 3 — Worst case: Manhattan distance across the grid. Why this step? On a 2-D mesh you can only move along rows and columns, so corner-to-corner (the coral staircase in the figure) of an grid is hops for not the straight-line diagonal.

Step 4 — Compare. Even the worst on-wafer latency (~2 µs) rivals the best inter-server network hop — and locality keeps nearly all real traffic at 1 ns.

Verify: ✓; s s ✓. Manhattan distance for , rounded to 2000 for the estimate. See Systolic Arrays & TPUs for why nearest-neighbour dataflow is efficient.


Example 6 — Cell H: aggregate SRAM capacity (word problem)

Step 1 — Sum per-core SRAM. Why this step? The parent note's key correction: capacity is the sum over cores, never per-core. Each core is tiny; the mesh is vast.

Step 2 — Convert to GB. Why this step? The model's requirement is in GB, so we must match units. Using the decimal convention pinned at the top of this page, .

Step 3 — Compare to the model. Why this step? Fit means capacity requirement.

So the answer to (a) is GB and to (b) yes, the model fits entirely on-wafer with 10.8 GB of headroom — no external DRAM needed.

Verify: kB GB ✓; GB headroom ✓.


Example 7 — Cell I: sparsity speedup

Step 1 — Work remaining = nonzero fraction. Why this step? Recall is the fraction of activations that are zero. Only nonzero activations trigger a multiply, so useful work scales with Sparsity in Neural Networks.

Step 2 — Speedup = inverse of work done. Why this step? If you do only a quarter of the operations at the same rate, you finish in a quarter of the time.

Step 3 — Edge check . Why this step? All-zero → infinite speedup (nothing to do), the sensible limit; (dense) → speedup (no benefit), which is why dense GPUs "gain nothing" here.

Verify: ✓; limits , both monotonic. ✓


Example 8 — Cell J: the combined exam twist

Step 1 — Surviving cores. Why this step? Everything downstream (memory, bandwidth) depends on how many cores are alive after defects. Here is the fraction that fail, so survive.

Step 2 — Surviving SRAM. Why this step? Capacity is summed over good cores only — dead cores contribute nothing. Decimal prefixes as pinned at the top.

Step 3 — Aggregate bandwidth of survivors. Why this step? Same additive-link logic as Example 4, but only live cores count.

Step 4 — Verdict. All three constraints pass; the tightest margin is memory ( vs GB, only GB spare). Why note this? In an exam, "which margin is thinnest" is the follow-up question — memory is the binding constraint here.

Verify: ✓; kB GB ✓; ✓; GB/s TB/s ✓.


Recall One-line recap of the matrix

Yield collapses exponentially with area (Ex. 1–2), so you over-provision cores by (Ex. 3), then the survivors deliver additive bandwidth (Ex. 4, 8), 1-ns local / µs-worst latency (Ex. 5), summed SRAM capacity (Ex. 6, 8), and sparsity multiplies throughput (Ex. 7).

Related tooling context: Chiplets & 2.5D/3D Integration · Liquid Cooling & Power Delivery Networks · Hinglish version: 6.5.17 Wafer-scale engines (Cerebras-style) (Hinglish).