---
title: Power, energy and the end of Dennard scaling
heading: Why clock rates stopped rising, dark silicon, power budgets, turbo modes and energy per task
eyebrow: S4 · Lesson 3 · Power, energy and the end of Dennard scaling
xp: 50
---

::: hook
For thirty years, every new process generation gave more transistors that were also faster and used less power each, so chips got denser and faster at the same power. That was Dennard scaling, and it ended around 2005, when supply voltages stopped falling because of leakage. Since then each generation still doubles the transistors, but switching all of them at full speed would melt the chip. Clock rates flattened near 3 to 5 GHz, designers turned to multicore, and a growing share of every chip has to stay idle at any moment: dark silicon. Since then, power has been the budget architects spend, more than area.
:::

::: play
- The fraction of a fixed-size, fixed-power chip that can switch at full speed, against the number of process generations. Each generation shrinks dimensions by S = √2, doubling the transistor count and dividing each transistor's capacitance by S.
- The supply voltage scales by a factor v per generation and the clock by g. Dennard scaling (v = 1/S ≈ 0.71, g = S ≈ 1.41) keeps power density constant: the whole chip stays usable.
- With the voltage stuck (v = 1) and the clock held (g = 1), power density grows by S each generation, and after four generations only a quarter of the chip can be on at once.
:::
:::

```sim plot
view: graph
x: n = 0..8
y: u = 0..1
slider: v = 0.7..1 = 1
slider: g = 1..1.42 = 1
plot: (1 + (sqrt(2)*v^2*g)^(-n) - abs(1 - (sqrt(2)*v^2*g)^(-n)))/2 | samples: 300 | label: fraction usable at full speed
readout: power density growth per generation = sqrt(2)*v^2*g
```

::: predict
## Each generation doubles the transistors in the same area and divides each one's capacitance by 1.41, but the voltage and clock stay the same. With a fixed power budget, how much of the chip can run at once after four generations?

- [ ] All of it
- [ ] Half
- [x] A quarter
- [ ] A sixteenth

::: reveal
A quarter. Per generation, twice the transistors each use $1/\sqrt 2$ of the power, so the chip's power at full activity grows by √2. Four generations make that $\sqrt 2^4$ = 4 times the budget, so only 25% can switch at full speed. The rest has to be idle, clock-gated, power-gated or slowed: the dark silicon that pushes designers toward specialized units that are fast at one thing and off the rest of the time.
:::
:::

::: nameit
## Power

- Dynamic: $P = \alpha CV^2f$ (S3.20). Energy per operation $\propto CV^2$, independent of f.
- Static (leakage): $P = I_\text{leak}V$, paid for every second the circuit is powered.

## Dennard scaling and its end

Shrinking dimensions by S, with $V \to V/S$ and $f \to fS$:

| Quantity | Per transistor | Per unit area |
|---|---|---|
| C | 1/S | |
| V | 1/S | |
| f | S | |
| power $CV^2f$ | $1/S^2$ | 1 (constant) |

The threshold voltage couldn't keep falling without leakage rising exponentially, so V stalled near 0.7 to 1 V. With V and f fixed, power per area grows by S per generation. The per-generation power-density factor is $Sv^2g$, and the usable fraction after n generations is $(Sv^2g)^{-n}$.

## Power budgets in practice

- **TDP** (thermal design power) sets the sustained power a cooling system removes.
- With voltage scaled along with frequency, dynamic power grows roughly as $f^3$, so a power budget P allows $f = f_0(P/P_0)^{1/3}$.
- **Turbo:** with only k of N cores active, each can take N/k of the per-core budget and run at $f_0(N/k)^{1/3}$, up to the voltage limit.

## Energy per task

Energy = dynamic energy (cycles × energy per cycle) + leakage power × time. Running slower at a lower voltage saves dynamic energy but pays leakage for longer; when leakage is large, running fast and then shutting off (**race to halt**) uses less energy.
:::

::: example
## A task takes $3 \times 10^9$ cycles. At 3 GHz and 1.0 V the core uses 10 nJ per cycle dynamically and leaks 5 W. At 1.5 GHz the voltage can drop to 0.8 V (leakage scales with V). Which uses less energy, and what if leakage were 20 W at 1 V?

::: solution
1. **Running fast.** At 3 GHz the task takes 1 s, so dynamic energy is 30 J and leakage is 5 W for 1 s, 5 J:
   $$\begin{aligned} E &= 30\ \text{J} + 5\ \text{J} \\ &= 35\ \text{J} \end{aligned}$$
2. **Running slow.** Dynamic energy scales by $0.8^2 = 0.64$, and leakage drops to 4 W for 2 s:
   $$\begin{aligned} E &= 30 \times 0.64 + 4 \times 2 \\ &= 19.2 + 8 \\ &= 27.2\ \text{J} \end{aligned}$$
   so slowing down saves 22%.
3. **Fast, with 20 W of leakage.**
   $$\begin{aligned} E &= 30 + 20 \\ &= 50\ \text{J} \end{aligned}$$
4. **Slow, with 20 W of leakage.** Leakage drops to 16 W:
   $$\begin{aligned} E &= 19.2 + 16 \times 2 \\ &= 51.2\ \text{J} \end{aligned}$$
   so racing to halt wins.

**Answer:** with 5 W of leakage the slow run uses less (27.2 J against 35 J, 22% less); with 20 W of leakage the fast run wins (50 J against 51.2 J).
:::
:::

::: example
## A core runs at 3 GHz on 100 W with voltage tracking frequency. What clock does a 150 W budget allow, and what can each of 2 active cores in an 8-core chip reach in turbo, if all 8 share the 100 W at 3 GHz?

::: solution
1. **A bigger budget.** With voltage tracking frequency, $P \propto f^3$:
   $$\begin{aligned} f &= 3 \times 1.5^{1/3}\ \text{GHz} \\ &= 3.43\ \text{GHz} \end{aligned}$$
2. **Turbo on 2 of 8 cores.** Each of the 2 active cores can use 4 times its share of the power:
   $$\begin{aligned} f &= 3 \times 4^{1/3}\ \text{GHz} \\ &= 4.76\ \text{GHz} \end{aligned}$$
3. **The voltage limit.** That holds only if the maximum safe voltage allows it, and it usually caps turbo first.

**Answer:** 150 W allows 3.43 GHz, and each of the 2 active cores can reach 4.76 GHz in turbo if the voltage limit allows.
:::
:::

::: example
## Voltage has stopped scaling (v = 1) and frequency is held (g = 1), while each generation shrinks dimensions by S = 1.4. How does power density grow over four generations, and what fraction of the chip can run at once?

::: solution
1. **Growth per generation.** Each generation multiplies the power density by
   $$S v^2 g = 1.4$$
2. **Four generations.**
   $$1.4^4 = 3.84$$
3. **What can run at once.** Under the same power budget only
   $$1/3.84 = 26\%$$
   of the transistors can switch at full speed.
4. **Dark silicon.** The rest is dark silicon, which is why chips filled up with specialized accelerators that sit idle most of the time.

**Answer:** power density grows 3.84 times over four generations, so only 26% of the chip can run at full speed at once.
:::
:::

::: check
given: v = 0.75 | 0.85 | 1; g = 1 | 1.2
answer: sqrt(2)*v^2*g
tolerance: 0.5%

## Each generation scales dimensions by √2, the voltage by {v} and the clock by {g}. By what factor does power density grow per generation?

::: right
Right. $Sv^2g$ = {answer}.
:::

::: misses
- [v^2*g] There are S² more transistors per area, each with capacitance 1/S: a net factor of S.
- [any] Not yet. Count transistors per area × C × V² × f.
:::
:::

::: check
given: n = 2 | 3 | 5; v = 0.9 | 1
answer: (sqrt(2)*v^2)^(-n)
tolerance: 0.5%

## After {n} generations at √2 per generation, voltage scaling {v} per generation and a fixed clock, what fraction of a fixed-power chip can run at full speed?

::: right
Right. $(Sv^2)^{-n}$ = {answer}.
:::

::: misses
- [2^(-n)] The capacitance per transistor also falls by √2 each generation.
- [any] Not yet. One over the accumulated power-density growth.
:::
:::

::: check
given: f = 2.5 | 3.5; P = 65 | 95; Q = 125 | 150
answer: f*(Q/P)^(1/3)
unit: GHz
tolerance: 0.5%

## A core runs at {f} GHz on {P} W, with power growing as the cube of frequency. What clock does a {Q} W budget allow?

::: right
Right. $f_0(P/P_0)^{1/3}$ = {answer} GHz.
:::

::: misses
- [f*Q/P] Power grows as $f^3$ when voltage tracks frequency.
- [any] Not yet. Invert the cubic.
:::
:::

::: check
given: f = 2.5 | 3; N = 8 | 16; k = 1 | 2 | 4
answer: f*(N/k)^(1/3)
unit: GHz
tolerance: 0.5%

## All {N} cores share a power budget at {f} GHz. With only {k} active, each takes an equal share of the whole budget. What clock can they reach (power ∝ $f^3$, no voltage cap)?

::: right
Right. $f_0(N/k)^{1/3}$ = {answer} GHz.
:::

::: misses
- [f*N/k] Power grows as the cube of the clock.
- [any] Not yet. Each active core gets N/k times the power.
:::
:::

::: check
given: c = 2 | 5; e = 5 | 12; V = 0.7 | 0.9; L = 3 | 15; f = 1.5 | 3
answer: c*e*V^2 + L*V*c/f
unit: J
tolerance: 0.5%

## A task of {c} billion cycles runs at {f} GHz and {V} V. Dynamic energy is {e} nJ per cycle at 1 V (scaling as $V^2$), and leakage is {L} W at 1 V (scaling as V). What energy does the task use?

::: right
Right. $ceV^2 + (LV)(c/f)$ = {answer} J.
:::

::: misses
- [c*e*V^2] Add the leakage over the run time.
- [any] Not yet. Dynamic energy plus leakage power times time.
:::
:::

::: check
given: E = 20 | 50; t = 1 | 3; F = 30 | 60; u = 0.6 | 2
answer: (E*t)/(F*u)
tolerance: 0.5%

## Design A uses {E} J and takes {t} s per task; design B uses {F} J and {u} s. What's A's energy-delay product as a fraction of B's?

::: right
Right. $\frac{E_At_A}{E_Bt_B}$ = {answer}.
:::

::: misses
- [E/F] Energy-delay product multiplies energy by time.
- [any] Not yet. Compare $E \times t$.
:::
:::

::: check
kind: parts
given: a = 0.1 | 0.2; C = 1 | 10; V = 0.8 | 1; f = 1 | 3; L = 1 | 10

## A chip switches {C} nF at activity {a}, at {V} V and {f} GHz, and leaks {L} W.

::: part
answer: a*C*V^2*f
unit: W
tolerance: 0.5%

### What is its dynamic power?

::: misses
- [any] $\alpha CV^2f$.
:::
:::

::: part
answer: a*C*V^2*f + L
unit: W
tolerance: 0.5%

### What is its total power?

::: misses
- [any] Dynamic plus leakage.
:::
:::

::: part
answer: a*C*V^2
unit: nJ
tolerance: 0.5%

### What dynamic energy does each cycle take?

::: misses
- [any] $\alpha CV^2$.
:::
:::
:::

::: check
kind: parts
given: f = 2.5 | 3; N = 4 | 8 | 16; k = 1 | 2

## An {N}-core chip runs all cores at {f} GHz within its power budget, with voltage tracking frequency so power goes as $f^3$.

::: part
answer: f*(N/k)^(1/3)
unit: GHz
tolerance: 0.5%

### How fast can {k} active core(s) run on the same budget, ignoring voltage limits?

::: misses
- [f*N/k] Power goes as the cube of frequency.
- [any] $f_0(N/k)^{1/3}$.
:::
:::
:::

::: check
kind: derivation
vars: S = 1.1..2, v = 0.7..1, g = 0.8..1.5, n = 1..10

## Each generation shrinks dimensions by S, scales voltage by v and frequency by g, at constant power per die.

::: step
answer: S*v^2*g

### By what factor does power density grow per generation?
:::

::: step
answer: (S*v^2*g)^(-n)

### What fraction of the chip can run at full speed after n generations?
:::

::: right
Right. Under Dennard scaling $v = 1/S$ and $g = S$ made the factor 1; once v stuck near 1, dark silicon followed.
:::
:::

::: explain
## Why did the end of Dennard scaling push the industry toward multicore and specialized accelerators instead of faster single cores?

::: model
A faster single core needs a higher clock, and with the supply voltage no longer falling each generation, dynamic power rises at least in proportion to the clock and usually faster, because higher clocks need higher voltage. Chips hit the limit of what packages and heat sinks can remove at around 3 to 5 GHz. The extra transistors each new process provides can't all switch at full speed within that power either. Spending them on more cores at a moderate clock raises throughput for parallel work at a better energy per operation, and spending them on specialized units that do one job very efficiently and sit idle otherwise uses the dark area productively.
:::
:::

::: practice

::: check
given: v = 0.8 | 0.95; g = 1.05 | 1.15
answer: sqrt(2)*v^2*g
tolerance: 0.5%

## Power-density growth per generation: v = {v}, g = {g}?

::: misses
- [any] $\sqrt 2\,v^2g$.
:::
:::

::: check
given: f = 2 | 4; P = 50 | 120; Q = 80 | 200
answer: f*(Q/P)^(1/3)
unit: GHz
tolerance: 0.5%

## Clock at {Q} W, from {f} GHz at {P} W, power ∝ $f^3$?

::: misses
- [any] $f(Q/P)^{1/3}$.
:::
:::

::: check
given: c = 1 | 4; e = 6 | 10; V = 0.75 | 1; L = 4 | 10; f = 2 | 4
answer: c*e*V^2 + L*V*c/f
unit: J
tolerance: 0.5%

## Task energy: {c} G cycles at {f} GHz, {V} V, {e} nJ/cycle at 1 V, {L} W leak at 1 V?

::: misses
- [any] $ceV^2 + LVc/f$.
:::
:::
:::
