Conceptio › Archive › arXiv CS
arXiv CS open access

OpScale: Operator-level Provisioning and Autoscaling for LLM Serving

2026 · arxiv_cs
arXiv CS · Papers · 2026
Open Source ↗Direct PDF ↓
clouddistributed-computingparallel-computing
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

O P S CALE: Operator-level Provisioning and Autoscaling for LLM Serving Xingqi Cui Rice University

Chieh-Jan Mike Liang Microsoft Research

Ziang Tang Rice University

Jiarong Xing Rice University

Haoran Qiu Microsoft Azure Research

arXiv:2608.13499v1 [cs.DC] 13 Aug 2026

Abstract

Model-Level Autoscaling à Scale to 2 Instances

Achieving cost efficiency while meeting strict user-facing SLOs (e.g., time-to-first-token) remains a fundamental challenge for cloud GPU clusters serving large language models (LLMs). Autoscaling is the key mechanism for cluster resource management, yet a basic system design question is open for serving LLMs: what should be the unit of scaling? Existing approaches primarily treat the entire model as a monolithic scaling unit—simple but unable to capture the finegrained dynamics of inference workloads. As a result, such coarse-grained scaling often leads to either SLO violations under bursty demand or significant GPU under-utilization. Our characterization reveals substantial operator heterogeneity, exposing operator-level elasticity as a viable scaling primitive. We present O P S CALE, a practical operator-level orchestration framework of profiling, provisioning, placement, and runtime serving. O P S CALE is designed to tackle the high complexity and the space explosion problem, arising from operating at this finer granularity. Evaluated with production traces on up to 40 A100s and 24 GB200s, O P S CALE attains SLOs with up to 36.3% fewer GPUs and 28% less power, or achieves 44% higher throughput under fixed cost budgets.

1

A Model Instance (e.g., Llama-3.3 70B)

Increasing Demand

GPU Server A

GPU Server B

Deployed on GPU Server A

Bottleneck Fewer GPUs

Operator-Level Autoscaling

Figure 1: LLM serving at model- vs. operator-level.

First, model-level scaling is resource-inefficient. Generative models are data flows of heterogeneous operators (e.g., attention, linear transformation, and normalization). Forcing all operators to scale uniformly causes over-provisioning, where non-bottleneck operators consume precious GPU memory and cycles. Second, model-level autoscaling is slow. Loading a full model onto additional GPUs incurs significant startup latency (e.g., average startup time for a 70B model is around ten seconds even with state-of-the-art methods [16]). This delay makes it largely exceed the time granularity of traffic fluctuations, which often occur within seconds in LLM workloads [53, 57]. Therefore, it either results in SLO violations or costly over-allocation and thus poor cluster utilization. Our Work. We propose a new paradigm: operator-level provisioning and scaling (Figure 1, bottom), which is the key to unblock the two fundamental efficiency limitations. By shifting the unit of scaling from monolithic models to individual operators within each model replica, we enable precise resource allocation and reduce elasticity latency down to subsecond scales. However, realizing this paradigm to achieve resource management at such fine granularity requires addressing two systems challenges. First, identifying which operators to scale is non-trivial: (1) The inference bottleneck shifts dynamically with workload changes (e.g., arrival rate, input lengths). For example, linear operators dominate compute at short sequence lengths, whereas attention operators become the primary bottleneck under long-context workloads; (2) Not all operators benefit

Introduction

Online serving of large generative models such as LLMs is the most resource-intensive workload in cloud infrastructure today. Providers must navigate a fundamental tension: meeting strict user-facing Service-level Objectives (SLOs) for Time-toFirst-Token (TTFT) and Time-Between-Tokens (TBT), while minimizing GPU footprints and power consumption [57]. Motivation. To avoid SLO violations, providers often statically provision for peak demand. However, based on experience from global cloud providers, LLM inference workloads are highly dynamic with hard-to-predict input/output sequence lengths; thus, reserved GPU pools can only be utilized at 50% and 39% when provisioning for the P95 demand of text and multimodal workloads, respectively [53, 57, 65]. Achieving high utilization requires SLO-aware autoscaling [30, 53, 57]. Today’s state-of-the-art operates at modellevel granularity (Figure 1, top), scaling the number of full model replicas (e.g., prefill instances). This coarse-grained approach is fundamentally inefficient for two reasons. 1

2

#Tokens per Second Frequency (%)

equally from the same resource scaling action. For instance, linear operators gain from added replicas as the arrival rate grows while operators like normalization are lightweight in compute, and benefit more from batching. Second, scaling operators to separate GPUs wastes resources and incurs crossdevice communication, whereas colocating scaled operators improves utilization but risks interference across shared GPU resources like SM (Streaming Multiprocessor), memory, and interconnects. This necessitates interconnect-aware operator placement with fine-grained contention modeling. To solve these challenges, we first perform a theoretical analysis of operator-level provisioning and scaling to characterize heterogeneity based on workload-aware sensitivity, resource elasticity, and inter-operator communication. Building upon the theoretical framework, we design O P S CALE, an end-to-end cluster-scale orchestration system across multiple planes. (1) A data plane captures the performance characteristics and resource sensitivity of each operator under diverse workload conditions (batch size, sequence length, query rate); (2) A control plane integrates these profiles with live traffic to compute optimal scaling and contention-aware placement plans; (3) An execution plane deploys provisioning plans, manages distributed operator lifecycles across GPU servers, and orchestrates runtime request routing. Together, O P S CALE provisions GPU resources at the operator level and scales minimally (i.e., the bottleneck operators at traffic spike and the most non-sensitive operators when traffic goes down) to meet fluctuating traffic demands within the running engine. Results. We evaluated O P S CALE on a cluster of up to 40 NVIDIA A100 GPUs and 24 GB200s, comparing against the model-level inference scaling platforms: DynamoLLM [57], AIBrix [59], and the vLLM Production Stack [20]. Across diverse model architectures (i.e., text vs. vision models, dense vs. MoE models) on production-scale traces [51, 57] (processed 929K requests and 1.5B tokens), O P S CALE achieves better SLO attainment with up to 36.3% fewer GPUs and 28% lower power consumption, with gains amplified on a GB200 cluster with faster interconnects (NVL domains) [38]. Contributions. Our main contributions include: • A systematic characterization of operator heterogeneity on compute–memory sensitivities to workload changes. • A novel and practical operator-level provisioning strategy, to exploit intra-model heterogeneity for high efficiency. • An end-to-end system implementation called O P S CALE that instantiates operator-level resource management. • Comprehensive evaluations with production-scale traces to highlight O P S CALE’s superior GPU cost savings.

80k

Peak

Min

Mean

10

20

30

Traffic Variability

60k 40k 20k 0

Time Windows (each window = 10s)

40

Chat Avg Ratio (Chat): 2.03x Code Avg Ratio (Code): 5.78x

20% 10% 0%

2

4

6

8

10

Peak-to-Min Ratio within Each Scaling Window

Peak-to-Min Ratio

Figure 2: Burstiness in production LLM inference traffic [57] leads to large variability even within a 10-second timescale (for both Chat and Code services), making model-level autoscaling hard to adapt promptly. 4.0 3.5 3.0 2.5 2.0 1.5 1.0

Chat

Coding

15.0 12.5 10.0 7.5 5.0 2.5

1s

2s

5s

10s

20s

Model Scaling Latency

30s

1s

2s

5s

10s

20s

Model Scaling Latency

30s

Figure 3: Larger autoscaling latency misses more finegrained traffic variations across production workloads due to the increased load peak-to-min ratio.

with distinct traffic patterns and strict SLOs on TTFT and TBT [57]. As a result, the central challenge arises from meeting these performance targets under dynamic workloads while minimizing total resource costs. Today, the key solution is SLO-targeted autoscaling [19, 30, 49, 57, 59]. Its goal is twofold—(1) provisioning minimal model deployment size without violating user SLOs, and (2) doing so quickly to avoid unnecessary over/underprovisioning periods that waste total GPU-hours or power. Limitations of Model-level Scaling. Current state-of-the-art serving systems—including AIBrix [59], DynamoLLM [57], and the vLLM Production Stack [20]—rely on model-level autoscaling. This approach adjusts capacity by replicating the entire model as a monolithic unit (Figure 1, top). While straightforward to implement, this coarse-grained granularity forces a rigid coupling between model components, fundamentally hindering meeting the two requirements above. (1) Speed Mismatch between Model Scaling Overhead and Traffic Dynamics. Loading a full model onto additional GPUs incurs significant startup latency (e.g., loading a 70B model

Motivation

O P S CALE targets per-model autoscaling, the dominant deployment pattern in production LLM clusters where GPUs are elastically allocated to serve each model based on its load [51, 53, 57]. A model can serve diverse workloads (e.g., chats [44], deep research [46], and vibe coding [45]), each 2

Normalized Latency

Qwen2-7B

103

Compute Attention Op Heavy Ops

102 101 100

Memory Heavy Ops 100

101

102

Normalized Memory

Llama3-8B y=x Attention Op

103

Qwen2-57B-A14B Attention Op

103

Mistral-8x7B 103

Attention Op

Qwen2.5-VL-32B 103

102

102

102

102

101

101

101

101

100

100

101

102

Normalized Memory

100

100

101

102

Normalized Memory

100

100

101

102

Normalized Memory

100

Attention Op

100

101

Normalized Memory

102

Figure 4: Operator compute and memory sensitivities to sequence lengths across different model architectures. Each line is a different operator, with each data points measured at sequence lengths in [128, 256, ..., 64K] from left to right. The y = x marks the linear scaling with increased sequence length. Detailed per-operator results are provided in Figure 20 and Figure 21. takes >10 seconds on average, even with state-of-the-art methods [16]). This delay can lag the traffic fluctuations common in LLM workloads [53, 57], often resulting in SLO violations or over-provisioning. As shown in Figure 2, production LLM traffic [57] exhibits rapid, high-amplitude bursts where peak demand can exceed the minimum by more than 2× (for Chat) and 5× (for Code) on average, even within a 10-second scaling window. Figure 3 further illustrates how model-level autoscaling can miss even more of these short-lived fluctuations in these workloads, as scaling latency increases. (2) Granularity Mismatch between Monolithic Scaling and Operator Heterogeneity. Model-level autoscaling treats the model as a monolithic scaling unit, ignoring that LLM inference is inherently a data flow graph [69], where nodes are operators (e.g., attention, linear transformation, and normalization), and edges are data dependencies. This operator heterogeneity suggests that operators might not equally contribute to SLO violations as traffic demand increases. Consequently, monolithic scaling can waste resources by uniformly increasing capacity across all operators yet failing to precisely alleviate the truly bottlenecked operators. To examine this mismatch, §2.1 next presents a systematic characterization of operator behavior across diverse model architectures.

2.1

MoE [27] and Mixtral-8x7B [26]. Models are served by vLLM on a server with NVIDIA A100 GPUs [37]. We employ the CUDA time profiler [41] to collect GPU kernel execution times, and instrument inference with a customized version of vLLM’s built-in layerwise_profile library [61]. This setup captures fine-grained kernel measurements, including compute time, weight memory, activation memory, and interoperator communication, enabling a comprehensive analysis of runtime bottlenecks and operator-level summaries. We use CUDA Green Contexts [43] for the allocation of SM cores to each operator, and DCGM [42] for SM utilization monitoring. Compute Sensitivity. We profile per-operator compute time as the actual GPU execution time (µs), recorded using CUDA event profiling. We collect the kernel-only time by excluding CPU overheads and memory-transfer latencies, as these overheads can be effectively hidden by overlapping them with GPU kernel execution using asynchronous operations. Figure 4 (Y-axis) and Figure 5 present compute-sensitivity curves for all operators in each model, with respect to sequence length and batch size, respectively. First, we note the non-negligible spread of curves among operators within a model. It highlights how differently the workload changes impact the compute time for each operator. Second, models exhibit different degrees of heterogeneity, going from a narrower spread (e.g., Qwen2-7B and Llama3-8B in Figure 4) to a wider spread (e.g., Qwen2-57B-A14B and Mixtral-8x7B). This implies that operators do not equally contribute to SLO violations, especially in the latter case with higher diversity. The spread of sensitivity curves arises from the intrinsic computational structure of different operators. As shown in Figure 5, operators with substantial per-token arithmetic (e.g., large MLP operations, wide linear projections, and fused MoE operations) exhibit near-linear or even super-linear scaling when batch size increases, as their arithmetic intensity dominates memory and kernel-launch overheads. In contrast, lightweight operators (e.g., layer norms, element-wise activations, small projections) scale sub-linearly because their fixed launch costs and memory-bound behavior become increasingly amortized at larger batch sizes. Finally, attention operators exhibit the steepest growth: self-

Operator Characterization Study

To understand how workload dynamics affect different parts of a generative model, we characterize performance metrics for each operator by varying the request sequence length, batch size, and arrival rate. We focus on metrics that can drive autoscaling decisions: compute time and memory usage1 . Our study characterizes each operator’s per-metric sensitivity, quantifying the rate at which performance metrics change as workload changes. We define sensitivity as the normalized performance relative to a base configuration (e.g., batch size of one). It allows us to identify performance-critical operators. Experiment Setup. We consider models of two dominant architectures (Table 3): dense LLMs and mixture-of-experts (MoE). The former includes Qwen2-7B [28], Llama3-8B [25], and Qwen2.5-VL-32B [29]. The latter includes Qwen21 Additional characterization results in Appendix C.

3

Llama3-8B

Linear 16

32

101

100

12 4 8

Qwen2-57B-A14B

Batch Size

Mistral-8x7B

101

Qwen2.5-VL-32B

FusedMoE

FusedMoE

MLP Linear Less Sensitive

Normalized Latency

Qwen2-7B MLP Linear

101

103

Attention

102

101

101 100

12 4 8

16

Batch Size

32

100

12 4 8

16

32

Batch Size

100

12 4 8

16

Batch Size

32

100

12 4 8

16

32

Batch Size

Figure 5: Operator compute sensitivity to batch sizes across different model architectures. Each line is a different operator.

102 101 100

b Voca

Takeaway 1: Operators exhibit varying compute sensitivity, with heterogeneity differing across models. Workloadaware, operator-level scaling of compute resources is needed rather than uniform, model-wide scaling.

30 25 20 15 10 5 0

Avg Memory Sensitivity

Avg Compute Sensitivity

attention incurs quadratic complexity in sequence length (L), while remaining linear in batch size (b). This O (L2 b) complexity is significantly higher than operators that scale linearly (O (Lb)) with the workload, such as MLPs, norms, and embedding lookups. Therefore, linear operators (e.g., FusedMoE) can dominate compute at short sequences, and attention becomes the primary contributor as sequence length grows.

e d d m ar n ar m ar ul ar EmbReMS NQoKr V Lintaery Emabpee CachAttenLtPioIn LinReMS Nor O Line SiLU OMut Line M Add Ro Resh MLP

Unique Operators (per Layer) in Qwen2-7B

Figure 6: Averaged per-operator compute- vs. memorysensitive in Qwen2-7B across different sequence lengths.

Memory Sensitivity. We profile both operator weight memory and transient memory usage. The former refers to the static storage of model parameters. The latter refers to the intermediate tensors and KV cache, which are generated during inference computation. By profiling memory usage under varying sequence lengths and batch sizes, we quantify each operator’s memory sensitivity based on how its memory usage scales with these factors. Figure 4 (X-axis) shows that the attention operator dominates memory growth due to its O(L2 ) scaling with sequence length, while most other operators grow roughly linearly. Unlike a naïve attention implementation that materializes an O (L2 ) attention-score matrix, the FlashAttention implementation used in our experiments [12] avoids it and exhibits approximately linear memory growth with sequence length. Several activation-heavy kernels, such as fused act_and_mul, follow a similar trend, whereas operators such as index_select and reshape_and_cache remain nearly flat over the evaluated range of request sequence lengths.

ously heavy or lightweight (QKV Linear) in both dimensions. This two-dimensional heterogeneity highlights that workloadinduced pressure does not manifest uniformly across operators. Instead, each operator responds differently depending on the dominant resource dimension. Takeaway 3: Operators may be sensitive in both compute and memory, in either, or even in neither. Due to such mismatch, orchestrating GPU resources requires jointly considering each operator’s sensitivity profile and this compute-memory trade-off (e.g. avoid scaling computecheap but memory-heavy operators to save capacity). Sensitivity to SM Core Allocation. Modern GPUs support spatial sharing, e.g., CUDA Green Contexts [43] can specify the number of SMs allocated to each operator’s stream. To guide operator-to-device placement, we characterize the sensitivity of operator compute time to SM core allocation. We consider both the long request sequence of 2K tokens (prefill phase), and the short sequence of 1 token (decode phase). For the long 2K-token sequence, as SM allocation increases, the normalized latency for all operators decreases significantly (Figure 7a). This observation is particularly highlighted for compute-intensive operators such as Attention and MLP. Shown in Figure 7b, the reason is that these operators naturally require many SM cores. A reduction in SM allocation results in latency increases, hence steeper sensitivity curves. A different pattern emerges in the decode phase (1-token sequence length). Most sensitivity curves are relatively flat, with a minor latency decrease as SM cores are allocated (Figure 7a). Again, Figure 7b clarifies the reason: the SM utilization is generally too low to saturate the available resources.

Takeaway 2: Memory sensitivity varies less across operators and models compared to compute sensitivity. It is bounded by linear scaling with FlashAttention. Cross-Dimension Analysis. Figure 6 plots the average peroperator sensitivity, with respect to sequence length for both compute time and memory usage, using a representative layer from the Qwen2-7B model. We observe substantial variation not only in the absolute magnitude of each sensitivity metric, but also in their relative ratio. Some operators are highly compute-intensive yet exhibit less memory growth (Attention); others are memory-intensive while remaining lightweight in compute (RMS Norm); and a few are simultane4

Normalized Latency

12.5 10.0 7.5 5.0 2.5

Sequence Length = 2K

Sequence Length = 1

Vocab Embed Rotary Embed MLP Out QKV Linear Attention RMS Norm

Rotary Embed Layer Norm Vocab Embed MLP Out RMS Norm

10 20 30 40 50 60 70 80 90 100

10 20 30 40 50 60 70 80 90 100

SM Allocation (%)

cost remains within 8% of this oracle.

3.1

SM Allocation (%)

SM Utilization

(a) Operator normalized latency to SM allocation. 100

Sequence Length = 2K

Sequence Length = 1

10 20 30 40 50 60 70 80 90 100

10 20 30 40 50 60 70 80 90 100

75 50 25 0

SM Allocation (%)

SM Allocation (%)

(b) Operator SM utilization (%) to SM allocation.

Figure 7: Performance and SM utilization characteristics across operators in Qwen2-7B under varying SM allocations.

Takeaway 4: Sensitivity to SM allocation varies widely across operators, sequence lengths, and prefill/decode phases. Particularly, spatial sharing is suitable for short sequences, as allocation reduction imposes less impact.

2.2

v∈V

Tv and Cv are operator v’s computation time and communication time to its downstream operators. Both depend on v’s configurations (Pv , Bv , Av ) and request sequence length (L). Wv denotes the waiting time at each operator v modeled in networked queues [32], and each operator can be modeled as an M/M/Rv queue [5] (Poisson arrivals and exponential service times). The service rate of v is µv = T1v . Then, Wv is: C(Rv , ρv ) λ Wv = with ρv = (2) Rv µv − λ Rv µv where C(Rv , ρv ) is the Erlang-C formula [4]. Resource Objective. To minimize the logical shard-replica demand across all operators: min ∑ Pv · Rv (3)

Rethinking the Scaling Unit

Rather than improving model-level autoscaling, the intra-layer heterogeneity (§2.1) motivates us to rethink autoscaling at a finer-grained scaling unit—the operators. Conceptually, the paradigm shift to operator-level autoscaling is feasible, as operators satisfy the desirable property of functional and temporal isolation. First, operators have explicit execution boundaries during inference. They are compiled into GPU kernels and executed within a CUDA stream, which is an ordered sequence of kernels that may overlap with data transfers to improve throughput [6]. These kernels are scheduled to run on the GPU’s SM cores. Each kernel is run-to-complete without preemption, and there are techniques allowing multiple streams to share SM cores (e.g., MPS [40], MIG [39], and CUDA Green Contexts [43]). Second, each operator maintains its weights and intermediate data in GPU memory, along with temporary buffers for transient memory needs.

3

Theoretical Problem Formulation

Op-level autoscaling is inherently a multi-objective optimization problem. It considers both SLO and resource objectives, and specifies the following inputs and solutions. Problem Inputs and Solutions. LLM inference is an execution of the operator DAG [48], G = (V , E ): V is the set of operators and E represents data dependencies. Given a stream of requests x ∈ X, problem inputs include arrival rate λ (QPS) and request sequence length distribution (L(x)). Solutions are per-operator configurations, which include batch size (Bv ), number of replicas (Rv ), number of tensor parallelism shards per replica (Pv ), and per-shard device assignment (Av ). Furthermore, for GPUs that support spatial sharing techniques such as CUDA Green Contexts [43], the configuration also specifies the number of SMs allocated to a shard (Sv ). SLO Objective. A request goes through multiple iterations of the operator DAG [48]. The first iteration is prefill, which processes the full input sequence L(x) of the request. Each subsequent decode iteration generates one output token at a time. Two common inference serving SLOs are TTFT and TBT, for prefill and decode iterations, respectively. The latency of an iteration, Titr , should be less than the SLO. Titr = ∑ (Tv +Cv +Wv ) < TSLO (1)

v∈V

At the same time, deploying operator replicas needs to respect cap the memory and SM constraint of each GPU device (Md ). cap ∑ Mv ≤ Md , ∑ Sv ≤ 100, ∀d ∈ D (4) v∈V :Av =d

v∈V :Av =d weight where Mv = Mv + Mvtransient , or weight memory and tran-

Operator-Level Autoscaling

sient memory (e.g., activations, KV cache).

Building upon the insights of operator heterogeneity, a natural question arises: what are the resource efficiency benefits expected from operator (op)-level autoscaling? To this end, we present our analysis, based on a novel theoretical optimization problem formulation for SLO-driven op-level autoscaling. Note that solving the optimization problem results in an offline analytical oracle to quantify the opportunity from op-level autoscaling. The online system instead uses the millisecondscale greedy provisioning heuristic in §4.3, whose resource

3.2

Benefit Analysis

Building on the analytical formulation in §3.1, we use a profiling-driven performance model that captures each operator’s compute cost, memory footprint, communication volume, and queueing behavior. L(x) is derived from production LLM inference traces [57]. This model2 computes the 2 Accuracy of operator profiles and the analytical model is in §5.7.

5

60

Qwen2-57B-A14B (MoE)

50

Savings (%)

Savings (%)

Qwen2-7B (Dense) GPU Savings Energy Savings Memory Savings

40 20 0

512 1K 2K 4K 8K 16K 32K 64K

Sequence Length

Sequence Length

Savings (%)

50 40

Qwen2-57B-A14B (MoE)

20 10 40

60

QPS

80

100

20

40

60

QPS

80

10 Qwen2-0.5B

Qwen2-1.5B

Models

Qwen2-7B

Qwen2-72B

Varying QPS. Figure 9 (in blue) shows that GPU device savings peak around 30% near QPS = 40. Beyond this point, savings fluctuate slightly, as SM saturation and tighter latency margins reduce opportunities for GPU device sharing. On the other hand, savings remain negligible at low QPS (<20), where the provisioned model instance can handle limited traffic demands without scaling. Energy savings (in green) reach up to 25% at high QPS for Qwen2-7B, primarily driven by the reduced GPU device count from op-level autoscaling’s selective operator scaling decisions. Memory savings (in orange) grow steadily with QPS, surpassing 50% at 100 QPS, reflecting a similar trend to sequence length growth.

GPU Savings Energy Savings Memory Savings

20

20

Figure 10: Saving comparisons across model sizes.

30

0

GPU Savings Energy Savings Memory Savings

30

0

512 1K 2K 4K 8K 16K 32K 64K

Figure 8: Benefits of op-level provisioning compared to model-level under varying sequence lengths (refer to Figure 22 in Appendix for full results).

Qwen2-7B (Dense)

40

100

Figure 9: Benefits of op-level provisioning compared to model level under varying QPS (refer to Figure 23 in Appendix for full results).

Takeaway 6: Op-level autoscaling yields the most benefits at moderate to high QPS. The finer-grained provisioning mitigates queueing delays, without excessive allocations.

expected TTFT, TBT, and energy consumption for any operator configuration and identifies the optimal SLO-compliant deployments by exhaustively enumerating all feasible configurations. Our analysis utilizes two representative LLMs: dense Qwen2-7B and MoE Qwen2-57B-A14B. We vary the workload from 10–100 QPS and 128–64K sequence lengths, and evaluate a spectrum of stringent to relaxed SLOs. We compare the minimal SLO-compliant provisioning plan at the model level with the optimal op-level provisioning plan using the analytical model, solved using exhaustive search. Varying Sequence Length. Figure 8 shows that GPU savings (in blue) peak around 30% for dense model and 40% for MoE. This peak occurs at 4K-token sequences. The savings start to drop at 8K, where the compute load grows to saturate SM cores and limit GPU sharing. MoE models exhibit higher savings because their operators have a more diverse sensitivity. Energy savings (in green) follow a similar trend, reaching up to 25% reduction at peak. Unlike GPU device savings, energy savings are still noticeable beyond 4K sequences. The reason is that op-level autoscaling only needs to scale a subset of operators, in contrast to model-level autoscaling. In addition, GPU memory savings (in orange) grow steadily with sequence length, surpassing 60% at 32K sequences.

Large vs. Small Models. We analyze the factor of model size using the Qwen2 model family, ranging from 0.5 to 72 billion parameters. As shown in Figure 10, op-level scaling yields substantial savings, especially as the model size scales up. For smaller models, savings are generally modest. The reason is that operators do not exhibit a high degree of heterogeneity, which necessitates going finer than model-level scaling. However, as model size increases to Qwen2-1.5B and Qwen2-7B, GPU and energy savings rise to ∼20–30%, while memory savings exceed 35%. For the largest model, Qwen2-72B, both energy and memory savings peak at ∼50%. Large models tend to exhibit a higher degree of operator heterogeneity, encouraging the use of finer-grained resource provisioning3 . Takeaway 7: Larger models benefit more from op-level autoscaling, due to greater operator heterogeneity.

4

O P S CALE Design and Implementation

Realizing op-level scaling in practice requires overcoming significant profiling, optimization, and runtime challenges at such fine granularity. Specifically, the finer granularity results in a growing number of scaling units. To this end, we design a system called O P S CALE, to tame this resulting complexity with two decoupled planes (Figure 11).

Takeaway 5: Op-level autoscaling is most beneficial at moderate sequence lengths, though long sequences can still exhibit up to 25% energy and 60% memory savings.

3 Additional analysis results on op-level provisioning (including a study

on prefill and decode stages) are in Appendix E.

6

OpScale (This Work) Model Topology

Operator Provisioning Operator Placement

GPU Topology

...

Worker

Worker

Update Traffic & Request Distribution Update Client Requests

API Server

Input Processing

Without GPU Sharing

Worker

Operator Profile

Operator Scaling Plan

Stage 1: Operator Provisioning

Operator Replicas

Control Plane

Replica Manager Requests

Model Runner Interface

Stage 2: Operator Placement

Cluster Execution Plane

Server

Server

Batch Model Output Scheduling Execution Processing LLM Engine (e.g., vLLM, SGLang)

NVL

SpatialTemporal Capacity Modeling

with GPU sharing

Figure 12: O P S CALE control plane consists of operator provisioning (§4.3) and placement (§4.4).

Figure 11: O P S CALE architecture overview.

profiling a 0.5B-parameter model (with 11 unique operators) would require weeks of GPU time. This is untenable for model iteration and deployment in production. Operator Configuration Space. Deriving the optimal operator scaling plan is an NP-hard integer non-linear programming problem (§3.1). The search space grows combinatorially with the number of operators and each of the configuration dimensions (Pv , Rv , Sv , Av ). Brute-force solvers take minutes for even a small 0.5B-parameter model, while production traffic requires high-quality decisions within seconds (Figure 2).

Control Plane. As the runtime core of O P S CALE, the control plane operates asynchronously to compute an operator scaling plan (specified in §3.1) through three modules: 1. Operator Profiler (§4.2): An offline module that profiles three operator attributes: (1) computation time (Tv ), (2) memory usage (Mv ), and (3) communication overhead (Cv ) from its topological dependencies. Profiling is a one-time effort and can be reused across model architectures. 2. Operator Provisioning (§4.3): A module that computes optimal operator configurations (Pv , Rv , Bv ) based on operator profiles, current traffic, and model topology. 3. Operator Placement (§4.4): A module that maps logical replicas to physical GPUs (Av , Sv ), accounting for resource contention and cross-device communication. Execution Plane. A centralized Replica Manager (§4.5) orchestrates replica lifecycles and serves as a request dispatcher. Unlike model-level routing, which assigns each request to a full model replica, O P S CALE routes requests through pools of operator replicas: each stage gathers outputs from its replica pool and forwards the activations to the next stage’s operators. This routing employs a weighted shortest-queue policy, accounting for SM allocation and colocation contention.

4.1

NVL NVL / IB

Replicated Utilization Bubble

4.2

Operator Profiling

Our experience with exhaustive profiling highlights an observation, where it ignores patterns in operator behavior. Considering compute sensitivity, while Figure 5 shows that operators can have seemingly different sensitivity curves with respect to batch size changes, they mostly exhibit a monotonic trend. The observation above suggests that it is feasible for Operator Profiler to employ a sparse sampling strategy. Instead of performing exhaustive enumeration, we first sample random points in the (B, L) space. These points are then used by techniques such as piecewise interpolation. Interpolation is simple, as it is non-parametric and does not require training prior to estimating an unsampled point. Furthermore, we exploit the structural equivalence of LLM architectures. As some operators (e.g., Attention and MLP) are identical across layers and models, their profiles can be reused. With parallel execution of sampling tasks, multibillion-parameter models can be profiled in under an hour.

Complexity and Tractability

The complexity from a growing number of scaling units is reflected in the combinatorial explosion of operator profiling and configuration spaces. While §3.1 provides the theoretical basis for optimal op-level autoscaling, applying it directly to a runtime system can be impractical, especially with the prohibitive cost of running exhaustive search. We discuss the two main space explosion problems next. Operator Profiling Space. Characterizing operator sensitivities ideally requires profiling operator behavior (Tv , Mv ,Cv ) across a vast state space, which is defined by batch size (B), sequence length (L), and SM allocation percentage (S). The problem arises as we consider their ranges. A typical setup has B ∈ [1, 256], L ∈ [1, 65536] (discretized), and SM allocation percentage S ∈ [1, 100]. Here, a naive exhaustive search would require profiling over 107 configurations per operator. Even if each micro-benchmark run takes only 100 ms, exhaustively

4.3

Operator Provisioning

To navigate the combinatorial explosion challenge, O P S CALE leverages an observation derived from operator heterogeneity. Specifically, sensitivity curves suggest that operators experience different degrees of performance impact due to workload changes. In other words, by prioritizing critical operators (i.e., operators that expect the most impact) for provisioning first, we avoid exhaustively provisioning all operators in the model. This optimization process proceeds in two distinct phases4 : 4 Algorithm 1 in Appendix B.

7

1. Initialization (Local Optimality): We first establish a baseline configuration by inheriting the initial parallelism Pv from the model deployment strategy (i.e., tensor parallelism for intra-server and pipeline parallelism for crossserver deployment [60]). For each operator, we scan feasible batch sizes b ∈ {1, . . . , Bmax v } to find the minimal replica count Rv (b) = ⌈λ/µv (b, Pv )⌉ required to sustain the request arrival rate with no queue build-up (Eq. 2). We select the (Bv , Rv ) pair that minimizes the local sojourn time Tv +Wv , providing a latency-optimal starting point.

in a lookup table; at placement time, queries take O(1) time, with configurations snapped to the nearest profiled grid point. Our model covers operator pairs, approximating three-way co-location by multiplying pairwise factors. We validate prediction accuracy against held-out measurements in §5.7. Best-Fit Placement Algorithm. With Id,v defined, the placement heuristic proceeds in three steps: 1. Decomposition & Ordering: To simplify the packing problem, we first decompose the global resource demand into two sets: (1) Base Instances (Rbase ), the minimum full-model replicas required for baseline service stability, deployed monolithically; and (2) Elastic Components (Rextra ), the remaining unassigned operator replicas to be packed dynamically. We then sort Rextra in descending order of computational cost Tv (or dominant resource demand). This prioritizes bottleneck operators when the cluster has the most contiguous space, reducing “tail fragmentation” where only small gaps remain for heavy operators. 2. Greedy Best-Fit Placement: For each replica r, we search for a candidate device d ∈ D that minimizes the residual capacity vector ∥Cd − vr ∥, where Cd denotes the current available resources on device d. A placement is considered valid only if it satisfies the safety constraint. Using the interference model (Eq. 5), we compute the interferenceadjusted latency Tv′ = Tv · Id,v (bv , pv ) and verify that the resulting global latency remains within the model’s SLO. Only when no existing device can accommodate r, a new device is activated, thereby minimizing active GPUs. 3. Locality-Aware Tie-Breaking: When multiple devices provide comparable fits, O P S CALE prioritizes placements that preserve data locality, minimizing communication overhead. It further ranks candidates by communication hierarchy, favoring intra-device, then intra-server (NVLink) or NVL domain, and cross-server (InfiniBand) placements. The same placement routine is applied incrementally during autoscaling events. Placement is not accepted independently of provisioning: for every candidate device, O P S CALE feeds the profiled communication cost and interference-adjusted operator latency back into the end-to-end latency model. A candidate that would violate the SLO is rejected; if no existing device remains feasible, O P S CALE activates a new device. Thus, provisioning proposes the logical replica configuration, while placement verifies that the physical realization preserves its SLO estimate. By avoiding global re-optimization, this greedy strategy maintains low decision latency while providing high-quality placements in dynamic traffic conditions.

2. Iterative Critical Path Optimization: The algorithm then evaluates the global DAG latency Ttotal against the SLO by iteratively identifying the current critical path: • Upscaling (SLO Violation): If Ttotal > SLO, we identify the bottleneck operator v that contributes the most to the critical path latency in the DAG. We greedily apply the specific adjustment: either increasing replicas Rv or tuning (Bv , Pv ) that yields the maximal latency reduction per unit of resource cost. Repeat until SLO is met. • Downscaling (Resource Reclamation): Conversely, if Ttotal < SLO, we relax the configuration of the top noncritical operators to reclaim resources, ensuring the system operates at the efficiency Pareto frontier. Unlike the exhaustive search used only for the offline benefit analysis (§3.2), this greedy method runs online and achieves near-optimal resource efficiency: its resource cost is within 8% of the brute-force oracle, while online incremental plan generation takes only milliseconds (§5.6).

4.4

Operator Placement

O P S CALE treats placement as a multi-dimensional binpacking problem, mapping operator replicas onto minimal GPUs. For GPUs supporting spatial sharing, O P S CALE can further reduce the total GPU footprint, by colocating operators. However, this requires the placement algorithm to be aware of the colocation interference. This section first discusses our interference model, and then presents a locality-aware Best-Fit Decreasing heuristic with spatial-temporal modeling5 . Interference Model. As operators share a device via CUDA Green Contexts, contention on HBM bandwidth, L2 cache, and SM schedulers introduces performance interference. Let operator replica v run on device d with batch size b and SM fraction p; we define an interference factor: Id,v (b, p) = T̃v (b, p) / Tv (b, p) ≥ 1, (5) where T̃v (b, p) is the co-execution latency and Tv (b, p) is the isolated latency at the same SM allocation. This formulation captures co-location effects in a single empirical factor Id,v (b, p), which is used by Alg. 2 without additional modeling assumptions. During the one-time offline profiling effort, we sweep sequence length and SM splits at 5% granularity for each operator-type pair, co-running both operators on separate green-ctx streams. The resulting Id,v values are stored

4.5

Execution Plane

O P S CALE’s Execution Plane actuates the scaling plan generated by the control plane. To support efficient op-level replicating and execution, we extend the LLM engine runtime with the following novel features and optimizations. Dynamic Operator Replicating and Registering. Existing LLM engines assume a static execution graph with fixed op-

5 Algorithm 2 in Appendix B.

8

3

5

P99 TTFT (s)

erators, whereas O P S CALE must dynamically adjust operator replicas and execution paths. To support this, O P S CALE introduces a Replica Manager that maintains a dynamic registry of Operator Replicas, automatically registering new replicas. A late-binding mechanism via forward_pre_hooks transparently intercepts operator calls, to select the appropriate replica at runtime. This enables in-flight requests to immediately switch to the new execution graph with zero downtime. Moreover, replicating operators requires allocating GPU memory at runtime while existing LLM engines require all memory to be pre-allocated during engine initialization. To solve this problem, O P S CALE implements an ElasticBlockManager by integrating kvcached [66, 67]. This allows the engine to dynamically allocate memory for newly created replicas and reclaim memory from those removed. Multi-Stream Management. For a model with D layers, |V | operators per layer, and up to R replicas per operator, naively creating a unique stream for every instance incurs prohibitive performance overhead due to the frequent switching between streams (O(D × |V | × R)). We address this bottleneck via a two-tier strategy: (1) Stream Reuse exploits the sequential nature of layers. A GlobalStreamPool recycles streams across pipeline stages. This bounds resource overhead to O(R) regardless of model depth. (2) Cross-Device Pipelining hides the communication latency between consecutive operators. A MultiDeviceStreamPool pipelines remote data transfers (e.g., NVLink) with kernel execution, ensuring data arrives exactly when the compute kernel is ready. Each stream is further bound to a green-context resource, with SM allocation derived from the interference model (Eq. 5). This enforces hardware-level partitioning at dispatch time. Operator Pipelining and Dispatching. Monolithic execution runs all operators on a single CUDA stream, creating utilization bubbles as later operators must wait for earlier ones. To improve throughput, inspired by Nanoflow [69], O P S CALE adopts pipelined execution, allowing operators to run concurrently upon available inputs. Requests are dispatched to operator replicas via shortest-queue routing, weighted by replica capacity, and dependent data is synchronized between operators using lightweight CUDA events.

2

DynamoLLM AIBrix

Production Stack OpScale TTFT SLO (1.0s)

1

Total Power (W)

Number of GPUs

0 20 15 10 5 0 6K 4K 2K 0K

500

1000

1500

2000

Time (seconds)

2500

3000

3500

Figure 13: Comparison of request performance, GPU usage, and cluster power usage during autoscaling for Qwen2-7B.

the underlying inference runtime.

5.1

Experiment Setup

Models and Traces. We evaluate O P S CALE using two representative LLMs: Qwen2-7B [28] (a dense LLM) and Qwen257B-A14B [27] (an MoE LLM). These models capture two widely used architectures in generative models. We use production LLM serving traces [57] which include temporal request arrival patterns and sequence lengths collected from real-world interactions, enabling controlled and reproducible evaluations of autoscaling under dynamic load conditions. Hardware. Most experiments are conducted on a 40-GPU cluster of five Azure GPU VMs [37]. Each VM is equipped with 8 NVIDIA A100-80GB GPUs connected via NVLink and high-speed InfiniBand networking. For sensitivity study on hardware and granularity, we also evaluate O P S CALE on a cluster of 24 GB200 GPUs within the same NVLink domain. Baselines. We compare O P S CALE against state-of-the-art model-level autoscaling systems ported over the common nano-vLLM backend: (1) DynamoLLM [57] (SLO-driven), which dynamically adjusts model replicas based on max perinstance serving throughput under given TTFT and TBT SLOs. (2) AIBrix [59] (utilization mode), which uses GPU utilization metrics to decide scaling actions. (3) Production Stack [20] (queue-driven), which triggers scaling based on the number of pending prompt tokens in the queue. We adopt the recommended configurations in each baseline’s documentation. Model scaling frequency is set to every 20 seconds. Additionally, we add (4) DVFS [57] and µ-Serve [54] for power consumption comparison, and (5) Attn-FFN disaggre-

Evaluation

We prototyped O P S CALE on top of nano-vLLM [18] in ∼17K lines of Python code. nano-vLLM is a minimalist inference framework that inherits key optimizations from vLLM (e.g., PagedAttention, continuous batching, and tensor parallelism), ensuring that our results are representative of modern highperformance LLM serving systems. For a controlled comparison, all evaluated approaches use the same nano-vLLM inference engine, including the same model implementation, kernels, batching scheduler, KV-cache manager, and tensorparallel backend. The experiments reproduce each baseline’s autoscaling policy over this common data plane; the intended differences are the scaling policy and granularity, rather than 9

gation [62] for scaling granularity study.

2K 1K 0

P50

12

DynamoLLM+DVFS DynamoLLM

10 8

OpScale

r

We first evaluate O P S CALE and baselines under dynamic load patterns to assess autoscaling behavior, including GPU usage, request SLO attainment, and total power consumption. In total, each model serves 929K requests (1.5B prompt tokens) replayed from the production traces [57]. Figure 13 presents the autoscaling comparison in a onehour sample of the trace for Qwen2-7B (MoE results are in Appendix F). O P S CALE consistently provisions fewer GPUs while delivering the highest SLO attainment across both dense and MoE models: O P S CALE requires on average 7.1 GPUs, a 35–50% reduction compared to DynamoLLM (11.2), AIBrix (14.3), and Production Stack (13.0). This is because (1) O P S CALE only scales out critical operators, and (2) it scales down faster to avoid idle provisioning. Consequently, we observe a reduced power usage (bottom row) from O P S CALE, even though the per-GPU utilization is higher. In addition, O P S CALE’s faster elasticity (1 second) and fine-grained optimization loop (§4.3) help achieve the best SLO attainment: 98.4%, compared to 88–95% for the baselines. For the MoE model (Figure 27), the trend is similar, but with even higher GPU savings. This aligns with the theoretical analysis (§3.2). O P S CALE allocates only 10.8 GPUs on average, much lower than DynamoLLM (17.3), the GPUutil-based autoscaler (23.1), and the queue-based baseline (18.0). SLO attainment improves correspondingly: O P S CALE reaches 98.1%, compared to 84.2–97% for baselines. These differences match the behavior visible in the figure — baselines frequently over-allocate GPUs yet still incur noticeable tail TTFT spikes during fast load surges, whereas O P S CALE maintains stable latency with a substantially smaller footprint. Where Do the Savings Come From? The savings come from two sources. First, O P S CALE scales at the operator level rather than at the model level. The bottleneck operators shift continuously with the workload. At short sequence lengths, linear project and MLP operators can dominate compute. As sequence length grows, attention becomes increasingly critical because of its steeper sequence-length sensitivity. O P S CALE tracks this shifting profile and redistributes resources across the full operator set, avoiding the waste of scaling operators that are not the current bottleneck. Second, scaling itself is fast: sub-second operator actuation keeps the actuation portion of the response to transient spikes small, avoiding the standing overprovisioning that would otherwise be needed to absorb demand while slower scaling catches up. Impact on Power Consumption. Figure 13 shows that O P S CALE consistently consumes the lowest cluster-level power (mainly by reducing operator replicas and GPU idle power). To further evaluate power–performance trade-offs, we compare O P S CALE against two power-aware baselines: (1) DynamoLLM+DVFS (enabling GPU frequency scaling) and (2) µ-Serve++ (augmenting µ-Serve’s power-aware model

OpScale AIBrix Prod. Stack DynamoLLM DynamoLLM (with DVFS) -Serve++

3K

Avg GPU Count

Dynamic Autoscaling

tte Be

Cluster Power (W)

5.2

AIBrix Prod. Stack -Serve

14

4K

90

95

100

SLO Attainment (%)

P90

Figure 14: Cluster-level power Figure 15: Cost vs. SLO consumption comparison. attainment trade-off. Table 1: Scale-up latency on Qwen2-7B. Approach

P99 latency

P90 latency

Avg. latency

Model-level

11.55 s

11.04 s

10.68 s

OpScale (1 op) OpScale (50% ops) OpScale (all ops)

0.10 s 0.42 s 0.45 s

0.05 s 0.26 s 0.38 s

0.03 s 0.18 s 0.33 s

partitioning and placement with DynamoLLM’s autoscaling logic). Figure 14 shows that O P S CALE achieves the lowest power consumption at both P50 and P90 (20% and 16% less than the best power-aware baseline µ-Serve++). Figure 15 further illustrates the trade-off between performance and cost. While DVFS-based baselines like DynamoLLM+DVFS and µ-Serve++ improve power consumption, they lag behind O P S CALE in both dimensions of SLO attainment and GPU costs. These results confirm that structural op-level elasticity is more effective for system-wide power savings than coarse-grained replica scaling or DVFS. MoE results are in Appendix F. Scale-up Latency. A major contribution to better SLO attainment under dynamic traffic is the rapid response to the demand changes. To understand elasticity limits, we compare the scaling overhead of op-level provisioning against traditional model-level scaling across a range of scaling intensities. Table 1 reports results on Qwen2-7B. Model-level scaling incurs non-trivial per-model-instance latency of 10.7 seconds on average, as each scale-out event requires (1) loading the full set of model weights and (2) provisioning an additional LLM engine control plane. On the other hand, O P S CALE needs to load and initialize replicas only for the provisioned operators. In addition, it avoids replicating the LLM engine control plane, which together reduces scaling overhead by up to two orders of magnitude (P99 <0.45 s), even when provisioning many operators simultaneously. A fully warm standby instance can reduce this startup latency, but it must reserve enough GPU memory and compute capacity for an entire model replica even while idle. Under our cost objective, such reserved GPUs are counted as provisioned capacity; a warm standby therefore exchanges persistent over-provisioning for faster response rather than eliminating the scaling cost. Table 1 instead compares on-demand scale-out without pre-reserving 10

Qwen2-57B-A14B (MoE)

30

Token Throughput (TPS)

Number of GPUs

Qwen2-7B (Dense) Monolith (1k) Monolith (4k) Monolith (8k)

OpScale (1k) OpScale (4k) OpScale (8k)

20 10 0

80

120

160

QPS

200

240

25

50

75

QPS

100

125

Qwen2-7B (Dense) 2.5M 2.0M 1.5M 1.0M 0.5M 0.0M

Qwen2-57B-A14B (MoE)

Monolith (1k) Monolith (4k) Monolith (8k)

8

16

24

OpScale (1k) OpScale (4k) OpScale (8k)

32

Number of GPUs

40

8

16

24

32

Number of GPUs

40

(a) Number of GPUs required.

Total Power (kW)

Qwen2-7B (Dense) 10 8 6 4 2 0

80

120

160

QPS

Figure 17: Max throughput achieved at fixed provisioning.

Qwen2-57B-A14B (MoE)

Monolith (1k) Monolith (4k) Monolith (8k)

OpScale (1k) OpScale (4k) OpScale (8k)

200

240

25

50

75

QPS

5.4

100

Op-level provisioning also benefits static deployments, with a fixed number of GPUs. In static clusters up to 40 GPUs, we increase the request arrival load until each system reaches its SLO limit and report the maximum sustainable input token throughput (TPS). Shown in Figure 17, O P S CALE achieves higher throughput from the same hardware allocation. For the dense Qwen2-7B model, O P S CALE improves peak TPS by 3–38% across cluster sizes and request sequence lengths. The improvement is even larger for the MoE model, where O P S CALE achieves up to 44% higher TPS at 40 GPUs. These improvements follow the same mechanism as the dynamic scaling results: the fixed budget is directed toward the operators that limit throughput. At shorter contexts this favors the heavy linear or fused expert operators, while longer contexts shift capacity toward attention; lightweight operators retain fewer replicas and are packed into the residual SM/memory capacity. Model-level provisioning cannot make this exchange because each added replica duplicates every operator. Beyond Attn-FFN. We further compare O P S CALE against Attn-FFN partitioning [62, 70, 71], which only decouples attention and FFN blocks (Figure 18). While Attn-FFN reduces GPU demand compared to model-level baseline, it is consistently outperformed by O P S CALE’s full operator-level elasticity. On A100 clusters, O P S CALE reduces GPU demand by up to 33%, translating to a 1.7× throughput gain. The advantage of O P S CALE scales with hardware interconnect. When switching from A100 cluster to GB200 [38] (with NVL domain), O P S CALE reduces the required GPU count by 52% at peak load while the benefits drop to 38% for the baseline. With op-level decoupled provisioning, O P S CALE better exploits high-speed interconnects to avoid the resource fragmentation inherent in coarser block-level or replica-level approaches. Overall, even without elastic scaling, O P S CALE can drive significantly higher throughput from the same provisioned devices, demonstrating improved efficiency under both dynamic (§5.2) and static (§5.4) deployments.

125

(b) Average total power consumption.

Figure 16: Comparison of the serving cost (in total GPUs and total power consumption) for varying QPS.

an additional full-model replica.

5.3

Throughput Improvements

Cost Savings when Meeting SLOs

To understand the limits of cost savings, we evaluate the minimum capacity required to sustain varying workloads, while meeting the same latency SLOs. For each QPS level, we configure and scale both systems (model-level vs. O P S CALE) until the SLO violation rate falls below the threshold (e.g., when P99 TTFT of Qwen2-7B is smaller than one second). Figure 16 presents the provisioned capacity, measured in total GPUs and total power draw, required to sustain increasing traffic in QPS. Across both dense and MoE models, O P S CALE consistently achieves the target SLO with 20.1% and 35.7% fewer GPUs on average, respectively, for requests with 1K sequence lengths. This reduction stems from O P S CALE’s fine-grained op-level provisioning, which avoids the overprovisioning required by monolithic model-level provisioning. O P S CALE’s savings for longer requests vary from 36.3% (for 4K) to 22.1% (for 8K) under the same SLO target, aligning with our observation from the theoretical analysis (§3.2). The reduction in GPU usage directly translates into lower power consumption (Figure 16b). At high load, O P S CALE reduces cluster-wide power draw by 14–28% (depending on the model and sequence length), even though the per-GPU power can be higher in O P S CALE (e.g., 282 W vs. 245 W on average). Notably, unlike baselines whose power usage grows sharply with QPS due to coarse scaling actions in rigid GPU increments, O P S CALE maintains a smoother growth curve, reflecting its ability to exploit latent compute slack at the operator level before allocating additional hardware.

5.5

Robustness and Sensitivity Analysis

We analyze how O P S CALE behaves under different autoscaling intervals and SLO targets, to characterize its robustness. Shown in Figure 19 (left), the SLO attainment rate increases 11

30

Monolith Attn-FFN OpScale

38%

20

52%

10

10

20

30

Table 2: Accuracy of profiling-driven models (relative error).

40

Max Throughput (RPS)

Number of GPUs

40

30

20

10

40

A100 GB200 0

10

QPS

20

30

SLO Attainment (%)

90

97.4% 91.4% 93.9%

80 SLO = 1.0s 70 12 5

AIBrix (overprovisioning) 89.5% 89.4% 89.2% DynamoLLM Production Stack

76.5%

10

15

20 0.5

Scaling Interval (seconds)

1.0

Scaling Interval = 1.0s OpScale 1.5

2.0

SLO Target (seconds)

2.5

Figure 19: (Left) Impact of the scaling interval on SLO attainment. (Right) Impact of SLO target. Both with Qwen2-7B. as the autoscaling interval decreases within the 1–20 seconds range, reaching 97.4% when the interval is set to one second. This aligns with our observation from serving production LLM workloads (Figure 3), where a shorter scaling interval allows the system to react before the traffic deviates significantly, reducing queue buildup and improving SLO attainment. Horizontal lines indicate model-level approaches scaling every 20 seconds. At a 20-second interval, O P S CALE’s SLO attainment drops to 89%, still surpassing the model-level baselines. The only exception is AIBrix, which unfortunately overprovisions with the utilization-based scaling mode. In Figure 19 (right), we fix the autoscaling interval to one second and look at the SLO attainment rates under varying SLO targets. SLO target for the baselines (dashed lines) is one second. O P S CALE achieves 100% SLO attainment when the SLO target is relaxed, but the benefits of op-level autoscaling would diminish. On the other hand, even with a stricter SLO (0.8 seconds), O P S CALE achieves the same SLO attainment, compared to Production Stack with an SLO of one second. Additional sensitivity analysis on model sizes, prefill/decode stages, sequence lengths are in §3.2 and Appendix E.

5.6

Average

P90

Operator profile SM contention model Queueing model

Sensitivity prediction Slowdown prediction Latency prediction

7% 5% 0.8%

15% 9.4% 1.9%

per-replica dispatch costs. This contributes a 0.3% total overhead (i.e., ∼1.5 ms out of a ∼500-ms prefill iteration). We mitigate dispatch overhead by replacing blocking synchronizations with event-based ordering. With lazy-sync optimization and pipelining the remaining 90 µs of CPU work behind GPU kernel execution, O P S CALE successfully hides architectural overhead, ensuring total overhead in the execution plane remains negligible relative to end-to-end performance. Offline Profiling Overhead. Operator profiling is a one-time, offline effort. With sparse sampling and structural equivalence across layers (§4.2), profiling a 57B model can complete in under an hour, on a single GB200 node. These costs are amortized across model generations; because successive releases within a model family typically retain core operator types (e.g., Attention and MLP with identical kernel implementations), profiles collected for one generation largely transfer to the next—only operators whose kernel structure has changed (e.g., a switch from multi-head to grouped-query attention) require re-profiling. For example, the Llama 2→3 and Qwen 1.5→2 transitions preserve the same SwiGLU MLP and RoPE attention operators; only the attention head grouping and vocabulary-embedding dimensions differ, limiting re-profiling to a small subset of operators. Cross-family reuse is also feasible when models share common operator implementations (e.g., FlashAttention), further reducing the marginal profiling cost for new models.

100.0% 100.0% 97.4% 99.0% 84.71%

Error Rate Metric

40

Number of GPUs

Figure 18: Static provisioning comparison across serving granularities and hardware configurations. 100

Component

5.7

Profiling-driven Model Accuracy

We evaluate the accuracy of the underlying models that drive O P S CALE’s provisioning and placement decisions. Summary results are reported in Table 2. Operator Sensitivity Modeling. We compare predicted performance from our piecewise sensitivity model (§4.2) against measured runtime metrics. The average relative error is 7% (P90 15%). Since operator provisioning depends primarily on identifying relative bottlenecks rather than absolute latency values, this fidelity is sufficient to guide optimal scaling while significantly reducing profiling effort. SM Contention Modeling. O P S CALE models SM contention when operators are colocated on the same GPU. Unlike prior interference models [9, 13, 55] that struggle to generalize [24], O P S CALE’s empirical degradation model (§4.4) estimates latency inflation as a function of allocated SM fractions. During runtime validation, the average slowdown prediction error is 5% (P90 9.4%). This accuracy enables effective colocation and achieves substantial throughput gains (§5.4) by balancing spatial and temporal GPU resources. While our approach

O P S CALE Overhead

Online Overhead and Scalability. O P S CALE imposes negligible control-plane overhead. For Qwen2-7B, the optimizer computes a full scaling plan in 2.6 ms median (P99 3.2 ms), including 2.5 ms for provisioning and 0.1 ms for placement, all on CPU. This provides ∼370× headroom in a 1-sec scaling interval. For the larger Qwen2-57B-A14B model, total time remains low at 4.4 ms. At the execution plane, overhead consists of (1) per-operator load-balancing lookups and (2) 12

operates at the SM allocation granularity, incorporating finergrained kernel-level spatial and temporal multiplexing (e.g., LithOS [11]) could further reduce interference and improve accuracy, which we leave to future work. Queue Modeling. The analytical networked queueing model underlying the control plane (§3) estimates the end-to-end iteration latency by composing per-operator sojourn times. Across all evaluated scenarios and bursty trace replays, the average relative error is 0.8% (P90 1.9%). This high fidelity demonstrates that the queueing network abstraction of operators is robust to realistic workload variability.

6

to multi-tenant settings with request-level multiplexing across models requires tenant fairness policies and cross-model interference modeling, which we leave to future work. Autoscaling. Autoscaling has been a crucial technique for system operations, even before the emergence of LLM serving. One system with such extensive efforts is microservices [17, 52, 63, 64]. While the overall concept of autoscaling remains, LLMs require us to revisit prior assumptions. For example, while CPU usage alone is a strong signal for autoscaling microservices in production [33,64], LLM inference is strongly sensitive to workload characteristics and GPU resources. To this end, O P S CALE takes the first step to formal characterization of LLM inference at op-level granularity, and addresses provisioning and scaling challenges in practice.

Discussion

When to Adopt Op-Level Autoscaling? Op-level autoscaling is most beneficial when workloads do not require ultralow latency (which is common, and growing agentic applications have even more relaxed SLOs [47]) and models continue to exhibit heterogeneous operator behaviors (as shown in §2.1). These two factors present opportunities of model deployment flexibility, in order to achieve resource efficiency. In contrast, inference systems pursuing ultra-low latency through megakernel [3, 8] (fusing all operators into a single large kernel) leave limited room for op-level provisioning and scaling. Prefill-Decode Disaggregation or Co-location? Our analysis (§E) shows that prefill stages, being compute-intensive and variable in demand, gain the most from fine-grained autoscaling. Decode, while often constrained by tighter latency budgets, benefits less from op-level provisioning. This suggests that enabling prefill-decode disaggregation complements oplevel scaling by exposing varying extents of optimization opportunities across stages. In prefill-decode co-location cases with chunked prefill [1, 2], the maximum sequence length is bounded by the chunk size, altering operator load distribution. Op-level autoscaling remains valuable in such cases, as it can adapt provisioning to dynamic chunking [2]. Op-level Resharding. Although O P S CALE supports dynamic op-level resharding (changing tensor parallelism) online (§3.1), we observe that horizontal scaling (e.g., scaling replicas) consistently delivers higher throughput-per-GPU gains across traces. In addition, due to weight redistribution and synchronization costs across GPUs, op-level resharding incurs 11× higher overhead (P99 1.15s) than replica scaling. Multi-Tenant, Multi-Model Serving. O P S CALE focuses on single-model serving, where a dedicated set of GPUs is provisioned for one model—the predominant deployment pattern in production LLM clusters [51, 53, 57]. However, it is complementary to multi-model and multi-tenant GPU sharing [15,34,50,65–67]. First, as O P S CALE manages individual operators rather than monolithic model replicas, it can pack operators from different models onto shared GPUs with its contention-aware placement algorithm (§4.4). Second, scaling down non-critical operators of one model frees SM/memory that can be immediately reused by operators of another model. This degree of reuse is beyond model-level scaling. Extending

7

Related Work

Disaggregation in LLM Serving. There has been a trend of disaggregation on generative model serving: (1) PrefillDecode disaggregation [48, 68], enabling independent autoscaling of each stage. (2) Encoder–LLM disaggregation [14, 53, 56] and VAE-DiT disaggregation [23] focus on modalityspecific scaling. (3) MA parallelism [10, 36, 62, 70, 71] disaggregates attention and expert/FFN layers to leverage pipelining and improve throughput. O P S CALE differs from these fixed decompositions in both objective and mechanism: it identifies workload-dependent bottleneck operators, independently adjusts their capacity, and jointly places the resulting replicas under communication and interference constraints. Thus, the contribution is not decomposition alone, but using operator-level elasticity as a cluster-wide autoscaling and placement mechanism. LLM Autoscaling Policy. As mentioned in §2, AIBrix [59], DynamoLLM [57], Chiron [49], DeepServe [22], and SageServe [30] propose model-level autoscaling policies that combine demand prediction with replica management. Our work is orthogonal: rather than policy design, we contribute a new autoscaling mechanism at the operator level, which benefits from advanced autoscaling policies in this field. Multi-Stream Scheduling. Recent work [7, 21, 31, 35, 69] has leveraged multi-stream processing to improve utilization and throughput, distinct from our focus on autoscaling and fine-grained resource management. Nanoflow [69] exploits intra-device parallelism by overlapping computation with I/O, while Pod-Attention [31] collocates prefill and decode stages to saturate compute and memory bandwidth. Bullet [35] further utilizes multi-stream processing for higher utilization. These approaches focus on optimizing the execution pipeline of a single model instance. O P S CALE is orthogonal to these techniques by exploring the optimal serving granularity and how each operator should be provisioned and dynamically scaled across the GPU cluster to minimize serving costs. Resource-Level Multiplexing. Several systems optimize model execution by fine-grained decomposition for better resource utilization. Orion [58] and LithOS [11] focus on 13

kernel-level spatial and temporal multiplexing to improve intra-GPU utilization in multi-tenant environments. Similarly, µ-Serve [54] exploits operator sensitivity to GPU frequency to optimize power via DVFS. While these efforts operate at a fine granularity, they focus on either SM allocation or frequency scaling on each GPU device. In contrast, O P S CALE is the first op-level LLM inference framework that addresses system-level elasticity, dynamically determining the optimal operator provisioning and scaling plan at a cluster scale.

8

[7] Yukang Chen, Weihao Cui, Han Zhao, Ziyi Xu, Xiaoze Fan, Xusheng Chen, Yangjie Zhou, Shixuan Sun, Bingsheng He, and Quan Chen. Towards high-goodput LLM serving with prefill-decode multiplexing. In Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS 2026), pages 2030–2047, 2026. [8] Xinhao Cheng, Zhihao Zhang, Yu Zhou, Jianan Ji, Jinchen Jiang, Zepeng Zhao, Ziruo Xiao, Zihao Ye, Yingyi Huang, Ruihang Lai, et al. Mirage Persistent Kernel: A Compiler and Runtime for Mega-Kernelizing Tensor Programs. arXiv preprint arXiv:2512.22219, 2025.

Conclusion

O P S CALE rethinks serving granularity by shifting from monolithic replicas to operator-level autoscaling. Exploiting operator heterogeneity enables fine-grained resource provisioning, reducing scaling latency to sub-second scales. On production traces, O P S CALE maintains strict SLOs, while reducing GPU allocation by up to 36.3% and power usage by up to 28%.

[9] Seungbeom Choi, Sunho Lee, Yeonjae Kim, Jongse Park, Youngjin Kwon, and Jaehyuk Huh. Serving heterogeneous machine learning models on multi-GPU servers with spatio-temporal sharing. In 2022 USENIX Annual Technical Conference (USENIX ATC 2022), pages 199–216, 2022.

References [1] Amey Agrawal, Nitin Kedia, Ashish Panwar, Jayashree Mohan, Nipun Kwatra, Bhargav Gulavani, Alexey Tumanov, and Ramachandran Ramjee. Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve. In Proceedings of the 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24), 2024.

[10] Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. PaLM: Scaling language modeling with Pathways. Journal of Machine Learning Research, 24(240):1–113, 2023.

[2] Amey Agrawal, Haoran Qiu, Junda Chen, Íñigo Goiri, Chaojie Zhang, Rayyan Shahid, Ramachandran Ramjee, Alexey Tumanov, and Esha Choukse. Medha: Efficiently serving multi-million context length LLM inference requests without approximations. arXiv preprint arXiv:2409.17264, 2024.

[11] Patrick H Coppock, Brian Zhang, Eliot H Solomon, Vasilis Kypriotis, Leon Yang, Bikash Sharma, Dan Schatzberg, Todd C Mowry, and Dimitrios Skarlatos. LithOS: An operating system for efficient machine learning on GPUs. In Proceedings of the ACM SIGOPS 31st Symposium on Operating Systems Principles (SOSP 2025), pages 1–17, 2025.

[3] Benjamin Spector, Jordan Juravsky, Stuart Sul, Owen Dugan, Dylan Lim, Dan Fu, Simran Arora, Chris Ré. Look Ma, No Bubbles! Designing a Low-Latency Megakernel for Llama-1B. Accessed from https://hazyresearch.stanford.edu/blog/ 2025-05-27-no-bubbles, 2025.

[12] Tri Dao, Dan Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. FlashAttention: Fast and memory-efficient exact attention with IO-awareness. Advances in Neural Information Processing Systems (NeurIPS 22), 35:16344–16359, 2022.

[4] Thomas Bonald and James W Roberts. Internet and the Erlang formula. ACM SIGCOMM Computer Communication Review, 42(1):23–30, 2012.

[13] Aditya Dhakal, Sameer G Kulkarni, and KK Ramakrishnan. GSLICE: controlled spatial sharing of GPUs for a scalable inference platform. In Proceedings of the 11th ACM Symposium on Cloud Computing (SoCC 2020), pages 492–506, 2020.

[5] Cheng-Shang Chang. Stability, queue length, and delay of deterministic and stochastic queueing networks. IEEE Transactions on Automatic Control, 39(5):913–931, 1994. [6] Tianqi Chen, Thierry Moreau, Ziheng Jiang, Lianmin Zheng, Eddie Yan, Haichen Shen, Meghan Cowan, Leyuan Wang, Yuwei Hu, Luis Ceze, et al. TVM: An automated end-to-end optimizing compiler for deep learning. In Proceedings of The 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18), pages 578–594, 2018.

[14] Xianzhe Dong, Tongxuan Liu, Yuting Zeng, Liangyu Liu, Yang Liu, Siyu Wu, Yu Wu, Hailong Yang, Ke Zhang, and Jing Li. HydraInfer: Hybrid disaggregated scheduling for multimodal large language model serving. arXiv preprint arXiv:2505.12658, 2025. 14

[15] Jiangfei Duan, Runyu Lu, Haojie Duanmu, Xiuhong Li, Xingcheng Zhang, Dahua Lin, Ion Stoica, and Hao Zhang. MuxServe: Flexible spatial-temporal multiplexing for multiple LLM serving. arXiv preprint arXiv:2404.02015, 2024.

[25] Hugging Face. Llama-3-8b. https://huggingface. co/meta-llama/Meta-Llama-3-8B, 2025. [26] Hugging Face. Mixtral-8x7B-v0.1. https:// huggingface.co/mistralai/Mixtral-8x7B-v0.1, 2025.

[16] Yao Fu, Leyang Xue, Yeqi Huang, Andrei-Octavian Brabete, Dmitrii Ustiugov, Yuvraj Patel, and Luo Mai. ServerlessLLM:low-latency serverless inference for large language models. In Proceedings of the 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI), pages 135–153, 2024.

[27] Hugging Face. Qwen2-57B-A14B. https://huggingface.co/Qwen/ Qwen2-57B-A14B-Instruct, 2025. [28] Hugging Face. QWen2-7B-Instruct. https: //huggingface.co/Qwen/Qwen2-7B-Instruct, 2025.

[17] Alim Ul Gias, Giuliano Casale, and Murray Woodside. ATOM: Model-driven autoscaling for microservices. In Proceedings of the IEEE 39th International Conference on Distributed Computing Systems (ICDCS 2019), pages 1994–2004. IEEE, 2019.

[29] Hugging Face. Qwen2.5-VL-32B. https://huggingface.co/Qwen/Qwen2. 5-VL-32B-Instruct, 2025. [30] Shashwat Jaiswal, Kunal Jain, Yogesh Simmhan, Anjaly Parayil, Ankur Mallick, Rujia Wang, Renee St. Amant, Chetan Bansal, Victor Ruhle, Anoop Kulkarni, Steve Kofsky, and Saravan Rajmohan. SAGESERVE: Optimizing LLM serving on cloud data centers with forecast aware auto-scaling. Proceedings of ACM Measurements and Analysis of Computer Systems, 9(3), December 2025.

[18] GitHub. Nano-vLLM. https: //github.com/GeeeekExplorer/nano-vllm, 2025. [19] GitHub. NVIDIA Dynamo. https://github.com/ai-dynamo/dynamo, 2025. [20] GitHub. vLLM Production Stack. https: //github.com/vllm-project/production-stack, 2025.

[31] Aditya K Kamath, Ramya Prabhu, Jayashree Mohan, Simon Peter, Ramachandran Ramjee, and Ashish Panwar. Pod-Attention: Unlocking full prefill-decode overlap for faster LLM inference. In Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS 25), pages 897–912, 2025.

[21] Ke Hong, Lufang Chen, Zhong Wang, Xiuhong Li, Qiuli Mao, Jianping Ma, Chao Xiong, Guanyu Wu, Buhe Han, Guohao Dai, et al. Semi-PD: Towards efficient LLM serving via phase-wise disaggregated computation and unified storage. arXiv preprint arXiv:2504.19867, 2025.

[32] Peter C Kiessler. A simulation analysis of sojourn times in a Jackson network. Technical report, 1980.

[22] Junhao Hu, Jiang Xu, Zhixia Liu, Yulong He, Yuetao Chen, Hao Xu, Jiang Liu, Jie Meng, Baoquan Zhang, Shining Wan, et al. DEEPSERVE: Serverless large language model serving at scale. In Proceedings of the 2025 USENIX Annual Technical Conference (ATC 2025), 2025.

[33] Kubernetes. Horizontal Pod Autoscaling. http: //kubernetes.io/docs/concepts/workloads/ autoscaling/horizontal-pod-autoscale, 2026. [34] Zhuohan Li, Lianmin Zheng, Yinmin Zhong, Vincent Liu, Ying Sheng, Xin Jin, Yanping Huang, Zhifeng Chen, Hao Zhang, Joseph E Gonzalez, et al. AlpaServe: Statistical multiplexing with model parallelism for deep learning serving. In Proceedings of the 17th USENIX Symposium on Operating Systems Design and Implementation (OSDI 23), pages 663–679, 2023.

[23] Heyang Huang, Cunchen Hu, Jiaqi Zhu, Ziyuan Gao, Liangliang Xu, Yizhou Shan, Yungang Bao, Sun Ninghui, Tianwei Zhang, and Sa Wang. DDiT: Dynamic resource allocation for diffusion transformer model serving. arXiv preprint arXiv:2506.13497, 2025. [24] Wenhao Huang, Zhaolin Duan, Laiping Zhao, Yuhao Zhang, Yanjie Wang, Yiming Li, Yihan Wang, Yichi Chen, Zhihang Tang, Kang Chen, et al. µShare: Non-intrusive kernel co-locating on NVIDIA GPUs. In 2026 IEEE International Symposium on High Performance Computer Architecture (HPCA 2026), pages 1–14. IEEE, 2026.

[35] Zejia Lin, Hongxin Xu, Guanyi Chen, Xianwei Zhang, and Yutong Lu. Bullet: Boosting GPU utilization for LLM serving via dynamic spatial-temporal orchestration. arXiv preprint arXiv:2504.19516, 2025. [36] Ziming Liu, Boyu Tian, Guoteng Wang, Zhen Jiang, Peng Sun, Zhenhua Han, Tian Tang, Xiaohe Hu, 15

Yanmin Jia, Yan Zhang, et al. Expert-as-a-service: Towards efficient, scalable, and robust large-scale MoE serving. arXiv preprint arXiv:2509.17863, 2025.

[49] Archit Patke, Dhemath Reddy, Saurabh Jha, Chandra Narayanaswami, Zbigniew Kalbarczyk, and Ravishankar Iyer. Hierarchical autoscaling for large language model serving with Chiron. arXiv preprint arXiv:2501.08090, 2025.

[37] Microsoft Azure. Azure VM NDm-A100-v4 sizes series. https://learn.microsoft.com/en-us/ azure/virtual-machines/sizes/ gpu-accelerated/ndma100v4-series, 2024.

[50] Yifan Qiao, Shu Anzai, Shan Yu, Haoran Ma, Shuo Yang, Yang Wang, Miryung Kim, Yongji Wu, Yang Zhou, Jiarong Xing, Joseph E. Gonzalez, Ion Stoica, and Harry Xu. ConServe: Fine-grained GPU harvesting for LLM online and offline co-serving, 2025.

[38] Microsoft Azure. Azure VM ND GB200-v6 sizes series. https://learn.microsoft.com/en-us/ azure/virtual-machines/sizes/ gpu-accelerated/nd-gb200-v6-series, 2026.

[51] Ruoyu Qin, Zheming Li, Weiran He, Mingxing Zhang, Yongwei Wu, Weimin Zheng, and Xinran Xu. Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving. arXiv preprint arXiv:2407.00079, 2024.

[39] NVIDIA. Documentation on NVIDIA Multi-Instance GPU (MIG). https://www.nvidia.com/en-us/ technologies/multi-instance-gpu/, 2025.

[52] Haoran Qiu, Subho S Banerjee, Saurabh Jha, Zbigniew T Kalbarczyk, and Ravishankar K Iyer. FIRM: An intelligent fine-grained resource management framework for SLO-oriented microservices. In Proceedings of the 14th USENIX symposium on operating systems design and implementation (OSDI 2020), pages 805–825, 2020.

[40] NVIDIA. Documentation on NVIDIA Multi-Process Service (MPS). https: //docs.nvidia.com/deploy/mps/index.html, 2025. [41] NVIDIA. Nsight Systems. https: //developer.nvidia.com/nsight-systems, 2025.

[53] Haoran Qiu, Anish Biswas, Zihan Zhao, Jayashree Mohan, Alind Khare, Esha Choukse, Íñigo Goiri, Zeyu Zhang, Haiying Shen, Chetan Bansal, et al. ModServe: Scalable and resource-efficient large multimodal model serving. arXiv preprint arXiv:2502.00937, 2025.

[42] NVIDIA. NVIDIA DCGM. https://developer.nvidia.com/dcgm, 2025. [43] NVIDIA. NVIDIA Green Context Documentation. https: //docs.nvidia.com/cuda/cuda-driver-api/ group_CUDA_GREEN_CONTEXTS.html, 2025.

[54] Haoran Qiu, Weichao Mao, Archit Patke, Shengkun Cui, Saurabh Jha, Chen Wang, Hubertus Franke, Zbigniew Kalbarczyk, Tamer Başar, and Ravishankar K Iyer. Power-aware deep learning model serving with µ-Serve. In 2024 USENIX Annual Technical Conference (USENIX ATC 24), pages 75–93, 2024.

[44] OpenAI. Introducing ChatGPT. https://openai.com/index/chatgpt/, 2022. [45] OpenAI. ChatGPT Codex. https://chatgpt.com/features/codex, 2025.

[55] Sudipta Saha Shubha, Haiying Shen, and Anand Iyer. USHER: Holistic interference avoidance for resource optimized ML inference. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24), pages 947–964, 2024.

[46] OpenAI. Introducing Deep Research. https://openai.com/index/ introducing-deep-research/, 2025.

[56] Gursimran Singh, Xinglu Wang, Ivan Hu, Timothy Yu, Linzi Xing, Wei Jiang, Zhefeng Wang, Xiaolong Bai, Yi Li, Ying Xiong, et al. Efficiently serving large multimedia models using EPD disaggregation. arXiv preprint arXiv:2501.05460, 2024.

[47] Melissa Z Pan, Negar Arabzadeh, Riccardo Cogo, Yuxuan Zhu, Alexander Xiong, Lakshya A Agrawal, Huanzhi Mao, Emma Shen, Sid Pallerla, Liana Patel, et al. Measuring agents in production. arXiv preprint arXiv:2512.04123, 2025.

[57] Jovan Stojkovic, Chaojie Zhang, Íñigo Goiri, Josep Torrellas, and Esha Choukse. DynamoLLM: Designing LLM inference clusters for performance and energy efficiency. In Proceedings of the 2025 IEEE International Symposium on High Performance Computer Architecture (HPCA 25), pages 1348–1362. IEEE, 2025.

[48] Pratyush Patel, Esha Choukse, Chaojie Zhang, Aashaka Shah, Íñigo Goiri, Saeed Maleki, and Ricardo Bianchini. Splitwise: Efficient generative LLM inference using phase splitting. In Proceedings of the 2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA 24), pages 118–132. IEEE, 2024. 16

[58] Foteini Strati, Xianzhe Ma, and Ana Klimovic. Orion: Interference-aware, fine-grained GPU sharing for ML applications. In Proceedings of the Nineteenth European Conference on Computer Systems (EuroSys 2024), pages 1075–1092, 2024.

[68] Yinmin Zhong, Shengyu Liu, Junda Chen, Jianbo Hu, Yibo Zhu, Xuanzhe Liu, Xin Jin, and Hao Zhang. DistServe: Disaggregating prefill and decoding for goodput-optimized large language model serving. In Proceedings of the 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24), pages 193–210, 2024.

[59] The AIBrix Team, Jiaxin Shan, Varun Gupta, Le Xu, Haiyang Shi, Jingyuan Zhang, Ning Wang, Linhui Xu, Rong Kang, Tongping Liu, et al. AIBrix: Towards scalable, cost-effective large language model inference infrastructure. arXiv preprint arXiv:2504.03648, 2025.

[69] Kan Zhu, Yufei Gao, Yilong Zhao, Liangyu Zhao, Gefei Zuo, Yile Gu, Dedong Xie, Zihao Ye, Keisuke Kamahori, Chien-Yu Lin, et al. NanoFlow: Towards optimal large language model serving throughput. In Proceedings of the 19th USENIX Symposium on Operating Systems Design and Implementation (OSDI 25), pages 749–765, 2025.

[60] vLLM. Distributed Inference and Serving. https://docs.vllm.ai/en/latest/serving/ distributed_serving.html, 2024. [61] vLLM. vLLM Profiler. https://docs.vllm.ai/en/ stable/contributing/profiling/, 2025.

[70] Ruidong Zhu, Ziheng Jiang, Chao Jin, Peng Wu, Cesar A Stuardo, Dongyang Wang, Xinlei Zhang, Huaping Zhou, Haoran Wei, Yang Cheng, et al. MegaScale-Infer: Serving mixture-of-experts at scale with disaggregated expert parallelism. arXiv preprint arXiv:2504.02263, 2025.

[62] Bin Wang, Bojun Wang, Changyi Wan, Guanzhe Huang, Hanpeng Hu, Haonan Jia, Hao Nie, Mingliang Li, Nuo Chen, Siyu Chen, et al. Step-3 is large yet affordable: Model-system co-design for cost-effective decoding. arXiv preprint arXiv:2507.19427, 2025.

[71] Pengfei Zuo, Huimin Lin, Junbo Deng, Nan Zou, Xingkun Yang, Yingyu Diao, Weifeng Gao, Ke Xu, Zhangyu Chen, Shirui Lu, et al. Serving large language models on Huawei CloudMatrix384. arXiv preprint arXiv:2506.12708, 2025.

[63] Zibo Wang, Pinghe Li, Chieh-Jan Mike Liang, Feng Wu, and Francis Y Yan. Autothrottle: A practical bi-level approach to resource management for SLO-targeted microservices. In Proceedings of the 21st USENIX Symposium on Networked Systems Design and Implementation (NSDI 2024), pages 149–165, 2024. [64] Ziliang Wang, Shiyi Zhu, Jianguo Li, Wei Jiang, Kadangode K Ramakrishnan, Yangfei Zheng, Meng Yan, Xiaohong Zhang, and Alex X Liu. DeepScaling: microservices autoscaling for stable cpu utilization in large scale cloud systems. In Proceedings of the 13th Symposium on Cloud Computing (SoCC 2022), pages 16–30, 2022. [65] Yuxing Xiang, Xue Li, Kun Qian, Yufan Yang, Diwen Zhu, Wenyuan Yu, Ennan Zhai, Xuanzhe Liu, Xin Jin, and Jingren Zhou. Aegaeon: Effective GPU pooling for concurrent LLM serving on the market. In Proceedings of the ACM SIGOPS 31st Symposium on Operating Systems Principles, pages 1030–1045, 2025. [66] Jiarong Xing, Yifan Qiao, Simon Mo, Xingqi Cui, Gur-Eyal Sela, Yang Zhou, Joseph Gonzalez, and Ion Stoica. Towards efficient and practical GPU multitasking in the era of LLM. arXiv preprint arXiv:2508.08448, 2025. [67] Shan Yu, Jiarong Xing, Yifan Qiao, Mingyuan Ma, Yangmin Li, Yang Wang, Shuo Yang, Zhiqiang Xie, Shiyi Cao, Ke Bao, et al. Prism: Unleashing GPU sharing for cost-efficient multi-LLM serving. arXiv preprint arXiv:2505.04021, 2025. 17

Algorithm 1 Greedy Operator Provisioning Algorithm

Algorithm 2 Greedy Op-Level Placement

Require: DAG G = (V , E ), QPS q, batch limits Bmax v , parallelism sets Pv , latency functions Tv (b, p) from profiling,

Require: DAG G = (V , E ), config {(rv , bv , pv )}v∈V from Alg. 1, device set D , device capacities {Md ,Ud }d∈D , interference model Id,v (b, p) ≥ 1 (from profiling). 1: kbase ← minv∈V rv ▷ Number of full model instances 2: Construct replica sets: 3: Rbase ← {(v, i) | v ∈ V , i ∈ [1, kbase ]} 4: Rextra ← {(v, i) | v ∈ V , i ∈ [kbase + 1, rv ]} 5: Sort (v, k) ∈ Rextra in descending order of Tv 6: Dbase ← D EPLOY M ODEL I NSTANCE(Rbase ) 7: Dempty ← D \ Dbase 8: for all (v, k) ∈ Rextra do 9: Candidates ← 0/ 10: for all d ∈ Dbase do ▷ Try existing devices first 11: if MemLoadd + Mv > Md then 12: continue 13: end if 14: Tv′ ← Tv · Id,v (bv , pv ) 15: if R E C OMPUTE L ATENCY(G ) > Tslo then 16: continue 17: end if 18: slack_mem ← Md − (MemLoadd + Mv ) 19: slack_comp ← Ud − (CompLoadd + Tv′ ) 20: Candidates.A PPEND(d) 21: end for 22: if Candidates == 0/ then ▷ No existing device fits 23: dnew ← P ROVISION D EVICE(Dempty , Dbase ) 24: d ⋆ ← dnew 25: else 26: slack ← C OMPUTE W EIGHTED S LACK(Candidates) 27: d ⋆ ← arg maxd∈Candidates slack 28: end if 29: Placement ← A SSIGN O PERATOR(v, k, d ⋆ ) 30: end for 31: return Placement

SLO Tslo with a buffer ε 1: Initialize pv ← min Pv and bv ← 1 for all v ∈ V 2: for all v ∈ V do ▷ Per-operator initialization 3: λ ← A RRIVAL R ATES(G , q, bv ) 4: 5:

rv ← ⌈λ/µv (1, pv )⌉ where µv (b, p) = b/Tv (b, p) (bv , rv ) ← arg min sv (λ, ⌈λ/µv (b, pv )⌉ , b, pv ) b∈{1,...,Bmax v }

6: end for 7: Recompute λ ← A RRIVAL R ATES(G , q, {bv }) 8: sv ← Wv (λv , rv , µv (bv , pv )) + Tv (bv , pv )/bv for all v 9: T ← C RITICAL PATH L ATENCY(G , {sv }) 10: while true do 11: if T ≤ Tslo − ε then ▷ Scaling down 12: j ← B OTTLENECKO N C RITICAL PATH(G , {sv }) 13: M ← {(r j − 1, b j , p j )} ∪ {(r j − 1, b, p j ) | b ∈

max [b j , Bmax j ]} ∪ {(r j − 1, b, p) | b ∈ [b j , B j ], p ∈ P j } 14: Filter M with stability check λ j < (r′j ) µ j (b′ , p′ ) 15: For each m ∈ M : tentatively recompute T ′ 16: Choose m⋆ ∈ arg min{C OST(r′ , p′ ) | T ′ ≤ Tslo } 17: if m⋆ exists then apply m⋆ , set T ← T ′ , continue 18: else break ▷ No further safe downscale 19: end if 20: else if T > Tslo then ▷ Scaling up 21: j ← B OTTLENECKO N C RITICAL PATH(G , {sv }) 22: M ← {(r j + 1, b j , p j )} ∪ {(r j + 1, b, p j ) | b ∈ max [1, Bmax j ]} ∪ {(r j + 1, b, p) | b ∈ [1, B j ], p ∈ P j } 23: For each m ∈ M : tentatively re-evaluate T ′ Choose m⋆ ∈ arg max{T − T ′ }; Prefer the small24: est ∆r j that achieves T ′ ≤ Tslo 25: if m⋆ exists then apply m⋆ , set T ← T ′ , continue 26: else break ▷ Cannot improve further 27: end if 28: else break ▷ Within tolerance of SLO 29: end if 30: end while 31: return {(rv , bv , pv )}v∈V

A

for operator-to-device placement algorithm (§4.4).

C

§2.1 presents the characterization study on operator heterogeneity under inference workload changes, and it focuses on compute time, memory usage, and SM core allocation sensitivities. This section analyzes additional types of sensitivities. Queueing Characteristics. Building on the per-operator compute sensitivities, we analyze how operators respond to increasing request load (RPS) using M/M/c queueing theory. Each operator is modeled as a multi-replica queueing system, where the service rate is µ = 1/(op_latency · num_layers), derived from the measured GPU execution times, and the arrival rate is λ = requests_per_second/batch_size. Using the Erlang-C formula, we estimate waiting times and determine the minimum number of replicas required to maintain system stability under varying RPS.

Complementary Analysis Figures

Figure 20 and Figure 21 show details of operator compute and memory sensitivities to sequence length across different model architectures (complementary to Figure 4). Figure 22 separately plots GPU savings, energy savings, and memory savings for op-level autoscaling under varying sequence lengths. Figure 23 separately plots GPU savings, energy savings, and memory savings for op-level autoscaling under varying QPS (complementary to Figure 8 and 9).

B

Additional Operator Characterizations

Algorithm Pseudocode

Algorithm 1 presents the pseudocode for operator provisioning algorithm (§4.3). Algorithm 2 presents the pseudocode 18

Normalized Latency

Qwen2-7B-Instruct 103

Linear

Llama3-8B-Instruct

attn

103

Qwen2-57B-A14B

attn

103

attn

103

Mistral-8x7B

Qwen2.5-VL-32B

attn

102

102

102

102

102

101

101

101

101

101

100

1K 5K 10K

20K

Sequence Length

40K

100

1K 5K 10K

20K

Sequence Length

40K

100

1K 5K 10K

20K

Sequence Length

40K

100

1K 5K 10K

20K

Sequence Length

attn

103

40K

100

4 8 16

32

Number of Images

64

Figure 20: Compute sensitivities to input data size, for various operators in different model architectures.

Normalized Memory

Qwen2-7B-Instruct 102

Llama3-8B-Instruct

Qwen2-57B-A14B

attn

Mistral-8x7B

attn

attn

Qwen2.5-VL-32B

attn

102

102

102

101

101

101

attn 101

101 100

Linear 1K 5K 10K

20K

Sequence Length

40K

100

1K 5K 10K

20K

Sequence Length

40K

100

1K 5K 10K

20K

Sequence Length

40K

100

1K 5K 10K

20K

Sequence Length

40K

100

4 8 16

32

Number of Images

64

Figure 21: Memory sensitivities to input data size, for various operators in different model architectures. Table 3: Models in characterization study and evaluations.

Figure 24 shows heterogeneous queueing sensitivities across operators that closely reflect their compute characteristics. For attention operators, especially at longer sequence lengths, the number of replicas required grows sharply with increasing RPS, reflecting their high per-token computational cost. In MoE models like Mixtral, the FusedMoE linear operator dominates compute at short sequence lengths, leading to a pronounced scaling of replicas even for relatively small sequences. In contrast, lighter operators, such as layer norms and embeddings, exhibit moderate sensitivity to RPS. Queueing delays increase non-linearly when replication is insufficient, so small reductions in replicas can cause disproportionately high waiting times. These observations highlight that combining compute profiling and queueing modeling enables precise, operator-specific replication strategies by selectively replicating high-demanding operators (e.g., attention) while avoiding overprovisioning lightweight ones, thereby meeting end-to-end latency and throughput targets efficiently.

Model

Model Size

Modality

Architecture

Qwen2-7B [28] Qwen2-MoE [27] Llama3-8B [25] Mixtral-8×7B [26] Qwen2.5-VL-32B [29]

7B 57B (14B) 8B 47B (13B) 32B

Text Text Text Text Visual

Dense LLM MoE LLM Dense LLM MoE LLM Encoder+LLM

fer latency, which scales proportionally with payload size. While many operators (e.g., element-wise functions) have near-constant per-request data volume, others (e.g., attention and linear operators) scale with sequence length. Comparative analysis of compute versus NVLink transfer time shows transfer overhead reaching ∼20% for certain operators (e.g., SiLu Mul) but remaining below 5% for most operators. Takeaway 9: Data volume scales linearly or remains flat with sequence length across operators. Transfer overhead can reach 20% of compute time, making transfer costs non-trivial when placing operators across devices.

Takeaway 8: Operators exhibit diverse queueing sensitivity with increasing load. Insufficient replication causes non-linear queueing delays, emphasizing the need for operator-specific replication strategies.

D

Model Details

Table 3 details the models used in our characterization study and evaluations. We consider models of two dominant architectures: dense LLMs and mixture-of-experts (MoE) models.

Dataflow Characteristics. We analyze data flows by quantifying the communication payload between adjacent operators in the model graph. Specifically, we perform transient memory profiling to capture how each operator’s input-output scale with sequence length and batch size, revealing that most operators exhibit linear growth in data volume (as shown in Figure 25). Communication overhead is estimated from trans-

E

Prefill vs. Decode

We compare op-level and model-level provisioning behavior across the prefill (known to be compute-bound [48]) and decode stages (memory-bound), illustrating how their distinct 19

20 10

10 512 1K 2K 4K 8K 16K32K64K

Sequence Length

512 1K 2K 4K 8K 16K32K64K

0

40

Qwen2-7B (Dense)

15

30

10

20 5

10 0

Sequence Length

20

40

60

QPS

Qwen2-57B-A14B (MoE)

Model-level Op-level

80 60 40 20

512 1K 2K 4K 8K 16K32K64K

Sequence Length

512 1K 2K 4K 8K 16K32K64K

0

Energy Savings (%)

Qwen2-7B (Dense)

40 30

QPS

80

100

Qwen2-57B-A14B (MoE)

Model-level Op-level

0

20 15

10

5

0

20

40

60

QPS

80

100

20

40

60

QPS

80

100

0

40

2

20

1

0

0

Qwen2-57B-A14B (MoE)

50 40 30 20 10 0

Sequence Length

1.50 1.25 1.00 0.75 0.50 0.25 0.00

Memory Usage (TB)

Memory Savings (%)

Qwen2-7B (Dense) Memory Usage (TB)

Memory Savings (%)

60

(b) Energy savings.

3

Sequence Length

40

10

Qwen2-57B-A14B (MoE)

512 1K 2K 4K 8K 16K32K64K

20

20

Sequence Length

60

512 1K 2K 4K 8K 16K32K64K

100

Qwen2-7B (Dense)

(b) Energy savings.

Qwen2-7B (Dense)

80

(a) GPU savings.

Energy (joules)

Energy Savings (%)

(a) GPU savings. 30 25 20 15 10 5 0

Qwen2-57B-A14B (MoE)

Savings (%)

Energy (joules)

20

GPU Savings (%)

30

30

0

50

Number of GPUs

Qwen2-57B-A14B (MoE)

Savings (%)

Number of GPUs

GPU Savings (%)

Qwen2-7B (Dense) 40

20

40

60

QPS

80

100

20

40

60

QPS

80

100

(c) Memory savings.

(c) Memory savings.

Figure 22: Benefits of operator-level resource management under varying sequence lengths. Left Y-axis denotes saving percentages. Right Y-axis denotes the absolute GPU usage, energy consumption, and memory footprint.

Figure 23: Benefits of operator-level resource management under varying QPS. Left Y-axis denotes saving percentages. Right Y-axis denotes the absolute GPU usage, energy consumption, and memory footprint.

Qwen2-7B (Dense) 60

computational and temporal characteristics drive different scaling needs. We analyze two production-scale LLM inference traces from (1) Azure LLM inference cluster [57] and (2) Mooncake LLM serving platform [51]. As shown in Figure 26, op-level resource management yields consistently higher savings during the prefill stage across all workloads. On Azure traces, prefill achieves up to 35% GPU, 25% energy, and 45% memory savings for chat services, while decode savings remain modest (below 15%). Savings in coding services are lower due to their low QPS in the traces. Similarly, in Mooncake traces, prefill achieves up to 22% GPU savings, 20% energy, and 41% memory, higher than the savings achieved during decode. These results highlight that prefill stages benefit more from op-level provisioning and scaling due to their denser compute utilization and shorter execution bursts.

Replicas

50 40

Top 3 Ops Attention MLP In MLP Out

Qwen2-57B-A14B (MoE) 50

attn

30

40 20

10

10 100

101

Arrival Rate (QPM)

attn

30

20 0

Top 3 Ops Attention Linear MLP-MoE

0

100

101

Arrival Rate (QPM)

Figure 24: Queueing sensitivity to arrival rate. Insight 1: Prefill stages offer substantially higher optimization potential than decode—up to 2–3× greater resource savings, as they are more compute-intensive and bursty, making them ideal targets for fine-grained op-level model provisioning and scaling. 20

500 250 0

0K

10K

20K

30K

Sequence Length

RMS Norm QKV Linear

Rotary Embed Attention

40K

0.15 0.10 0.05 0.00

10K

20K

30K

Sequence Length

MLP In Add RMS Norm

O Linear SiLU Mul

40K MLP Out

Azure LLM Traces (2024)

Code

Total Power (W)

Average Savings (%)

Chat

Prefill Decode

30 20 10

2

30 20 10 0 3K 2K 1K 0K

500

20 10

GPU

Energy

Memory

GPU

Energy

Memory

1500

2000

Time (seconds)

2500

3000

3500

AIBrix

P50

P90

r

OpScale AIBrix Prod. Stack DynamoLLM DynamoLLM (with DVFS) -Serve++

22 -Serve 20 DynamoLLM+DVFS DynamoLLM 18 Prod. Stack 16 14 12 OpScale

tte

Additional Evaluation Results

3K 2K 2K 1K 1K 500 0

Be

Figure 26: Benefits of operator-level resource management in prefill vs. decode stages for Qwen2-7B.

F

1000

Figure 27: Comparison of GPU usage, request performance (P99 TTFT), and total power usage during autoscaling for Qwen2-57B-A14B (MoE).

Cluster Power (W)

Average Savings (%)

Mooncake LLM Traces (2025) Chat Tool

30

0

TTFT SLO (2.0s)

1

0 40

Production Stack OpScale

0 0K

Figure 25: Operator input data volume for Qwen2-7B.

40

DynamoLLM AIBrix

3

Avg GPU Count

750

P99 TTFT (s)

SiLU Mul

1000

4

0.20

Number of GPUs

1250

Comm./Compute Ratio

Data Volume (MB)

1500

85

90

95

SLO Attainment (%)

Figure 28: Cluster-level power Figure 29: Cost vs. SLO consumption comparison. attainment trade-off.

This section provides detailed evaluation results for the Mixture-of-Experts (MoE) model, Qwen2-57B-A14B. Due to the high operator heterogeneity in MoE architectures (§2.1), monolithic scaling often results in significant resource overprovisioning. Our results demonstrate that O P S CALE’s oplevel elasticity is particularly effective for such models, with higher gains compared to serving dense LLMs. MoE Autoscaling Performance. Figure 27 illustrates the real-time autoscaling behavior over a 1-hour trace. While all systems aim to keep the P99 TTFT below the 2.0s SLO, the resource footprints vary significantly. O P S CALE maintains a much tighter envelope around the actual workload demand. As shown in the middle row of Figure 27, O P S CALE (green line) operates with a significantly lower number of GPUs throughout the trace, peaking at roughly 25 GPUs during highload periods, whereas AIBrix and DynamoLLM frequently exceed 30–35 GPUs to meet the same latency targets. Crucially, even with fewer resources, O P S CALE maintains a more stable P99 TTFT. While the Production Stack and

AIBrix show frequent spikes that touch or exceed the 2.0s SLO line, O P S CALE remains consistently below the threshold. This efficiency is attributed to the system’s ability to scale only the bottlenecked operators rather than replicating the entire 57B parameter model. Power and Cost Trade-offs for MoE. The power consumption benefits observed in the dense model are further amplified in the MoE setting. Figure 28 shows the cluster-level power consumption at P50 and P90 levels. O P S CALE with DVFS achieves the lowest power profile, outperforming µ-Serve++ by approximately 15% at the P90 mark. Notably, even without DVFS, the base O P S CALE implementation consumes less power than the Production Stack and AIBrix, confirming that reducing the active GPU count through fine-grained scaling is more impactful than model-level power management. Finally, Figure 29 summarizes the cost-performance Pareto 21

frontier. O P S CALE occupies the bottom-right corner of the plot, representing the ideal high-SLO-attainment, low-GPUcount quadrant. Compared to AIBrix, O P S CALE reduces the average GPU count from ∼23 to ∼11 while simultaneously improving SLO attainment from ∼97% to over 98%. While µ-Serve++ and DynamoLLM+DVFS improve upon their respective vanilla baselines, they still require 18–20 GPUs on average. This highlights that for MoE models, the overhead of monolithic replicas is a primary bottleneck that cannot be fully mitigated by frequency scaling or partitioning alone. These results confirm that operator-level elasticity allows O P S CALE to bypass the all-or-nothing scaling penalty inherent in MoE models, delivering superior performance with a substantially smaller hardware footprint.

22

Related documents

Record · ID 451258 · SHA-256 5ad72825e991e971
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive