Power, Thermal & Reliability
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 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 . (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 , , effective switched capacitance , activity factor . 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 while the energy per fixed workload scales roughly with (not ). (4)
(b) A processor runs at with dynamic power . Using DVFS it drops to . Assuming and are unchanged, compute the new dynamic power . (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 . The junction-to-ambient thermal resistance path is: junction-to-case , case-to-heatsink , heatsink-to-ambient . Ambient is . Compute the junction temperature. (4)
(c) If the junction limit is , 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 ( 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 to ; energy drawn from supply , of which is stored on the capacitor and dissipated in the pull-up. On high→low, the stored dissipates in the pull-down. So one full switching cycle dissipates . (2 marks — energy argument)
- Transitions happen at rate where is the clock frequency and is the activity factor (probability/fraction of clocks with a switching transition, ). (1)
- Therefore (1 for equation) — symbols: effective switched capacitance, supply voltage, clock frequency, activity factor. (1 for definitions)
(b) Static power (4)
- (or ). (1)
- Two dominant mechanisms: subthreshold leakage (current through "off" transistors, exponential in ) and gate-oxide tunnelling leakage (through thin dielectric). (2)
- As nodes shrank, was lowered (to keep switching speed as dropped) and oxides thinned → subthreshold and tunnelling both rose exponentially, so static became a large fraction of total power. (1)
(c) Numeric (3) (3 marks: setup + arithmetic + units)
Question 2 (12)
(a) Explain-out-loud (4)
- so power ∝ directly. (1)
- Energy for a fixed workload = power × time; time to finish the workload ∝ (higher clock finishes sooner). (2)
- So — the cancels. Lowering saves power but not energy per task; lowering is what saves energy. (1)
(b) Numeric (5) Ratio: constant, so (2 setup) (3 for arithmetic; accept 17.8–17.9 W)
(c) Physical limit (3)
- cannot go below (a small margin above) the transistor threshold voltage ; 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 . (1) (3)
(c) Throttling (3) — limit, so the chip does need throttling. (1) Throttling reduces (and via DVFS) to cut power until 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 ( 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) (2) — material constant, current density, exponent (~2), activation energy, Boltzmann, absolute temperature. Higher → more momentum transfer to metal ions → faster void/hillock formation → shorter life (∝ ). Higher → exponentially faster diffusion → shorter life. (2)
(b) Voltage droop + decaps (6)
- On a sudden current surge, the current through the parasitic package/board inductance and resistance causes a supply drop . (2) The term dominates for fast transients — the PDN cannot deliver charge instantaneously, so local droops. (1)
- Decoupling capacitors act as local charge reservoirs supplying the transient demand before the main PDN responds, flattening . (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)"}
]