TL;DR
ePACT is a novel two-level controller for LLM serving that aligns energy consumption with preset hourly electricity commitments. By dynamically adjusting replica counts and GPU clock speeds, it reduces asymmetric deviation costs by over 73% compared to vLLM while maintaining near-identical service-level objective (SLO) attainment.
What Problem Does This Paper Address?
In the world of large-scale data centers, electricity isn't just bought on demand; it’s often procured through hourly commitments. If an operator uses more energy than they promised, they pay a premium. Surprisingly, using less energy can also be costly due to "volume-tolerance" provisions in utility contracts.
Existing LLM serving systems (like vLLM or Sarathi) focus on maximizing throughput or minimizing latency. Energy-aware systems (like DynamoLLM) focus on minimizing total energy. However, neither approach helps an operator hit a specific energy target. The challenge is two-fold:
- Workload Uncertainty: You don't know how many requests will arrive in the next ten minutes, making it hard to plan energy use.
- Two-Sided Costs: You must balance the risk of SLO violations (latency) against the financial penalties of both overusing and underusing your energy budget.
Methods
The authors introduce ePACT (energy-Performance-Aware Commitment Tracking), which manages this trade-off using a two-level control architecture:
- Global Planner: Operating at the start of each decision interval (e.g., every minute), it looks at how much energy has been consumed so far in the hour and how much of the hourly commitment remains. It then calculates a specific energy target for the next interval. If the system is "behind" its budget, the planner raises the target to encourage more work; if "ahead," it lowers it.
- Local Decision Maker: This component takes the interval target and a "live-state snapshot" of the current request queue. It performs a coarse-to-fine action search over two dimensions: the number of active replicas and the GPU clock frequency.
- Predictive Simulation: For each candidate configuration, ePACT uses a profiling-calibrated simulator to predict two things: will this configuration meet the SLOs for the current requests, and how much energy will it consume?
- Selection Logic: It filters out configurations that would miss too many deadlines. Among the remaining "feasible" candidates, it selects the one that minimizes the asymmetric cost of deviating from the global planner's target.
Datasets
The system was evaluated using:
- Azure LLM Inference Trace (2024): A large-scale public dataset of real-world LLM request patterns. The full-day simulations replayed nearly 1 million requests.
- Hardware Profiles: Physical measurements were taken from NVIDIA H20 and H200 GPU pools to calibrate the energy and performance predictors.
- Model: The evaluation used Qwen3.8-27B-FP8, a representative modern LLM, hosted via vLLM.
Key Insights and Ideas
- Commitment as a Reference, Not a Cap: Unlike a power cap that strictly limits consumption, ePACT treats the commitment as a target. It will intentionally "over-consume" energy (by ramping up clocks or replicas) if it helps meet the hourly goal and reduce underuse penalties.
- Asymmetric Costs Matter: The system recognizes that overusing energy might cost more per unit than underusing it (or vice-versa). The controller's objective function explicitly weights these directions differently.
- Service-First Fallback: If no configuration can meet the energy target without violating SLOs, the system prioritizes service quality, falling back to the configuration that minimizes deadline misses.
- Asynchronous Planning: The search for the best configuration happens in parallel with actual request serving. This ensures that the overhead of simulation doesn't add latency to the user's requests.
Key Results
In 24-hour trace simulations, ePACT demonstrated significant economic benefits:
- Cost Reduction: Compared to a standard vLLM setup, ePACT reduced the asymmetric deviation cost by 73.8% on H20 and 75.7% on H200.
- Precision Tracking: The mean absolute hourly deviation from the commitment was kept remarkably low: 2.16% (H20) and 2.31% (H200).
- Maintaining SLOs: Despite the aggressive energy management, SLO attainment remained within 0.03 percentage points of the latency-optimized vLLM baseline.
- Superiority over Energy-Minimizers: ePACT significantly outperformed DynamoLLM (an energy-minimizing baseline) in terms of both cost-to-commitment and SLO attainment, proving that "less energy" is not always "better serving."
Limitations and Future Work
- Calibration Dependency: The local decision maker relies on accurate performance and power models. Moving to a new GPU architecture or a different LLM would require a new round of offline profiling.
- Simplified Cost Model: The paper assumes a linear cost for deviations. Real-world utility contracts can have complex "tolerance bands" where small deviations are free, but large ones are very expensive.
- Scope: The controller focuses on the GPU pool. It does not account for facility-level energy like cooling (PUE), though the authors provide a mathematical mapping to bridge this gap.
- Future Directions: Integrating energy storage (batteries) could provide an additional "buffer" to help hit commitments without needing to change serving configurations as frequently.
Summary updated