Manuscript Offprint

arXiv:2610.08373

ECO: Energy-Oriented Configuration Optimization for Attention FFN Disaggregated LLM Serving

Zou Qingyun, Bin Gao, Zhuobin Huang, Weng-Fai Wong, Tulika Mitra, Bingsheng He

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Energy-efficient LLM serving requires minimizing serving GPU energy while meeting latency and throughput service-level objectives (SLOs). Attention–FFN disaggregation (AFD) enables separate resource allocation and operating controls for attention and expert computation, but their energy effects remain coupled through the execution pipeline. Realizing its energy-saving potential therefore requires navigating a hierarchical configuration space in which deployment structures constrain admissible controls and shape their end-to-end effects. Finding low-energy configurations that meet SLOs is challenging because physical evaluations are costly and only a small fraction of candidates can be measured. We present Energy-Oriented Configuration Optimization (ECO), which jointly searches deployment structures and their admissible operating controls under a limited measurement budget. ECO constructs a structure-aware energy prior from calibrated stage behavior and pipeline dependencies, then learns residual prediction errors with a Gaussian process. Its cost-aware constrained Bayesian optimization prioritizes measurements according to expected energy improvement while accounting for SLO feasibility, execution success, and evaluation cost, and returns the lowest-energy measured feasible configuration. Across all 16 scenarios on A6000 and A100 with Qwen and DeepSeek, ECO's frozen configurations, evaluated on disjoint requests, reduce serving energy by 40.5% and increase output token rate by 20.7% on average relative to baselines while meeting target SLOs. Across the 8 A6000 scenarios, its selected feasible energy averages 33.1% below generic constrained Bayesian optimization and 25.8% below genetic search.

1 INTRODUCTION

Energy-efficient LLM serving requires minimizing serving GPU energy while meeting latency and throughput service-level objectives (SLOs). Attention–feed-forward network (FFN) disaggregation (AFD) provides additional flexibility for pursuing this objective. Attention and expert FFNs have different computation, memory, and communication demands (Rajbhandari et al., 2022; Zhu et al., 2025). By placing them on separate GPU groups, AFD allows each role to use its own resource allocation, parallelism, frequency, and power cap (Zhu et al., 2025; Wu et al., 2026). By placing them on separate GPU groups, AFD provides flexibility in both the deployment structure, including GPU allocation, parallelism, and dual batch overlap (DBO) settings, and the operating controls, including per-role frequencies and power caps (Zhu et al., 2025; Wu et al., 2026). The central configuration problem is how to use this flexibility to reduce energy across the active GPUs while satisfying fixed service requirements. Three properties of AFD make this problem challenging.

First, deployment structure and operating controls are coupled through the execution pipeline. Each microbatch passes through attention, dispatch, FFN, and combine before entering the next layer. Slowing one stage may reduce its power draw, but can also delay dependent stages and extend the time during which other GPUs consume power. A local power reduction therefore need not reduce total serving energy: its benefit depends on how the selected structure permits work to overlap and delays to propagate. Evaluating operating controls therefore requires accounting for their effects across the pipeline.

Figure

Figure 1: AFD execution and configuration dependencies. Left: GPU groups and load-dependent clocks. Right: configuration choices and their effects on service and energy.

Second, AFD has a hierarchical configuration space. GPU allocation constrains the parallelism choices available to each role, while parallelism and DBO settings determine how work is partitioned and overlapped within the deployment. Frequencies and power caps must also satisfy the constraints of the assigned hardware. These dependencies restrict which combinations of settings form valid configurations and must be respected during search. However, satisfying the known static constraints does not ensure that a configuration will execute successfully or meet the SLOs.

Third, configuration selection depends on the model and offered load. The same deployment structure and operating controls can produce different energy and service responses across models and workloads. As load increases, a configuration may need higher operating frequencies, additional GPUs, or a different allocation between attention and FFN computation to remain feasible. The appropriate adjustment can differ across models, so deployment structures and operating controls need to be evaluated jointly for the target model and workload.

Identifying suitable configurations under these conditions requires extensive measurements, but each measurement is costly. Each trial incurs lifecycle overhead from deployment, warmup, workload replay, and telemetry collection, and failed trials consume budget too. Our audited A6000 spaces contain 2,700–22,950 statically legal candidates, while 16 search attempts cover only 0.070–0.593%. Such sparse coverage makes it difficult to learn the energy and feasibility of unmeasured configurations solely from observed outcomes. The practical problem is therefore to identify low-energy, SLO-feasible configurations in a structured search space using a limited measurement budget.

Prior systems establish the value of coordinated provisioning and frequency control. AFD systems study resource partitioning and communication-aware execution (Zhu et al., 2025; Wu et al., 2026); DynamoLLM coordinates instance count, parallelism, and frequency (Stojkovic et al., 2024); and AFlex combines AFD provisioning with operator profiling and GPU frequency control (Hu et al., 2026). Our focus is how to select energy-efficient, SLO-feasible configurations when measurements for the target deployment are limited. A black-box energy surrogate without pipeline information must learn configuration effects primarily from sparse observations. AFD, however, exposes useful structure before search begins: configuration rules constrain legal deployments, and pipeline dependencies shape how operating controls affect energy. The key question is how to incorporate this information into an energy prior that helps identify promising feasible configurations within the available measurement budget.

We present Energy-Oriented Configuration Optimization (ECO) to address this question. To our knowledge, ECO is the first design-space exploration framework jointly searching AFD structures and GPU frequencies under a limited measurement budget. As search proceeds, stage records from measured configurations calibrate structure-specific stage behavior. ECO propagates predicted stage times through pipeline dependencies and combines the resulting timing estimates with calibrated GPU power to estimate serving energy. A Gaussian process (GP) learns residual prediction errors from completed trials, refining the prior with measured outcomes. Building on constrained and cost-aware Bayesian optimization (Gelbart et al., 2014; Gardner et al., 2014; Snoek et al., 2012), ECO's cost-aware constrained Bayesian optimization ( C2BOC^{2}BO) prioritizes candidates according to expected energy improvement while accounting for SLO feasibility, execution success, and evaluation cost. Acquisition-based choices are interleaved with structure and single-control probes that supply calibration data within the same search allowance. ECO returns the lowest-energy measured configuration that passes the execution and SLO eligibility checks, with its settings fixed during subsequent serving. Our contributions are as follows:

Figure

Figure

Figure

Figure 2: AFD configuration characterization on A6000. From left to right: search-space size, DBO–frequency interaction, selected allocations, and selected clocks and energy across loads.

• Configuration characterization. We characterize AFD’s deployment hierarchy, present an example of structure-dependent frequency behavior, and examine model- and load-dependent configuration selections. Exact validator counts quantify search-space coverage under measurement budget.

• Structure-guided optimization. We develop ECO for budgeted AFD configuration search. ECO combines a calibrated stage-and-pipeline energy prior with GP residual correction and cost-aware constrained Bayesian optimization to guide the selection of physical measurements.

• Empirical evaluation. We evaluate ECO with Qwen and DeepSeek on A6000 and A100 GPUs. Across all 16 scenarios, the frozen configurations, evaluated on disjoint requests, reduce serving energy by 40.5% and increase output token rate by 20.7% on average relative to Default on the same held-out requests, with scenarios weighted equally, while meeting the fixed scenario SLOs. Ablations examine the effects of energy modeling, joint tuning, and cost-aware acquisition.

• Deployment insights. We examine the selected configurations to derive deployment insights into configuration reuse, asymmetric GPU allocation, and service headroom in the tested scenarios.

References (20)