S43 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S4 · Lesson 3 · Power, energy and the end of Dennard scaling

Why clock rates stopped rising, dark silicon, power budgets, turbo modes and energy per task

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.

  • 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.

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?

Name it

Power

  • Dynamic: P=αCV2f (S3.20). Energy per operation ∝CV2, independent of f.
  • Static (leakage): P=IleakV, paid for every second the circuit is powered.

Dennard scaling and its end

Shrinking dimensions by S, with V→V/S and f→fS:

QuantityPer transistorPer unit area
C1/S
V1/S
fS
power CV2f1/S21 (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 Sv2g, and the usable fraction after n generations is (Sv2g)−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 f3, so a power budget P allows f=f0(P/P0)1/3.
  • Turbo: with only k of N cores active, each can take N/k of the per-core budget and run at f0(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.

Worked example

A task takes 3×109 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?

Show the 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: E=30J+5J=35J
  2. Running slow. Dynamic energy scales by 0.82=0.64, and leakage drops to 4 W for 2 s: E=30×0.64+4×2=19.2+8=27.2J so slowing down saves 22%.
  3. Fast, with 20 W of leakage. E=30+20=50J
  4. Slow, with 20 W of leakage. Leakage drops to 16 W: E=19.2+16×2=51.2J 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).

Worked 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?

Show the solution
  1. A bigger budget. With voltage tracking frequency, P∝f3: f=3×1.51/3GHz=3.43GHz
  2. Turbo on 2 of 8 cores. Each of the 2 active cores can use 4 times its share of the power: f=3×41/3GHz=4.76GHz
  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.

Worked 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?

Show the solution
  1. Growth per generation. Each generation multiplies the power density by Sv2g=1.4
  2. Four generations. 1.44=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

Each generation scales dimensions by √2, the voltage by 0.85 and the clock by 1. By what factor does power density grow per generation?

Check

After 3 generations at √2 per generation, voltage scaling 0.9 per generation and a fixed clock, what fraction of a fixed-power chip can run at full speed?

Check

A core runs at 2.5 GHz on 65 W, with power growing as the cube of frequency. What clock does a 150 W budget allow?

Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.

Check

All 8 cores share a power budget at 2.5 GHz. With only 4 active, each takes an equal share of the whole budget. What clock can they reach (power ∝ f3, no voltage cap)?

Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.

Check

A task of 2 billion cycles runs at 1.5 GHz and 0.9 V. Dynamic energy is 5 nJ per cycle at 1 V (scaling as V2), and leakage is 15 W at 1 V (scaling as V). What energy does the task use?

Write units the way you normally would: 1.5 J, 1500 mJ and 0.0015 kJ are the same answer.

Check

Design A uses 20 J and takes 1 s per task; design B uses 60 J and 2 s. What's A's energy-delay product as a fraction of B's?

Check

A chip switches 1 nF at activity 0.1, at 1 V and 3 GHz, and leaks 1 W.

(a)

What is its dynamic power?

Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.

(b)

What is its total power?

(c)

What dynamic energy does each cycle take?

Check

A 4-core chip runs all cores at 2.5 GHz within its power budget, with voltage tracking frequency so power goes as f3.

(a)

How fast can 2 active core(s) run on the same budget, ignoring voltage limits?

Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.

Check

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

Step 1

By what factor does power density grow per generation?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

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

Practice

Keep practicing

11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.