Reducing electricity demand charge for data centers with partial execution

Hong Xu, Baochun Li

TL;DR

This paper reveals that "demand charges"—fees based on peak power usage—often dominate data center electricity bills more than total energy consumption. By strategically using "partial execution" (returning slightly lower-quality search results during peak times), the authors demonstrate a way to reduce total electricity costs by up to 15.5% without violating service level agreements.

What Problem Does This Paper Address?

Most research on data center energy efficiency focuses on reducing total kilowatt-hours (kWh). However, the authors discovered through an empirical study of real-world utility contracts (specifically those powering Google’s data centers) that utilities charge heavily for the peak power (kW) used during a billing cycle. This is known as a "demand charge." In some regions, like Georgia, the demand charge can be nearly eight times higher than the actual energy consumption charge.

The challenge is that data center workloads are "bursty." If a data center hits a massive power spike for just 15 minutes, it might be billed for that peak for the entire month. The authors tackle the problem of how to "shave" these peaks by exploiting the fact that many modern web services (like search) don't always need to be 100% complete to be useful.

Methods

The authors propose a two-pronged approach:

  1. Partial Execution: They leverage the observation that web search quality is a concave function of processing time. You get most of the relevant results very quickly; the last few milliseconds of processing only yield marginal improvements. By setting a processing timeout during peak periods, the data center can significantly reduce power draw while still meeting a "95th-percentile quality" Service Level Agreement (SLA).
  2. Workload Scheduling & Routing:
    • Single Data Center: They developed a simple, greedy optimal algorithm that identifies the most demanding time slots and switches them to a "low-power/partial execution" mode to satisfy the SLA while minimizing the peak.
  3. Geo-distributed Data Centers: For providers with multiple locations, the problem becomes a complex joint optimization of request routing and execution. To solve this at scale, they used the Alternating Direction Method of Multipliers (ADMM). This allows the system to decompose a massive problem into smaller, parallelizable sub-problems (per-user and per-data center) that converge quickly to an optimal routing strategy.

Datasets

The study utilized several real-world data sources for evaluation:

  • Utility Contracts: Real-world electricity rate schedules from utilities in Oregon, Iowa, Oklahoma, North Carolina, South Carolina, and Georgia.
  • Search Quality Profiles: An empirical search quality trace from Microsoft Bing involving 200,000 queries.
  • Workload Traces: Wikipedia request traces from September 2007, scaled to match the volume of modern Google-scale traffic.
  • Network Latency: Data from iPlane to simulate realistic latencies between global users and data center locations.

Key Insights and Ideas

  • The Binary Nature of Optimization: Interestingly, the authors found that under typical percentile-based SLAs, the optimal strategy is binary. You don't need a sliding scale of quality; you simply choose between a "high-power/full quality" mode and a "low-power/threshold quality" mode.
  • Peak vs. Average: Demand charges are designed to help utilities recover the cost of maintaining capacity for peak loads. For a data center, smoothing the "peak-to-average" ratio is more financially rewarding than simply lowering the average.
  • Decoupling Works: While joint optimization is ideal, the authors found that decoupling request routing (to smooth demand across locations) from partial execution (to shave local peaks) provides a practical and highly effective solution for large-scale systems.

Key Results

  • Single Data Center: Implementing partial execution reduced total electricity costs by 3% to 10.5%, depending on the specific utility's pricing structure.
  • Geo-distributed System: When combining optimized request routing with partial execution, the savings jumped to 15.5%.
  • Algorithmic Efficiency: The ADMM-based distributed routing algorithm converged significantly faster than traditional subgradient methods, typically reaching a solution in fewer than 40 iterations, making it viable for real-time operational use (e.g., every 15 minutes).

Limitations and Future Work

  • Granularity: The model operates on 15-minute intervals. While this matches utility billing cycles, it may not capture very short-term power transients.
  • Workload Specificity: The "concave quality" assumption works well for search and some machine learning tasks but may not apply to "all-or-nothing" workloads like financial transactions or encrypted data processing.
  • Demand Response: The authors suggest that future work should explore how partial execution interacts with formal "demand response" programs, where utilities pay consumers to reduce load during grid emergencies.

Summary updated

BibTeX
@inproceedings{xu2014reducing,
  author = {Hong Xu and Baochun Li},
  title = {{Reducing electricity demand charge for data centers with partial execution}},
  booktitle = {e-Energy},
  year = {2014},
  doi = {10.1145/2602044.2602048},
}
Figure