Performance, Power & Energy

dynamic voltage and frequency scaling (DVFS)

/ DVFS: dee-vee-eff-ess /

Your phone does not run its processor at full blast all the time — that would drain the battery and roast your hand. When you are just reading text it idles slow and cool; when you launch a game it ramps up. Dynamic voltage and frequency scaling is the mechanism behind this: hardware and software adjust the chip's clock speed and supply voltage on the fly, moment to moment, to match the work actually demanded.

DVFS works by exploiting the dynamic-power formula, power is about capacitance times voltage squared times frequency. Crucially, running a circuit faster requires a higher voltage, and running slower allows a lower one, so frequency and voltage are scaled together. When the system lowers the clock it can also lower voltage, and because power depends on voltage squared, dropping both yields a steep, more-than-linear drop in power. The operating system picks among a set of voltage-frequency operating points based on how busy the cores are, throttling down when idle and up under load — often within microseconds.

DVFS is the workhorse of mobile and datacenter power management, but the honest reasoning has a twist that surprises people: running slower saves power, yet it does not always save energy. Power is per-second; energy is power times time. Go slower and you finish later, so you may leak (static power) for longer and waste more total energy. This motivates the opposite strategy, race-to-idle: run at full speed to finish quickly, then power-gate into a deep sleep, sometimes spending less total energy than dawdling at low frequency. Which wins depends on the leakage, the idle savings, and the workload — so DVFS is a tool to be aimed at the right metric, not a guaranteed energy saver.

A core at 1.0 V / 3 GHz draws power proportional to 1.0^2 x 3 = 3.0. DVFS drops it to 0.8 V / 1.5 GHz for a light task: power factor falls to 0.8^2 x 1.5 = 0.96 — about a third of the power. But the task now takes twice as long, so whether total energy fell depends on how much the chip leaks while running longer.

DVFS scales voltage and frequency together for a steep power cut — but slower runs longer, so energy savings are not guaranteed.

Lowering frequency always lowers power but not always energy, because the task then takes longer and leaks for that whole time. Sometimes race-to-idle (full speed, then deep sleep) uses less total energy than running slow.

Also called
DVFSfrequency scalingvoltage scalingSpeedStep動態調頻調壓變頻變壓