Abstract
This paper addresses the operating cost minimization problem for next-generation "hybrid" data centers that utilize both grid power and on-site energy generation. By jointly optimizing server capacity and energy procurement through novel online algorithms—GCSR and CHASE—the authors demonstrate significant cost reductions. A key finding is that provisioning on-site generators for only 60% of peak power can capture over 95% of potential savings, offering a practical roadmap for sustainable data center operations.
The Rise of Hybrid Data Centers
Historically, data centers have been pure energy consumers, relying entirely on the power grid. However, rising electricity costs, grid reliability issues, and the push for green energy are driving the rise of "hybrid" data centers. These facilities, pioneered by companies like Apple and eBay, feature significant on-site power generation such as fuel cells or solar arrays.
This shift creates a complex optimization challenge. Operators must now manage both energy demand (dynamically toggling servers based on workload) and energy supply (deciding whether to buy from the grid or activate on-site generators based on fluctuating prices). Traditionally, these two domains are handled separately. This research investigates how to jointly optimize both in real-time to minimize total operating costs, accounting for the wear-and-tear and startup costs of toggling both servers and generators.
Joint Optimization Methodology
The authors formulate the Data Center Cost Minimization (DCM) problem as a non-linear mixed-integer program. Since future workloads and grid prices are unknown, they focus on developing online algorithms with proven competitive ratios.
Key methodological steps include:
- Decomposition: The joint problem is decomposed into a Capacity Provisioning (CP) problem and an Energy Provisioning (EP) problem with a mathematically bounded loss in optimality.
- GCSR Algorithm for CP: To decide when to turn off idle servers, the authors adapt the classic "ski-rental" framework. The algorithm accumulates an "idling cost" for a server; once this equals the cost of shutting down and restarting, the server is powered down.
- CHASE Algorithm for EP: To manage generators, this algorithm tracks the cumulative cost difference between using the grid versus on-site generation. Once potential savings offset the generator's expensive startup cost, it is activated.
The combined algorithm, DCMON, runs GCSR to determine server demand and feeds that demand into CHASE to determine the most cost-effective power supply.
Empirical Evaluation and Results
The algorithms were evaluated using real-world "request-response" web traffic traces from Akamai servers in New York and San Jose, paired with matching hourly grid power prices from National Grid and PG&E.
- Hybrid Data Centers: The online algorithm (with zero future look-ahead) achieved a 20.7% cost reduction compared to a baseline of static provisioning and grid-only power. The offline optimal reached 25.8%.
- The Hybrid Advantage: On-site generation provides an additional ~13% cost reduction over relying solely on the grid.
- Theoretical Guarantees: The online algorithm for on-grid data centers achieves a competitive ratio of $2-\alpha_s$ (where $\alpha_s$ is the normalized look-ahead window size), which is proven to be the best possible ratio for any deterministic online algorithm.
Strategic Insights
- Joint Optimization is Crucial: Optimizing energy supply and server demand separately results in a specific factor loss of optimality. Joint management is essential as grid prices become more volatile.
- Diminishing Returns on Look-ahead: A short look-ahead window of just 6 hours allows the online algorithm to perform almost identically to the offline optimal.
- The 60% Sweet Spot: A data center does not need to go 100% off-grid. Sizing on-site generators to cover just 60% of peak power demand achieves over 95% of the maximum possible cost reduction, as peak demands are relatively rare.
- Geography Dictates Strategy: In high-price areas like New York, energy provisioning (switching to generators) yields the most savings. In areas with cheaper power but skewed workloads like San Jose, capacity provisioning (turning servers off at night) is the primary driver.
Conclusion and Future Work
While the current model assumes homogeneous hardware and interactive workloads, it provides a robust foundation for hybrid data center management. Future research will explore heterogeneous hardware, deferrable background workloads, and the integration of large-scale energy storage devices to further enhance flexibility and cost-efficiency.
Summary updated