Level 3 — ProductionPower, Thermal & Reliability

Power, Thermal & Reliability

45 minutes60 marksprintable — key stays hidden on paper

Level 3 — Production (from-scratch derivations, code-from-memory, explain-out-loud) Time limit: 45 minutes Total marks: 60


Question 1 — Dynamic vs Static Power, from first principles (12 marks)

(a) Starting from the charging of a load capacitance CC through a switching event, derive the expression for dynamic switching power of a CMOS gate, defining every symbol. State the meaning of the activity factor α\alpha. (5)

(b) Give the equation for static (leakage) power and name the two dominant physical leakage mechanisms. Explain why static power has grown in relative importance as process nodes shrank. (4)

(c) A core switches at f=2.5 GHzf = 2.5\text{ GHz}, V=1.0 VV = 1.0\text{ V}, effective switched capacitance C=2 nFC = 2\text{ nF}, activity factor α=0.15\alpha = 0.15. Compute the dynamic power. (3)


Question 2 — DVFS derivation and reasoning (12 marks)

(a) Explain, out loud in prose, why dynamic power scales roughly with V2fV^2 f while the energy per fixed workload scales roughly with V2V^2 (not V2fV^2 f). (4)

(b) A processor runs at (V1,f1)=(1.1 V,3.0 GHz)(V_1, f_1) = (1.1\text{ V}, 3.0\text{ GHz}) with dynamic power P1=40 WP_1 = 40\text{ W}. Using DVFS it drops to (V2,f2)=(0.9 V,2.0 GHz)(V_2, f_2) = (0.9\text{ V}, 2.0\text{ GHz}). Assuming CC and α\alpha are unchanged, compute the new dynamic power P2P_2. (5)

(c) State one hard physical limit that prevents scaling voltage arbitrarily low, and explain its consequence for DVFS. (3)


Question 3 — TDP, cooling and thermal throttling (10 marks)

(a) Define TDP precisely. Explain why TDP is not the same as maximum instantaneous power draw. (3)

(b) A chip dissipates P=95 WP = 95\text{ W}. The junction-to-ambient thermal resistance path is: junction-to-case θJC=0.2 °C/W\theta_{JC} = 0.2\text{ °C/W}, case-to-heatsink θCS=0.1 °C/W\theta_{CS} = 0.1\text{ °C/W}, heatsink-to-ambient θSA=0.4 °C/W\theta_{SA} = 0.4\text{ °C/W}. Ambient is 35 °C35\text{ °C}. Compute the junction temperature. (4)

(c) If the junction limit is 100 °C100\text{ °C}, explain what thermal throttling would do and estimate qualitatively whether this chip needs it here. (3)


Question 4 — Power gating vs clock gating (from memory) (10 marks)

(a) Contrast clock gating and power gating: what each eliminates (dynamic vs static), the hardware mechanism used, and the relative wake-up latency cost. (6)

(b) Explain what the dark silicon problem is and connect it to the failure of Dennard scaling. Why does power gating alone not "solve" dark silicon? (4)


Question 5 — Electromigration & voltage droop (10 marks)

(a) State Black's equation for mean-time-to-failure (MTTF) due to electromigration, defining each term. Explain the roles of current density and temperature. (4)

(b) Explain the mechanism of voltage droop (V=IR+Ldi/dtV = IR + L\,di/dt intuition) during a sudden current surge, and explain how decoupling capacitors mitigate it. Where are decaps placed in the hierarchy? (6)


Question 6 — Energy efficiency, explain-out-loud (6 marks)

Define performance per watt and explain why it, rather than raw performance, is the governing metric in both mobile and datacenter design. Give one concrete example of a design choice that improves performance-per-watt but reduces peak single-thread performance. (6)


Answer keyMark scheme & solutions

Question 1 (12)

(a) Dynamic power derivation (5)

  • Each low→high transition charges CC to VV; energy drawn from supply =CV2= CV^2, of which 12CV2\tfrac12 CV^2 is stored on the capacitor and 12CV2\tfrac12 CV^2 dissipated in the pull-up. On high→low, the stored 12CV2\tfrac12 CV^2 dissipates in the pull-down. So one full switching cycle dissipates CV2CV^2. (2 marks — energy argument)
  • Transitions happen at rate αf\alpha f where ff is the clock frequency and α\alpha is the activity factor (probability/fraction of clocks with a switching transition, 0α10\le\alpha\le1). (1)
  • Therefore Pdyn=αCV2fP_{dyn} = \alpha C V^2 f (1 for equation) — symbols: CC effective switched capacitance, VV supply voltage, ff clock frequency, α\alpha activity factor. (1 for definitions)

(b) Static power (4)

  • Pstatic=VIleakP_{static} = V \cdot I_{leak} (or VIsub+V I_{sub} + \dots). (1)
  • Two dominant mechanisms: subthreshold leakage (current through "off" transistors, exponential in Vth-V_{th}) and gate-oxide tunnelling leakage (through thin dielectric). (2)
  • As nodes shrank, VthV_{th} was lowered (to keep switching speed as VV dropped) and oxides thinned → subthreshold and tunnelling both rose exponentially, so static became a large fraction of total power. (1)

(c) Numeric (3) Pdyn=0.15×2×109×(1.0)2×2.5×109=0.75 WP_{dyn} = 0.15 \times 2\times10^{-9} \times (1.0)^2 \times 2.5\times10^9 = 0.75\text{ W} (3 marks: setup + arithmetic + units)


Question 2 (12)

(a) Explain-out-loud (4)

  • Pdyn=αCV2fP_{dyn}=\alpha C V^2 f so power ∝ V2fV^2 f directly. (1)
  • Energy for a fixed workload = power × time; time to finish the workload ∝ 1/f1/f (higher clock finishes sooner). (2)
  • So E=Pt(V2f)(1/f)=V2E = P\cdot t \propto (V^2 f)\cdot(1/f) = V^2 — the ff cancels. Lowering ff saves power but not energy per task; lowering VV is what saves energy. (1)

(b) Numeric (5) Ratio: C,αC,\alpha constant, so P2=P1V22f2V12f1=400.922.01.123.0P_2 = P_1 \frac{V_2^2 f_2}{V_1^2 f_1} = 40\cdot\frac{0.9^2\cdot 2.0}{1.1^2\cdot 3.0} (2 setup) =400.81×2.01.21×3.0=401.623.63=40×0.446317.85 W= 40 \cdot \frac{0.81\times2.0}{1.21\times3.0} = 40\cdot\frac{1.62}{3.63} = 40\times0.4463 \approx 17.85\text{ W} (3 for arithmetic; accept 17.8–17.9 W)

(c) Physical limit (3)

  • VV cannot go below (a small margin above) the transistor threshold voltage VthV_{th}; near/subthreshold operation makes gates too slow and noise-sensitive, and leakage relative to dynamic grows. (2) Consequence: DVFS has a minimum voltage floor, so energy savings from voltage scaling saturate. (1)

Question 3 (10)

(a) TDP (3) — TDP is the maximum sustained power the cooling system must be designed to dissipate under a realistic sustained workload, i.e. the thermal design target. (2) It is not peak instantaneous draw: chips can briefly exceed TDP (turbo/boost) using thermal mass, and worst-case power viruses can exceed it. (1)

(b) Numeric (4) Total θJA=0.2+0.1+0.4=0.7 °C/W\theta_{JA} = 0.2+0.1+0.4 = 0.7\text{ °C/W}. (1) TJ=TA+PθJA=35+95×0.7=35+66.5=101.5 °CT_J = T_A + P\cdot\theta_{JA} = 35 + 95\times0.7 = 35 + 66.5 = 101.5\text{ °C} (3)

(c) Throttling (3)TJ=101.5 °C>100 °CT_J = 101.5\text{ °C} > 100\text{ °C} limit, so the chip does need throttling. (1) Throttling reduces ff (and VV via DVFS) to cut power until TJT_J falls below the limit, trading performance for thermal safety. (2)


Question 4 (10)

(a) Contrast (6) — 2 marks each row:

Clock gating Power gating
Eliminates Dynamic power (stops toggling of clock/logic) Static/leakage (and dynamic) power
Mechanism Insert gate on clock net (enable + latch/AND) to freeze idle blocks Series sleep/header/footer transistor disconnects block from supply/ground rails
Wake latency Low (resume next cycle) High (rails re-charge, state may be lost; needs retention/restore)

(b) Dark silicon (4) — With Dennard scaling dead (VV no longer scales with feature size), power density stays high, so at each node you can fit more transistors than you can power/cool at once. (2) The fraction that must stay off is "dark silicon." Power gating helps by turning off idle regions, but the total power/thermal budget is still fixed, so you fundamentally cannot run all transistors at full speed simultaneously — gating manages, not removes, the constraint. (2)


Question 5 (10)

(a) Black's equation (4) MTTF=AJnexp ⁣(EakT)MTTF = \frac{A}{J^n}\,\exp\!\left(\frac{E_a}{kT}\right) (2)AA material constant, JJ current density, nn exponent (~2), EaE_a activation energy, kk Boltzmann, TT absolute temperature. Higher JJ → more momentum transfer to metal ions → faster void/hillock formation → shorter life (∝ JnJ^{-n}). Higher TT → exponentially faster diffusion → shorter life. (2)

(b) Voltage droop + decaps (6)

  • On a sudden current surge, the current through the parasitic package/board inductance LL and resistance RR causes a supply drop ΔVIR+Ldidt\Delta V \approx IR + L\,\tfrac{di}{dt}. (2) The Ldi/dtL\,di/dt term dominates for fast transients — the PDN cannot deliver charge instantaneously, so local VddV_{dd} droops. (1)
  • Decoupling capacitors act as local charge reservoirs supplying the transient demand before the main PDN responds, flattening ΔV\Delta V. (2)
  • Placed in a hierarchy: on-die (small, fastest, highest frequency transients) → package → board/bulk caps (large, slow). (1)

Question 6 (6)

  • Performance per watt = useful work (ops, IPC, throughput) delivered per unit power (or energy). (2)
  • Governing metric because: mobile is battery/thermally limited (fixed energy budget), and datacenter total cost / density is dominated by power delivery and cooling; raw performance is meaningless if you cannot power or cool it. (2)
  • Example: using many simpler, lower-clock (in-order or narrow) cores instead of one wide high-clock core — raises throughput-per-watt but each thread is slower. (Accept: lowering clock via DVFS, wider SIMD at low frequency, big.LITTLE small cores.) (2)

[
  {"claim":"Q1c dynamic power = 0.75 W","code":"P=0.15*2e-9*(1.0**2)*2.5e9; result = abs(P-0.75)<1e-9"},
  {"claim":"Q2b DVFS scaled power approx 17.85 W","code":"P2=40*(0.9**2*2.0)/(1.1**2*3.0); result = abs(P2-17.85)<0.1"},
  {"claim":"Q3b junction temperature = 101.5 C","code":"theta=0.2+0.1+0.4; Tj=35+95*theta; result = abs(Tj-101.5)<1e-9"},
  {"claim":"Q3 chip exceeds 100 C limit so throttling needed","code":"theta=0.2+0.1+0.4; Tj=35+95*theta; result = bool(Tj>100)"}
]