Lite / Engineering Complex Systems / Week 31
Power, performance, area: the chip designer's triangle
Why would a chip designer use four slow cores instead of one fast one, when one fast core is simpler?
Why should I care?
Every phone, satellite and data centre is limited by power and heat before it is limited by transistors. Semiconductor teams judge every design on PPA: power, performance and area. The same reasoning applies to choosing a microcontroller for a battery-powered rover.
- Use P = α·C·V²·f to predict how dynamic power changes with voltage and clock frequency.
- Explain why higher clock frequencies need higher voltages, and why that makes power grow faster than speed.
- Trade parallelism (area) against frequency and voltage to meet a throughput target within a power cap.
Predict
A chip runs at 1.2 V. The designers drop the supply to 0.9 V at the same clock. Roughly what happens to dynamic power?
- Falls by 25%
- Falls to about 56%
- Stays the same
- Rises
Guess first, then reveal
Dynamic power ∝ V²: (0.9/1.2)² = 0.5625. A 25% voltage cut saves about 44% of dynamic power. The catch: transistors switch more slowly at lower voltage, so the maximum clock falls too.
Discover
Meet the brief (≥ 3 GOPS, ≤ 0.6 W, ≤ 10 mm²). Start with one core and push the clock: what stops you? Then try 2, 4 and 8 cores, lowering f and V each time. Which core count gives the lowest energy per operation, and why does 8 cores lose?
What the interactive shows (text version)
The explorer uses a simplified CMOS model with sliders for supply voltage, clock frequency, core count and activity factor. It reports dynamic power, leakage, throughput, area and energy per operation, and checks a brief of at least 3 GOPS within 0.6 W and 10 mm². One core can't reach 3 GOPS because the maximum clock at 1.3 V is about 1.9 GHz. Two cores need about 1.0 V and use about 0.76 W, failing the power cap. Four cores at about 0.65 V and 0.75 GHz pass with about 0.46 W and 8.4 mm². Eight cores fail on area, and leakage dominates their power.
Watch (optional)
Watch for: Listen for the three kinds of power (switching, short-circuit, leakage) and which one grows with clock frequency.
Dynamic, short-circuit and leakage power in one place, the physics behind every power–performance–area trade.
“Three Ways Your Chip Burns Power | CMOS Power Dissipation Explained” by Abhijit Pethe (opens YouTube; streaming video uses a lot of data)
The video is optional. Everything you need is in this lesson's text.
Understand
The three letters
Power: dynamic (switching) plus static (leakage, which flows even when nothing switches and grows with temperature and with the number of transistors). Performance: work per second, roughly cores × frequency × operations per cycle. Area: silicon used, which sets cost and yield. Improving one usually costs another.
Why parallelism saves energy
Two cores at half the clock deliver the same throughput as one core at full clock. Each can then run at a lower voltage, and power ∝ V²·f. Same work, less power, double the area. This is why phones use many slower cores and why GPUs have thousands. It only works if the task can be split: serial parts don't speed up.
Where it stops paying
Leakage scales with the amount of silicon and with V, not with f. Add many cores at very low voltage and leakage starts to dominate; area and cost grow too. Below a certain voltage the transistors become too slow and too variable. The best design is a sweet spot, and it moves with the workload and the process technology.
Dynamic voltage and frequency scaling
Chips change V and f on the fly: high when you need speed, low when idle. Because energy per operation ∝ V², 'race to idle' (run fast, then sleep) and 'run slow and low' compete; which wins depends on how much leakage the chip has while active and asleep.
Explain it another way
Intuitive
Filling and emptying a bucket (the capacitor) many times a second costs water each time. Taller buckets (higher voltage) cost more per fill, and more fills per second (higher clock) cost more per second.
Technical
P_total = α·C·V²·f + I_leak·V. Gate delay t_d ∝ V/(V − V_t)^a with a ≈ 1.3–2 (alpha-power law), so f_max ∝ (V − V_t)^a/V. Throughput = N·f·IPC. Energy per op = (α·C·V² + I_leak·V/f)/IPC.
Mathematical
Same throughput with N cores at f/N and voltage V_N: P_N/P_1 = (V_N/V_1)² for the dynamic part. With V_1 = 1.0 V and V_2 = 0.7 V, dynamic power falls to 49% while area roughly doubles.
Applied
Smartphone processors combine large, fast cores with small, efficient cores on one chip; the operating system moves background tasks to the small cores at low voltage to save battery.
Derivation: Where α·C·V²·f comes from
A logic gate's output drives a load capacitance C. Charging it from 0 to V through the supply draws charge Q = C·V at voltage V: energy C·V² leaves the supply.
Half of that, ½CV², is stored in the capacitor; the other half is dissipated as heat in the pull-up transistor. Discharging dumps the stored half as heat in the pull-down. So each full 0 → 1 → 0 cycle costs C·V².
If a fraction α of the chip's capacitance switches each clock cycle (the activity factor), energy per cycle is α·C·V².
At f cycles per second: P_dyn = α·C·V²·f.
Higher f needs faster transistors, which need higher V (gate delay falls as V rises above the threshold voltage). So pushing f up drags V up, and power grows roughly like f³ near the top of the range.
Energy per operation is P/throughput = α·C·V²·f/(f·ops per cycle) = α·C·V²/(ops per cycle): it depends on V², not on f. Lower voltage is the lever for energy efficiency.
Worked example 1
A core uses 2 W at 1.0 V and 1.5 GHz. Estimate the dynamic power at 0.8 V and 1.0 GHz (if timing allows).
P₂ = 2 × (0.8/1.0)² × (1.0/1.5) = 2 × 0.64 × 0.667 ≈ 0.85 W. The clock fell by a third, but power fell by more than half.
Common mix-ups
Power is proportional to clock speed, so half the speed means half the power.
✓ Only at a fixed voltage. Lowering f allows a lower V, and power falls with V², so it falls much faster than speed.More cores always save energy.
✓ Only if the work parallelises and leakage and area stay acceptable; there is a sweet spot.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Find the design in the PPA explorer that meets the brief with the lowest energy per operation. Record V, f, cores, power, area and pJ/op. Then write three sentences explaining the sweet spot in terms of V², leakage and area.
Reflect
Why might a battery-powered rover's computer deliberately run slower than it could?
Write your answer on paper or in your own notes. Lite never stores what you write.