Introduction
Data centers are energy giants, currently accounting for approximately 1.5% of global electricity demand. As major cloud providers like Google and Microsoft strive for net-zero emissions, they face a difficult balancing act: they must shift "flexible" workloads—such as model training or log analysis—to periods when the grid is greenest or to locations with lower carbon intensity.
However, the future is uncertain. Compute loads are stochastic, and grid signals are volatile. Existing solutions often fall into two traps: myopic greedy policies that ignore future load spikes, or deterministic planning that fails when real-world data deviates from forecasts. This paper introduces a two-layered framework that uses Distributionally Robust Optimization (DRO) to provide carbon-aware scheduling with provable, probabilistic performance guarantees.
The Two-Layered Framework
The authors propose a control architecture that separates long-term strategic planning from high-speed execution. This allows the system to handle complex optimization without sacrificing the millisecond-level responsiveness required by data centers.
- Day-Ahead Planning (The "Brain"): This layer solves a large-scale optimization problem using DRO. Instead of planning for a single "average" forecast, DRO considers an "ambiguity set"—a neighborhood of possible probability distributions centered around historical data. By using the Wasserstein metric to define this neighborhood, the system prepares for "black swan" events or unexpected shifts in user behavior.
- Real-Time Job Placement (The "Hands"): The day-ahead plan outputs Virtual Capacity Curves (VCCs) and an optimal scheduling strategy. The real-time layer tracks this strategy, placing incoming jobs in the cluster or time-slot that is furthest from its "ideal" allocation.
Virtual Capacity Curves and Robustness
A key innovation is the co-design of VCCs and scheduling. VCCs act as artificial caps on cluster resources, effectively "tricking" the low-level operating system into shifting loads to more carbon-efficient windows without needing to rewrite existing management software.
The model uses two parameters, $\epsilon$ (the radius of the ambiguity set) and $\beta$ (the risk level), to allow operators to trade off between aggressive carbon savings and conservative performance guarantees. Instead of hard constraints, the paper uses Conditional Value-at-Risk (CVaR) to ensure that while virtual limits might occasionally be exceeded in extreme cases, the severity and frequency of those violations are strictly controlled.
Key Results and Insights
The study validated its approach using Google cluster data and real-world carbon intensity traces from four distinct global locations.
- Near-Optimal Performance: The DRO strategy resulted in costs only 2.57% higher than a theoretical "perfect forecast" policy. In contrast, standard myopic greedy policies led to a 14.05% cost increase.
- Peak Shaving: The method demonstrated significant reductions in peak power demand by smoothing the load across the 24-hour horizon, which is critical for grid stability.
- Carbon Sensitivity: The scheduler successfully shifted almost all flexible load out of carbon-intense regions into cleaner ones or more efficient time windows.
Limitations and Future Work
While the current model assumes homogeneous job runtimes (e.g., one hour), the authors suggest adding more job classes to handle varying durations. Future work will also explore receding-horizon control, re-solving the optimization every hour to integrate real-time feedback from job queues and adjust for hardware failures more dynamically.
Summary updated