Distinguish gross energy from activity above a baseline
Use scoped idle and switching models without treating utilization as a universal wattage predictor.
On this page
The question for today
What you’ll understand
- Compute gross and baseline-subtracted energy for a declared interval.
- Interpret a simplified CMOS switching-power expression.
- Explain why utilization and frequency alone do not determine system power.
A computer can consume electricity while producing no useful result. Memory refresh, powered circuitry, fans, background services, and infrastructure overhead do not disappear when an application reports zero activity. This makes the baseline consequential: finishing work sooner can avoid some time-dependent overhead even when instantaneous power rises. Yet subtracting a baseline is a modeling choice, not a way to make gross electricity vanish. Describe both the powered system and the counterfactual idle condition before calling a job energy efficient.
Use utilization models as local approximations
Energy-proportional computing asks how system consumption changes with useful load, rather than assuming an idle machine is free. A simple affine model connects a measured idle point and a measured full-load point. It can help organize a local experiment, but the utilization coordinate must be defined. A GPU busy-time percentage does not describe which execution units switched, how much memory traffic occurred, or how much work completed. Two equally busy kernels can therefore draw different power.
An affine fit can also fail when operating states change. Clocks, voltage, temperature, memory behavior, or the number of active devices can change abruptly with load. Measure several representative operating points and inspect residuals before interpolating. Fit within a stated hardware configuration and workload family; do not extrapolate a line fitted to one job into another architecture. A baseline measured with a loaded model and warm memory need not equal one measured before initialization.
Keep transistor switching separate from the whole system
A CMOS switching approximation makes the voltage dependence explicit: charging effective capacitance more frequently requires more power. The activity factor represents how often relevant nodes switch. At fixed activity, capacitance, and frequency, doubling voltage multiplies this switching term by four. This reasoning explains why voltage choices matter, but it excludes leakage, regulator losses, memory subsystems, and other components unless additional terms are supplied. It cannot predict a board sensor from frequency alone.
Frequency and voltage are often coupled by an operating-point policy, but that coupling is hardware-specific. A cubic frequency rule requires extra assumptions about how voltage scales with frequency and about which power component dominates. State those assumptions if using such a model. Temperature can affect leakage and throttling, and reduced frequency may lengthen execution enough to increase total gross energy. Model the time response alongside the watts instead of treating a smaller power number as the final objective.
Specify the baseline counterfactual
Gross energy integrates all power inside the boundary during the job. Incremental energy subtracts a hypothetical baseline over that same duration. The latter asks what changed relative to keeping this particular system in that particular idle state. It does not automatically describe what would happen if a scheduler consolidated jobs, suspended the machine, or released an entire server. Those alternatives change the counterfactual and may change shared background loads as well.
Report the baseline trace or approximation together with its temperature, residency, software state, and measurement window. If the system performs useful background work during the supposed idle run, subtraction can misattribute its energy. Negative incremental estimates can signal noise, mismatched conditions, or a real transition to a lower-power state; they are not proof that computation generated electricity. Retain gross totals even when incremental comparisons are useful for one narrowly defined optimization.
Work it through
A baseline accounts for half of a fictional interval
A fictional node spends 2 seconds at 60 W and 3 seconds at 160 W. Its declared counterfactual would remain at 60 W for all 5 seconds. Compute gross energy, baseline energy, incremental energy, and average power.
Gross energy is 60×2+160×3=120+480=600 J. Both phases belong to the same electrical boundary and together cover the complete five-second measurement.
The stipulated baseline contributes 60×5=300 J. Incremental energy relative to that baseline is 600−300=300 J. Equivalently, the three active seconds add (160−60)×3=300 J.
Average gross power is 600 J/5 s=120 W. The 300 J incremental account does not erase the other 300 J from the physical electricity total; it answers the declared counterfactual question.
The interval consumes 600 J gross, with 300 J above the specified idle baseline. Its average is 120 W, not the 160 W active-phase reading.
The living notebook
Explore the model
Interactive lab · function
Inspect one quadratic dependence in isolation
Reset, set Coefficient a to 1 and Position x to 1; predict y=1 before Step. Reset, set a to 1 and x to 2; predict y=4 before Step. Interpret x only as a dimensionless voltage ratio with other switching factors held fixed. This quadratic illustrates one modeled dependence; it does not include leakage, operating-point policies, or whole-device power.
- y at chosen x
- 0.608
- Tangent slope · 2ax
- 1.35
- Signed area · ax³/3
- 0.182
This lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forA quadratic component dependence does not define the response of the complete system.
Pause & reason
Check your understanding
Your turn
Try it yourself
Use the fictional affine approximation Pidle=50 W, Pfull=150 W, u=0.4 for a 10-second interval. Find modeled power, gross energy, and incremental energy above the constant idle baseline.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Interpolate the 100 W difference first; subtract baseline energy over the identical duration.
Compare with the solution
Modeled power is 50+0.4×100=90 W, giving 900 J gross. The idle counterfactual uses 50×10=500 J, so incremental energy is 400 J. These are consequences of the stipulated affine model. A busy-time sensor reading of 0.4 would not establish this power without evidence that the model applies.
Keep the idea
Take it with you
- Idle consumption makes execution duration relevant to gross energy.
- The CMOS switching term excludes many system components.
- Incremental energy depends on a stated counterfactual baseline.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.