Chris Low-level systems developer

First principles · companion

The Operating Envelope.

Performance, power, and thermal: the three constraints every level of the stack lives inside. The main page shows what each level is assembled from. This page is the other cut: what the assembly must survive, who pays when it doesn't, and why the stack looks the way it does.

THE GOAL

Learn to read any machine's limits the way an electrician reads a panel: know what each constraint costs, who pays it, and what the failure looks like before it happens.

WHAT I LEARNED

Three things this page taught me. First, every limit has a payer: power has a bill and a hard budget, heat has a die and a heatsink, speed has a user and a contract. Second, the stack's shape is the envelope's answer: clocks stopped rising around 2005, so the industry bought performance with parallelism per watt, then with less general hardware per watt. Multicore and accelerators are thermal verdicts, not fashion. Third, failures are signatures you can read: temperature rides the limit while throughput sawtooths, breakers trip when draw outruns delivery, and queues that never drain mean the promised throughput was never real.


E1

The triad

Performance costs power, power becomes heat, and heat sets the ceiling on performance. The same loop runs at every level of the stack, from one transistor to the whole datacenter.

PERFORMANCEthroughput · latency POWERwatts in · dollars out THERMALheat out · degrees C work costs watts watts become heat heat caps clocks the operating envelope
The loop every stakeholder lives in: doing more work draws more watts, watts leave as heat, and heat sets the ceiling on work.
PERFORMANCE
Throughput and latency: how much work gets done, and how long each piece takes. The ML engineer pays in time: a training run that should take a week takes a month. The user pays in waiting. The business pays in work done per dollar of fleet.
POWER
Watts in, dollars out. The data-center operator pays the electricity bill, the largest line item on the facility's bill. The OEM pays in a hard watts-per-box budget: the power supply and the rack's power feed are sized once, at design time. The phone user pays in battery life.
THERMAL
Heat out, degrees on the die. The chip designer pays in power density, how much heat each square millimeter must shed: it decides how much silicon may switch at once. The OEM pays in heatsinks, fans, and the laptop that burns your lap. The operator pays in cooling, which is poured in concrete once and expensive to retrofit later.

Why these three and only these: each has its own unit, its own failure, and its own payer. Together they cover the main ways a machine can fail the people who paid for it.


E2

The wall

L5 and L6 are not fashion. They are what the envelope forced: when clocks could no longer rise, the only road to more performance was more parallelism per watt, then less general hardware per watt.

clocks stop rising 2005 Dennard scaling ends frequency 1995 2025 silicon goes dark the dark cells can never all switch at once
Left: frequency climbs, then flattens when power density stops scaling with transistors. Right: a modern die. Thermal limits, not logic, decide how much of it may switch.
DENNARD SCALING
Smaller transistors once meant faster and cooler at once. Around 2005 that broke: shrinking kept adding transistors, but power density stopped falling. Raising the clock further would have melted the die, so the clock stopped rising.
THE RESPONSE
First multicore (L5): more work per watt through parallelism instead of frequency. Then specialization (L6): delete the general-purpose control and spend the power budget on arithmetic alone. The roofline makes it quantitative: attainable performance is the minimum of peak compute and bandwidth times arithmetic intensity. Every L5/L6 argument is this curve with a ceiling drawn by heat.
DARK SILICON
At modern densities the whole die cannot switch at once. Some fraction must stay dark, always. This is a thermal verdict on a logic design: you own transistors you are never allowed to turn on.

E3

What wrong looks like

Every envelope violation has a signature you can observe. Learn the signatures and a sick machine tells you what failed.

the throttling signature thermal limit temperature throughput throttle point
Observed on a sick machine: temperature rides the limit while throughput sawtooths. The chip protects itself by getting slower.
TOO HOT
What it looks like: the laptop burns your lap, the phone gets too hot to hold, the fans scream. The chip slows itself down to survive, which is the sawtooth in the figure above: temperature rides the limit while throughput oscillates. The operator pays first: sustained heat ends in emergency shutdown, an outage on their watch. The OEM pays months later: chronic heat shortens the chip's life and comes back as warranty returns. In a battery, sustained heat can set off thermal runaway, where the battery heats itself until it catches fire.
TOO MUCH POWER
What it looks like depends on which limit you hit, because power fails in more than one way. A battery low on charge sags in voltage and everything shuts down. A supply rated for too little current, a phone charger rated 1 amp feeding a load that wants 3, lets the load try to draw more than the supply can give, and the protection trips. A rack whose feed cannot cover its machines never gets to use their full capacity, so the operator pays for racks that can only ever be half filled, money spent on capacity that never earns. Which failure you get depends on the power architecture, how supply, regulation, and distribution are built. Ten computers where the feed can carry seven fail differently than one massive computer the feed cannot carry at all.
TOO SLOW
What it looks like: the spinner that never stops, the queue that never drains. The business pays in broken promises: the site guaranteed a response time and misses it, users leave, contracts penalize. In training, the ML team pays: the run outlives its budget and dies with nothing to show.

E4

The demand

The economics point at ever-larger models, so the envelope is always under assault. This is why accelerators exist and why the pressure never lets up.

the demand curve training compute (log) loss (log) power law: straight on log-log diminishing returns per dollar
After Kaplan et al., 2020, with the Chinchilla revision (Hoffmann et al., 2022): loss falls as a power law in compute, and model size and training data should scale together. Returns diminish per dollar, yet the compute-optimal point keeps moving right. The papers are the demand curve; the envelope is the supply curve.
SCALING LAWS
Loss falls as a power law in parameters, data, and compute, over seven orders of magnitude. Kaplan et al. (2020) prescribed very large models on modest data, stopped before convergence. Hoffmann et al. (2022) revised the prescription: scale model size and training tokens equally. Either way the demand curve keeps moving right.
MORE IS DIFFERENT
Smooth loss curves hide discontinuous capability jumps. Demand arrives as a step function the envelope was never sized for: the fleet that was adequate on Tuesday is inadequate on Wednesday.
WHY IT MATTERS HERE
Every point on that curve is bought in watts and cooled in concrete. L6 exists where the demand curve meets the supply curve: the industry builds accelerators because the economics keep ordering larger models and the envelope dictates what may actually run.