6.4.10Power, Thermal & Reliability

Energy efficiency (performance per watt)

2,042 words9 min readdifficulty · medium1 backlinks

WHY does this metric even exist?

The tension:

  • Performance wants high clock frequency ff and high voltage VV.
  • Power grows fast with both ff and VV (we'll derive why).
  • Beyond a "sweet spot," pushing performance costs disproportionately more power — this is why performance/watt exists as a design target.

WHAT is performance per watt?

Because performance is work per second and power is energy per second: PerfPower=work/secenergy/sec=workenergy=operationsjoule\frac{\text{Perf}}{\text{Power}} = \frac{\text{work}/\text{sec}}{\text{energy}/\text{sec}} = \frac{\text{work}}{\text{energy}} = \frac{\text{operations}}{\text{joule}}


HOW power actually arises (derive from scratch)

Total power in a CMOS chip: Ptotal=Pdynamic+PstaticP_{\text{total}} = P_{\text{dynamic}} + P_{\text{static}}

Dynamic power — switching capacitors

Derivation:

  • Energy to charge one capacitor to VV: Estored=12CV2E_{\text{stored}} = \tfrac12 C V^2.
  • The same amount is dissipated in the resistive path on discharge, so per switching event we lose E=12CV2E = \tfrac12 C V^2 (charge) and later 12CV2\tfrac12 CV^2 (discharge).
  • If gates switch with activity factor α\alpha (fraction of gates flipping) at frequency ff, the number of switches per second is αf\alpha f.

Pdynamic=αCV2f\boxed{P_{\text{dynamic}} = \alpha \, C \, V^2 \, f}

Static (leakage) power — the "always-on" drain


The hidden killer: frequency needs voltage

PerfWattff3=1f2\frac{\text{Perf}}{\text{Watt}} \propto \frac{f}{f^3} = \frac{1}{f^2}

Figure — Energy efficiency (performance per watt)

Worked examples


Common mistakes (steel-manned)


Recall Feynman: explain to a 12-year-old

Imagine your toy car runs on a battery. One car goes super fast but drains the battery in 5 minutes. Another goes a bit slower but plays for an hour. "Performance per watt" is asking: how much fun (work) do you get per bit of battery? Slow-and-steady often gives more total fun. And here's the trick: going twice as fast doesn't cost twice the battery — it can cost four or eight times more, because pushing speed needs more "push voltage," and battery drain grows with voltage squared. That's why fast gadgets get hot and die quick.


Active recall


Performance per watt is equivalent to what more fundamental quantity?
Operations per joule (work per unit energy), because the "per second" in performance and power cancels.
Dynamic power equation for CMOS?
Pdyn=αCV2fP_{dyn} = \alpha C V^2 f (activity × capacitance × voltage² × frequency).
Why is dynamic power proportional to V2V^2?
Energy stored/dissipated on a gate capacitor is 12CV2\tfrac12 CV^2, and you pay that each switch.
Why does total power scale like f3f^3 when you push clock speed?
Higher ff needs higher VV (roughly VfV\propto f); substituting into V2fV^2 f gives f3f^3.
If you halve voltage (holding frequency), what happens to dynamic power?
It drops to one quarter (quadratic in VV).
What is static/leakage power and its formula?
Power lost by leakage current even when idle: Pstatic=VIleakP_{static}=V\,I_{leak}; grows with temperature.
Chip A: 100 GFLOPS @ 40 W, Chip B: 160 GFLOPS @ 80 W — which is more efficient?
A (2.5 GFLOPS/W) beats B (2.0 GFLOPS/W), despite B being faster.
Why did the industry move to multicore instead of ever-higher clocks?
Perf/watt falls like 1/f21/f^2 at high frequency; more parallel cores at lower f,Vf,V give better work-per-joule.
What does DVFS exploit?
Dynamic Voltage & Frequency Scaling drops VV (quadratic power saving) for a smaller linear performance loss to boost perf/watt.
Steel-man: why does "faster = more efficient" feel right, and the fix?
Feels right via race-to-idle; fix: total energy = power×time, and high ff needs high VV so power (V2f\propto V^2f) can rise more than time falls.

Connections

Concept Map

motivates

defined as

divided by

seconds cancel

seconds cancel

arises from

sum of

sum of

gives V squared term

equals alpha C V2 f

balances

Performance per Watt

Performance throughput

Power in watts

Operations per Joule

Energy dominates cost

Total CMOS Power

Dynamic Power

Static Leakage Power

Capacitor energy half C V squared

Voltage and frequency sweet spot

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, hardware me sirf "kitna fast hai" matlab nahi rakhta — asli sawaal hai kitna kaam per joule energy milta hai. Isko bolte hain performance per watt. Trick ye hai ki performance/watt actually operations-per-joule hi hota hai, kyunki "per second" upar aur neeche dono me cancel ho jaata hai. Toh jaise phone ki battery fixed hai, wahi chip achhi hai jo utni hi energy me zyada kaam nikaale.

Ab power kaise banti hai? CMOS chip me har gate ek chhota capacitor hai. Use charge karne me energy lagti hai 12CV2\tfrac12 CV^2. Isliye dynamic power ka formula banta hai P=αCV2fP = \alpha C V^2 f — yaani voltage ka square aur frequency ka linear. Yaad rakho: "Volts hurt squared, Hertz hurt cubed." Kyun cubed? Kyunki fast chalane ke liye voltage bhi badhana padta hai (VfV \propto f), aur jab V2fV^2 f me daalo toh f3f^3 ban jaata hai. Matlab clock double karo toh power aath guna tak jaa sakti hai, par performance sirf double.

Isi wajah se perf/watt frequency ke saath 1/f21/f^2 ki tarah girta hai. Yahi reason hai ki industry ne single super-fast core chhod ke multicore aur DVFS (voltage-frequency thoda kam karke) apnaya — thoda slow chalao, par bahut zyada efficient. Exam aur real life dono me: jab do chip compare karo, sirf GFLOPS mat dekho, GFLOPS/W nikaalo. Slower chip bhi efficiency me jeet sakta hai — yahi 80/20 wali asli baat hai.

Go deeper — visual, from zero

Test yourself — Power, Thermal & Reliability

Connections