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.
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.
- 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.
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.
- 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.
What wrong looks like
Every envelope violation has a signature you can observe. Learn the signatures and a sick machine tells you what failed.
- 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.
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.
- 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.
- Uptime Institute 2024 Spending Survey: power is 42-44% of annual facility costs, the largest category
- Google: efficiency work cut operating expenses by tens of millions of dollars
- Retrofitting cooling into existing facilities is expensive and technically challenging (Uptime Institute)
- Esmaeilzadeh et al., Dark Silicon and the End of Multicore Scaling, ISCA 2011
- Danowitz et al., CPU DB: Recording Microprocessor History, CACM 2012
- Arrhenius acceleration of semiconductor failure mechanisms (Black's equation)
- NASA: thermal runaway propagation in lithium-ion battery packs
- Kaplan et al., Scaling Laws for Neural Language Models, 2020
- Hoffmann et al., Training Compute-Optimal Large Language Models (Chinchilla), 2022