Abstract
This paper investigates how data centers can optimize electricity costs by modulating power demands in response to complex real-world pricing schemes, including time-varying rates and peak-power surcharges. We propose a fluid model for power demand that utilizes two primary "knobs": demand dropping and demand delaying. To solve the resulting optimization problems, we develop a Stochastic Dynamic Program (SDP) for predictable environments and robust online algorithms for uncertain scenarios, proving a competitive ratio of $2-1/n$ for the latter. Empirical evaluations using real-world traces (Google, Facebook, MediaServer) demonstrate that demand delaying is significantly more effective than dropping for peak shaving. Furthermore, we show that workload characteristics like the Peak-to-Average Ratio (PAR) and specific electricity tariffs heavily influence the potential for cost savings.
Introduction
Data centers are massive energy consumers, and their electricity bills are driven by more than just total consumption. Utilities employ complex pricing structures to manage grid stability, including time-varying rates (spot pricing) and peak-power surcharges based on the maximum draw in a billing cycle. While previous research often isolated these factors, this study proposes a unified framework to optimize costs by modulating workloads through "IT knobs"—software and hardware mechanisms that delay or drop tasks.
Methodology: The Fluid Model and Control Knobs
The authors model power demand as a continuous "fluid" that can be manipulated via two primary mechanisms:
- Demand Dropping: Discarding a portion of the workload (e.g., lowering search result quality), which incurs a fixed penalty.
- Demand Delaying: Postponing work to a later time, with a penalty that scales with the duration of the delay.
To navigate these trade-offs, the paper introduces several algorithmic approaches:
- Stochastic Dynamic Programming (SDP): Leverages statistical predictions of future workloads. To manage complexity, approximations like SDPLin (linearized delay) and SDPDrop are used.
- Online Algorithms: Designed for unpredictable "flash crowds." ONDrop offers a provable competitive ratio of $2 - 1/n$, while ONMPC (Model Predictive Control) utilizes a short-term lookahead window.
Experimental Setup
The framework was evaluated using four distinct power demand traces to capture a variety of real-world behaviors:
- Google: High "peak width" (sustained high demand).
- Facebook: Strong diurnal (time-of-day) patterns.
- MediaServer: Streaming media traces.
- Synthetic: A MediaServer trace augmented with a massive "flash crowd" spike.
Pricing data was sourced from real-world tariffs, including National Grid (U.S.) and SCEG, to ensure the practical relevance of the findings.
Key Insights and Results
The empirical analysis yielded several critical findings:
- Delaying vs. Dropping: Delaying is significantly more effective for "peak shaving." For the Google workload, delaying saved 10.74% in costs, compared to just 1.45% for dropping. Delaying allows the system to "fill the valleys" of low usage without losing task value.
- Workload Sensitivity: Savings are highly dependent on workload characteristics. Workloads with sharp, narrow peaks (high PAR) offer greater optimization potential. For instance, the Facebook workload saw 16.97% savings under peak-based pricing but only 1.55% under time-varying pricing.
- Algorithm Performance: The ONDrop algorithm performed remarkably well without future knowledge, closely trailing the optimal offline solution. Furthermore, savings were maximized (up to 11.98%) when power demand and prices were positively correlated.
Conclusion
This research demonstrates that intelligent workload modulation can lead to substantial cost reductions in data center operations. While the fluid model provides a strong theoretical foundation, future work involves translating these abstract "knobs" into discrete task-scheduling instructions and integrating demand-side modulation with supply-side options like on-site energy storage.
Summary updated