Paper Reading Notes · OSDI 2026 · Korea University

Revisiting Pipeline Parallelism for LLM Serving

Pipeline parallelism communicates far less than tensor parallelism and can overlap prefill across stages, yet single-node serving treats it as the fallback. The paper's argument is that PP's real defect is not bandwidth but stage imbalance — and that online traffic, with its variable arrivals and prompt lengths, composes batches badly by construction. On four PCIe-attached A100 40GB GPUs the authors make the chunk size a per-iteration control variable and add a decode-side rebalancing knob: a carefully tuned static PP already beats TP on goodput, and the dynamic variants then cut TPOT by 35% (32B) and up to 50% (14B) against it.
Authors: Soonjae Hwang, Jeongseob Ahn (Korea University) Paper: USENIX OSDI 2026 PDF: osdi26-hwang.pdf 中文版: index.html
Pipeline parallelismChunked prefillDelay schedulingSGLang 0.4.1TTFT / TPOT SLOGoodput
01 · Overview

At a Glance

This is a scheduling paper, not a kernel paper: not one weight is changed. It starts from a measurement that contradicts the usual advice — on PCIe-class hardware, pipeline parallelism serves fewer requests per second than tensor parallelism, but not because it wastes bandwidth. It wastes time, and the waste has three distinct shapes. Prefill-Prefill imbalance comes from prompts of unequal length sharing a batch; Prefill-Decode imbalance comes from one microbatch being all decode while its peer is all prefill; Decode-Decode imbalance comes from decode-only iterations whose microbatches hold unequal numbers of requests. Each shape has a different actuator, so the paper builds two: a per-iteration chunk size chosen either by a greedy feedback loop or by a small latency model, and a delay-scheduling policy that suspends and resumes decode requests to even out microbatches across stages. On Qwen2.5-32B and 14B over four A100 40GB GPUs the result is staged — a well-chosen static chunk already puts PP ahead of TP on goodput, and the dynamic variants then buy latency and tail behaviour on top.

Problem
PP idles its own stagesTP is the default because all-reduce over NVLink is cheap; on PCIe, AMD and NPU nodes the communication volume becomes the bottleneck, yet PP — which communicates far less — is left unused, partly because it is harder to schedule.
Observation
Three bubbles, not oneP-P: two prefills of 2,048 and 128 tokens leave a bubble of about 627 ms. D-D: moving a decode batch from 96 to 128 requests costs 5%, from 128 to 160 costs 31%.
Mechanism ① · greedy
Feedback chunk sizingEvery \(D_p\) scheduling iterations, read TTFT/TPOT slack and the free-KV ratio, then step the chunk size by ±δ (δ = 128) inside the memory check and the α/β/γ slack boundaries (Algorithm 1).
Mechanism ② · predictive
Price every candidateALP scores each candidate chunk from {128…2048}: an offline linear-layer fit plus online attention terms calibrated by RLS. The scheduler keeps the candidates inside the TPOT upper bound and the TTFT lower bound and picks the smallest (Figure 6, Table 1).
Scheduling knob
Delay schedulingIn decode-only iterations, suspend a few requests so microbatch sizes land on the hardware-efficient boundaries 128 / 256 / 384, and resume them when KV room or a finishing request frees space (Figure 7).
Headline numbers
−35% TPOT · −31% E2EDCPpred vs the tuned PPstatic on AzureConv (32B); up to −50% TPOT on 14B; iteration-latency P99 65.34 → 30.94 ms (2.11×); real Azure trace SLO attainment 92.5% → 94.6%; at a 150 ms TPOT SLO, 4.14× PPstatic's attainment.

The testbed is a single server — four NVIDIA A100 40GB GPUs attached to the host over PCIe 4.0, a 128-core AMD EPYC 9754 at 2.25 GHz, 768 GB of RAM — running SGLang 0.4.1 with PyTorch v2.5.1, CUDA 12.4 and FlashInfer. Two BF16 models (Qwen2.5-32B and 14B) meet three real traces (Azure Conversation, ShareGPT, CNN), one decode-heavy derivative (CNN-Reversed, built by swapping CNN's input and output distributions) and two synthetic extremes. The budgets are the MLPerf inference defaults: 2,000 ms for TTFT and 200 ms for TPOT.

Reading conventions: every number on this page is the paper's own unless it is explicitly marked [organized] (a grouping or table assembled here from the paper's statements, not a table from the paper) or [estimated] (a value read off a figure, or a ratio computed here from paper numbers with the arithmetic shown). Notation follows the paper: \(D_p\) is the pipeline depth, \(C\) the discrete set of candidate chunk sizes, δ the adjustment step, α and β the safe and critical boundaries for TTFT slack, γ the boundary for TPOT slack, \(\theta_{mem}\) the KV-memory watermark, and \(KV_{free}\) the available KV-cache ratio. Model variants keep the paper's names — PPstatic, DCPgreedy, DCPpred, DCPpred+DS — rather than paraphrase, because the subscripts are the paper's own labels in every figure.
What to take from the overview: the interesting claim is not "PP can beat TP" — with a good chunk size it already does, and the paper says so plainly before introducing any of its techniques. The interesting claim is which part of PP's loss is a scheduling artefact and whose SLO pays for fixing it: dynamic chunking buys TPOT and E2E latency at a small TTFT cost, and delay scheduling buys end-to-end fairness by spending the tail TPOT of the requests it suspends.
02 · Background & Motivation

Background: Why Revisit Pipeline Parallelism

Two phases, and the batching that mixes them

LLM inference runs in two phases. In prefill the prompt tokens go through every decoder layer once, which initialises the attention key-value (KV) cache and produces the first output token. In decode the model generates one token at a time, reusing that cache, so each step attends only to the new token (Vaswani et al., 2017). Per-token cost in decode is therefore near-constant and far below prefill's, and the number of decode steps is simply the output length. An iteration of an online server is thus not one request but a mixed batch, and its cost is dominated by whichever phase happens to be in it.

Modern servers schedule at iteration granularity: requests join an in-flight batch when resources allow and leave as soon as they finish, instead of waiting for a whole batch to drain (ORCA, Yu et al., 2022; vLLM, Kwon et al., 2023). This is what makes continuous batching work, and it is also what creates the paper's problem — requests in different phases coexist inside one iteration, so a long prompt admitted next to a set of decodes inflates the decode latency of everything in the batch. Chunked prefill (Sarathi-Serve, Agrawal et al., 2024) is the standard answer: cut the prompt into fixed-size chunks so a long prefill is spread over several iterations instead of dominating one. It is now routine in vLLM (Kwon et al., 2023), SGLang (Zheng et al., 2024) and Dynamo (NVIDIA AI Dynamo Team, 2024) — the substrates this paper builds on.

Tensor parallelism and pipeline parallelism: what each buys

TP shards the intra-layer tensors: attention projections and feed-forward weight matrices are split across devices, each GPU computes partial GEMMs and partial attention on its shard, and the partial outputs are combined with collectives such as all-reduce so the layer keeps its logical semantics. Every GPU holds a shard of every layer, so every forward pass touches every device. That gives low per-token latency when the interconnect is NVLink, which hides the frequent all-reduce (Shoeybi et al., 2020), and it is why TP became the default for latency-sensitive single-node serving.

PP partitions by depth instead: contiguous sets of layers — stages — go to different GPUs, and a microbatch (a smaller split of the iteration's batch) walks the stages in order (GPipe, Huang et al., 2019; PipeDream, Narayanan et al., 2019). While stage 0 processes microbatch i+1, stage 1 can process microbatch i, so latency hides behind pipelining and the communication volume is a fraction of TP's. What PP buys in bandwidth it pays in shape: a stage cannot run faster than its slowest peer in the same step, so any difference in per-stage work becomes idle time — a pipeline bubble.

Cost structure of the two parallelism strategies ([organized] from §2.2 — assembled here, not a table from the paper)
DimensionTensor parallelism (TP)Pipeline parallelism (PP)
What is splitIntra-layer tensors: attention projections and feed-forward weight matricesLayer depth: contiguous sets of layers, one stage per GPU
Communication patternAll-reduce per layer; every GPU joins every forward passPoint-to-point activation handoff between neighbouring stages
Communication volumeLarge: needs NVLink-class bandwidth to stay hiddenSmall: tolerable over PCIe and weaker interconnects
Load balanceAutomatic: every GPU runs the same operator setDependent on batch composition; unequal stages mean idle time
Dominant riskCommunication becomes the bottleneck once bandwidth is shortPipeline bubbles; high scheduling complexity, immature framework support
The paper's stanceStill the pragmatic choice on NVLink clustersWorth revisiting on bandwidth-constrained machines, provided the bubbles are attacked

The paper is explicit about why PP nonetheless lost. NVLink exists only on a limited set of platforms, such as DGX systems with A100 or H100 GPUs, while many GPU servers in public clouds still rely on PCIe, which offers lower bandwidth — the same constraint applies to AMD GPUs and NPUs. In those settings PP should win on communication, and yet TP is preferred for a second, less technical reason: TP is generally simpler to implement and integrate, avoiding the scheduling complexity and microbatching challenges inherent in PP. The consequence the authors point at is that modern serving frameworks remain relatively immature in their support for efficient PP — which is the gap this paper occupies.

The three numbers the evaluation is built on

TTFT is the latency of the prefill path and TPOT the inter-token latency of the decode path; MLPerf Inference (2024) uses 2,000 ms and 200 ms as typical targets, and the paper adopts both. Over them sits goodput, defined in §5.1 as the highest request rate at which both the 90th-percentile TTFT and the 90th-percentile TPOT satisfy their SLO. That definition matters for reading every result that follows: a configuration is not "good" because its mean is low, but because its P90 stays inside budget while the arrival rate climbs. The paper optimises goodput first and only then compares P90 latency, which is why several figures show flat goodput but very different tails.

Figure 1: where each parallelism breaks first

The opening measurement is a head-to-head on the target platform — four A100 GPUs on PCIe 4.0, Qwen2.5-32B, SGLang, the Azure Conversation trace, request rate swept from 1 to 8 requests per second. The top panel is P90 TTFT, the bottom panel is P90 TPOT, and the vertical dotted lines mark the highest request rate that still satisfies both budgets.

Figure 1: P90 TTFT and P90 TPOT versus request rate for pipeline and tensor parallelism, Qwen2.5-32B on 4 A100 GPUs
Figure 1: Performance comparison for pipeline and tensor parallelism in serving Qwen2.5-32B with the Azure Conversation workload on 4 NVIDIA A100 GPUs The two curves are annotated with the SLO each one dies of. Top (P90 TTFT): PP stays near 1,000 ms across the sweep and only jumps at the far right, while TP's TTFT turns sharply upward and crosses the 2,000 ms budget at 4 req/s — the red arrow the paper draws. Bottom (P90 TPOT): the ordering inverts — PP is the curve that crosses 200 ms first, at roughly 3.3 req/s, because stage imbalance (Figure 2) stalls the decode path. So TP is limited by TTFT and PP by TPOT; the dotted vertical marks each limit, and the ratio between them is the 1.2× by which TP sustains a higher request rate than PP. Note that the two curves cross again at 5–6 req/s on TPOT, but by then TP has already left the feasible region on TTFT. Proc. p.1806

💡 Click any image to open the original high-resolution version; click again or press Esc to close.

That is precisely the gap the paper attacks. If PP's TPOT penalty came from arithmetic or bandwidth it would be structural; if it comes from how work is distributed across stages in time, it is a scheduling problem with schedulable knobs. Everything after this figure is an argument for the second reading — and, importantly, a measurement of how much of the penalty each knob actually removes.

The background in one line: PP's advantage is communication volume and cross-stage overlap; its disadvantage is that a stage's step is set by its slowest peer. Nothing in the gap is about arithmetic throughput — it is about which requests occupy which stage in which iteration, which is exactly what an iteration-level scheduler already controls.
03 · Observation

Three Faces of the Pipeline Bubble

The root cause of pipeline bubbles is computational imbalance between pipeline stages — between GPU workers. In training the inputs are fixed and predictable, so stages can be balanced once. Online serving is the opposite: arrival times and batch composition vary continuously, which makes balanced compute across stages hard to maintain even when every stage runs the same code on the same model. The paper's contribution in this section is to stop treating that imbalance as one phenomenon and split it into three, because each has a different cause and therefore a different fix.

P-P, P-D and D-D

Figure 2: timeline of a two-stage pipeline showing P-P, P-D and D-D imbalance
Figure 2: Three types of pipeline bubbles (The subscript indicates the iteration number.) A two-stage timeline with the four block types colour-coded — prefill, decode, prefill+decode and idle — and the three imbalance classes marked ① ② ③. The left half (prefill-heavy) contains ① P-P at T2 (long vs short prompt microbatches) and ② P-D at T3–T4, where a decode-only microbatch faces a prefill-only one and the idle strip appears on the worker that finished first. The right half (decode-heavy) contains ③ D-D: identical phases, unequal request counts, idle strips again. The point of drawing all three on one axis is that they need different fixes — only the first two are touched by the chunk size, because only they contain prefill work at all. Proc. p.1807

Quantifying the imbalance

The paper then measures the two phase types separately. Prefill latency depends largely on the input sequence length (Figure 3a), which is why balancing compute density of prefill across workers is the whole game: when two prefills of 2,048 and 128 tokens are issued back to back, the resulting P-P imbalance leaves a bubble of around 627 ms that stalls every subsequent stage. Decode behaves differently — with one token per request per step, the batch size becomes the dominant factor (Figure 3b) — but the underlying cost curve is not smooth, because the linear layers that dominate decode execute as a function of token count in a step pattern (Figure 3c). The gap between batch sizes 96 and 128 is a relatively minor 5%; between 128 and 160 it widens to 31%. Going from 128 to 129 requests can therefore abruptly trigger about 31% idle time, and the practical corollary is blunt: configure decode-only microbatches in multiples of 128 to align with the preferred efficiency of the underlying compute kernels.

Figure 3: prefill time versus sequence length, decode time versus batch size, and linear-layer time versus number of tokens
Figure 3: Performance characteristics: (a) prefill time when varying the sequence length, (b) decode time when increasing the batch size, and (c) linear operations when increasing the number of tokens Three measurements that between them explain all three bubbles. (a) Prefill time against sequence length, broken into linear, attention and other: the total climbs with the prompt, so two prompts in one batch cannot help but finish at different times — this is P-P in one chart. (b) Decode time against batch size from 1 to 160: it grows with the number of requests, and attention becomes a larger share, but the total is still dominated by linear work. (c) Linear-layer time against token count, which is the step function behind D-D: the curves jump in quantised strides, so 129 tokens can cost nearly what 256 costs. That is why the paper's decode-side advice is not "make microbatches equal" but "make them land on the boundaries". Proc. p.1807

Why the chunk size cannot simply be fixed

Chunked prefill bounds the prefill work per iteration, which attacks P-P and P-D directly — but the bound itself is a trade-off. Figure 4a measures bubble time against request rate for two fixed chunk sizes on the Azure Code workload with the 32B model. At a chunk of 128 the bubbles stay small across the whole range; at 2,048 a handful of long prefill microbatches dominate the pipeline at low to moderate load (1–3 req/s), and the bubble only collapses once the request rate passes roughly 4 req/s and the pipeline is consistently filled with prefills — above 5 req/s bubbles are rare for either size because every stage is kept busy by the sheer number of tokens. Figure 4b shows the other side of the trade-off: token throughput rises monotonically with the chunk size, from about 6.8k tok/s at 128 to about 11.3k tok/s at 2,048 (values read off the figure). Fewer tokens per iteration means lower GPU utilisation, which shows up as TTFT growth exactly when the queue is longest.

Figure 4: (a) pipeline bubble time versus request rate for chunk sizes 128 and 2048; (b) prefill token throughput versus chunk size
Figure 4: Pipeline bubbles and prefill token throughput according to load and chunk size (when serving Qwen2.5-32B with the Azure Code workload on 4 NVIDIA A100 GPUs) (a) PP128 (blue) is almost flat at a few milliseconds across 1–6 req/s, while PP2048 (red) peaks at roughly 55 ms near 3 req/s and then falls away: at low load a 2,048-token chunk lets a few long prefills monopolise the pipeline, and only when arrivals are frequent enough to keep every stage fed does the imbalance disappear. (b) The price of small chunks: prefill throughput grows with the chunk size all the way to 2,048. Put the two panels together and the tuning problem is visible — the chunk size that minimises bubbles is not the one that maximises throughput, and which of them matters depends on the current load. Proc. p.1808

Figure 5: what chunking actually removes

The mechanism is easiest to see on a timeline. In naive PP, A1's prefill occupies Worker 0 for one long block, Worker 1 waits for the whole block, and the idle strip after it is unavoidable. With chunked prefill, A1 is split into A1[C1] and A1[C2]: stage 0 hands over the first chunk and can start B1 while stage 1 is still working on A1[C1], so the pipeline fills earlier and the same work finishes with less idle time.

Figure 5: naive pipeline parallelism versus pipeline parallelism with chunked prefill
Figure 5: Reducing pipeline stalls from chunked-prefill [2] (a) Naive PP: A1 is one indivisible prefill, so Worker 1 cannot begin until the whole block has traversed Worker 0, and the gap after B1 is idle. (b) With chunked prefill: the same A1 is issued as A1[C1] then A1[C2], each stage's occupancy gets shorter and interleaved with B1, and later the decode of B3 can overlap with the prefill of C1[C1]. Chunking does not change the total work — it changes the granularity at which work is handed between stages, which is the property the rest of the paper exploits. Proc. p.1808
Three kinds of imbalance: triggers, symptoms and the lever used against each ([organized] from §3–§4 — assembled here, not a table from the paper)
ImbalanceTriggerSymptomLever in this paper
P-P (prefill-prefill)Microbatch input lengths within one iteration differ sharply (e.g. 2,048 vs 128 tokens)The long prefill occupies one stage while the short one idles; a single bubble reaches about 627 msDynamic chunk size — cutting long prefills so per-stage work evens out
P-D (prefill-decode)One microbatch is all decode while another is all or mostly prefillPer-stage work differs by an order of magnitude; the decode side idles and TPOT climbsDynamic chunk plus the predictor's bounds, which stop a large prefill from entering a decode iteration
D-D (decode-decode)An all-decode iteration in which one microbatch holds noticeably more requests (e.g. 129 vs 128)Linear layers are a step function, so a few extra requests cost about 31% more; the stall repeats every iterationDelay scheduling — migrate requests between microbatches and align to 128-sized hardware boundaries
Where this leaves the reader: chunked prefill fixes the size of the prefill block but not the choice of it, and it does nothing at all when there is no prefill in the iteration. Two actuators therefore remain: how many tokens an iteration may prefill (a chunk-size decision, affecting P-P and P-D), and which requests share a microbatch (a rebalancing decision, affecting D-D). Section 4 builds one of each.
04 · Design

Two Dynamic Chunk Schedules

The control objective

Both mechanisms answer the same question at every scheduling iteration: how many tokens may this iteration prefill? The stated goal is to pick the smallest chunk size that can still absorb the current request load, because small chunks minimise the prefill-induced bubble, while a growing queue forces the chunk up to keep utilisation high. The two SLOs act as the constraints that bound that search from opposite sides. TPOTSLO caps the chunk: as demand rises the system enlarges the chunk, but strictly limits the increase so that no TPOT violation is anticipated. TTFTSLO acts as the load indicator: when the waiting queue grows, incoming requests are likely to miss their TTFT budget, so the chunk is enlarged to drain the queue faster; when TTFT is comfortable the system is lightly loaded and the chunk can be reduced, which costs little throughput because the system is not compute-saturated. Together the two SLOs define the feasible range of chunk sizes — the paper's framing, and the reason both the greedy and the predictive variant can be described as "pick a point inside the SLO-derived interval".

Greedy: a feedback loop

Algorithm 1 keeps a current chunk size \(c\) inside a discrete candidate set \(C\) (for example {128, 256, …}), initialised to the minimum, and updates it every \(D_p\) scheduling iterations — the cadence is forced by the hardware, since a chunk-size change only takes effect after a microbatch has traversed all \(D_p\) stages. Five quantities steer the update: the available KV-cache ratio \(KV_{free}\in[0,1]\), the KV watermark \(\theta_{mem}\), two boundaries α and β for TTFT slack, and one boundary γ for TPOT slack. The loop then walks four branches in strict priority order.

Algorithm 1: Greedy chunk size adjustment
Algorithm 1: Greedy chunk size adjustment Lines 1–8 are state, not logic: pipeline depth \(D_p\), the candidate set \(C\), the current size \(c\), the step δ, the free-KV ratio, the memory watermark \(\theta_{mem}\), the two TTFT boundaries α/β and the TPOT boundary γ. The loop body executes once every \(D_p\) iterations and has exactly four outcomes. ① Retrieve (line 12): read TTFT slack, TPOT slack and \(KV_{free}\) from the previous iterations. ② Memory check (lines 14–15): if \(KV_{free} < \theta_{mem}\), keeping a large chunk risks a stage failing its KV allocation, so \(c\) jumps to the smallest candidate larger than the number of running requests — draining in-flight work and freeing memory takes priority over every other consideration. ③ Shrink (lines 17–18): if TPOT slack is negative (the SLO is, or is about to be, violated) or TTFT slack exceeds α·TTFTSLO (the load is low relative to the current chunk), subtract δ. The first clause protects in-flight TPOT, the second removes P-P and P-D bubbles that cost almost no throughput under light load. ④ Grow (lines 20–21): if TTFT slack has fallen below β·TTFTSLO while TPOT slack is still above γ·TPOTSLO, add δ — this raises prefill compute per iteration and drains the queue, but only while TPOT stays comfortable. There is no fifth branch: if none matches, the chunk size is left alone. Proc. p.1809

The ordering is the design. The memory check pre-empts the latency logic because a failed KV allocation is not a slow iteration but a dropped one; the shrink branch is evaluated before the grow branch because over-large chunks are the failure mode the paper set out to remove; and both α and β are expressed as fractions of the SLO, which is what makes the loop portable across SLO settings instead of hard-coded to 2,000 ms and 200 ms.

Its limits are structural, and the paper states them rather than hiding them. Because the adjustment is step-wise and reactive, the loop needs several iterations to converge on the right chunk size, so under rapidly changing workloads the scheduler is permanently chasing a moving target and spends long stretches in a suboptimal state. And because the only evidence it sees is the TTFT/TPOT slack measured in previous iterations, that evidence is delayed by the pipeline depth and skewed by whatever larger chunks are still executing in other stages — under pipeline parallelism the feedback is both late and polluted.

Predictive: price every candidate

The second mechanism replaces reaction with estimation. The latency model — the paper calls it ALP, adaptive latency prediction — is deliberately split along the same line Figure 3 draws. Iteration latency is dominated by linear layers, whose cost scales with the total number of batched tokens and is therefore largely determined by the chunk size; that makes the linear part predictable by offline profiling, a straight line through token counts. Attention is a smaller but dynamic share, tied to request composition, and because inference is autoregressive the batch composition evolves gradually across iterations — gradual enough to be tracked online without making the prediction unstable.

$$ T_{iter} = T_{offline} + T_{online} $$
$$ T_{offline} = \alpha_0 \cdot N_{tokens} + \alpha_1, \qquad T_{online} = \beta_0 \sum (L_{past} \cdot L_{pre}) + \beta_1 \sum (L_{pre}^{2}) + \beta_2 \sum L_{dec} + \varepsilon $$

Each term in the online component has a concrete referent in chunked prefill: \(L_{past}\) is the context accumulated from earlier chunks, \(L_{pre}\) the current prefill chunk, and \(L_{dec}\) the context lengths of the decode requests in the batch. Their products give the three attention shapes the iteration actually pays for — prefill attention over the past context (\(L_{past}\cdot L_{pre}\)), self-attention inside the current chunk (\(L_{pre}^{2}\)), and decode attention (\(L_{dec}\)) — with coefficients \(\beta_0,\beta_1,\beta_2\) and a residual ε for unmodelled system noise. The offline part is measured once, across discrete token counts from 128 to 2,048.

The coefficients are not fitted offline. Each iteration the scheduler compares the prediction with the measured latency and updates the parameters with Recursive Least Squares (Haykin, Adaptive Filter Theory). The paper gives two reasons RLS fits this problem specifically: unlike gradient descent, whose updates are sensitive to the scale of input features, RLS carries an internal covariance matrix that adapts to feature-wise scaling, which matters because \(L_{pre}^{2}\) and \(L_{dec}\) differ in magnitude by orders of magnitude; and a forgetting factor lets recent observations dominate, so the model tracks dynamic effects such as prefill-decode interference rather than averaging them away.

Figure 6: five steps from state to chunk size

With a calibrated model the scheduler can price every candidate before committing to one. It reads the current state, updates the predictor with the previous iteration's measurement, throws out candidates whose predicted latency would break TPOTSLO, throws out candidates whose predicted throughput is too low to meet TTFTSLO, and then takes the cheapest candidate that survives both filters.

Figure 6: workflow of predictive dynamic chunked-prefill, from system state through the adaptive latency predictor to chunk-size bounds
Figure 6: Workflow of predictive dynamic chunked-prefill The loop is drawn as a table of candidates between two boxes. ① State — \(KV_{free}\), \(L_{measured}\), \(Q_{waiting}\), \(B_{running}\). ② Predictor — a baseline offline-profiling component plus an online-updating adaptation component, refitted from the measurement of the previous iteration. The table then lists chunk sizes 128…2,048 with predicted latency and predicted throughput (the excerpt shows 45/7127 at 128 up to 467/14745 at 2,048). ③ Upper bound — the lower (blue) dashed line, derived from TPOTSLO: candidates whose predicted latency exceeds the bound are discarded, which in the excerpt removes 512 and everything above it (the blue-tinted latency cells). ④ Lower bound — the upper (red) dashed line, derived from the minimum throughput TTFTSLO demands: chunks below it are too small to drain the queue, which removes 128 and 256 (the red-tinted throughput cells). ⑤ The one candidate left between the two lines (384, green) is selected and handed to the inference engine; the measured latency then feeds back into the predictor. Note that predicted latency is multiplied by the pipeline depth to get the end-to-end estimate — the depth enters as a multiplier, not as a second model. Proc. p.1810

Two details are easy to miss and matter for a re-implementation. First, the memory safety check is identical to the greedy algorithm's — the predictive path does not get to skip the branch that prevents a stage from failing its KV allocation. Second, when no candidate satisfies both SLOs, the system is treated as overloaded and the scheduler deliberately switches objective: it takes the largest chunk that still satisfies TPOTSLO, because at that point the priority is draining the waiting queue rather than minimising bubbles. The lower bound itself has two parts — an arrival-matching throughput computed from the request rate and token distribution over a sliding window, plus a component for requests that have already waited longer than a freshness threshold, obtained by dividing their total prompt length by their remaining budget (TTFTSLO minus the average waiting time).

Delay scheduling: pay a little waiting to buy balance

Neither chunk-size mechanism helps when the iteration contains no prefill at all. In decode-only iterations the request count is the dominant factor for imbalance — each request contributes exactly one input token, so the per-request linear-layer work is nearly uniform — and yet existing systems fix a request to its microbatch for its entire lifetime (Kwon et al., 2023; Zheng et al., 2024). That static assignment magnifies D-D imbalance and sustains stalls across iterations. Delay scheduling rebalances at runtime: each scheduling iteration it inspects the load distribution across stages and migrates requests from the heaviest to the lightest microbatch in proportion to their computational demand.

The policy has two parts. First, batch sizes are aligned to hardware-efficient boundaries (128, 256, 384) because, as Figure 3c showed, 129 tokens cost almost the same as 256 while adding imbalance. Second, a threshold-based preemption: if a microbatch overshoots a boundary but the overflow is within a configured threshold, the excess requests are suspended and the batch is reduced to the nearest boundary; if the overflow exceeds the threshold, the batch is instead aligned to the average request count across all microbatches and previously suspended requests are resumed to fill the gap. Which requests get suspended depends on which resource is scarce — when TPOT slack is insufficient the scheduler preempts older requests, which tolerate additional latency more readily, protecting the TPOT of newer ones; when TPOT slack is ample the risk shifts to KV-cache exhaustion and TTFT violations, so it preempts newer requests instead, letting older ones finish and release KV memory sooner.

Figure 7: imbalanced decode-heavy pipeline versus the same pipeline with delay scheduling
Figure 7: Reducing pipeline stalls with delay scheduling (a) Imbalanced: from Ti onward the two workers carry very different decode loads — at Ti+2, Worker 0 holds C3D3E2F2 while Worker 1 only has A3B3 — so one stage waits on the other every iteration. (b) With delay scheduling: requests E and F are temporarily suspended (the small dashed boxes above the timeline) so the microbatches even out; E2 resumes once A completes at Ti+2, forming B4E2, and F2 resumes after D completes, forming C5F2. The bracketed region on the right is the saved time: individual requests are delayed, but the pipeline stops stalling, so total completion time falls. That trade — a few requests pay extra latency so every request finishes sooner — is the honest summary of delay scheduling. Proc. p.1811
How the three pieces fit: the greedy loop and the predictor are alternative solutions to the same problem (choose the chunk size per iteration), and the paper evaluates them as such — one cheap and reactive, one accurate and predictive. Delay scheduling is not an alternative but an addition, and it only has work to do when the chunk-size mechanisms have nothing to chew on. That is why the evaluation's strongest single result for DS appears on a decode-heavy workload where DCP barely moves the needle.
05 · System

Putting It Into SGLang

The implementation sits on SGLang 0.4.1, with PyTorch v2.5.1, CUDA 12.4 and FlashInfer underneath. Both baselines and the three techniques were built on top of SGLang: the baseline is pipeline parallelism with chunked prefill, and the techniques are additions to the scheduling path rather than to the model or the kernels. That is the paper's main systems claim — the mechanisms need no new operator, no custom kernel and no retraining — and it is the reason the whole page can talk about "knobs" at all.

The timing model uses two stages; the evaluation's stage count is never stated

Every timing diagram in the paper draws two workers, and §3.1.1 makes the assumption explicit for the illustration ("assuming a two-stage pipeline and a maximum batch size of three"). The evaluation, however, describes only "a server with four NVIDIA A100 (40GB) GPUs" connected via PCIe 4.0; the pipeline degree used for PP, the number of layers per stage and the number of GPUs per TP group are not reported. This matters when reading \(D_p\): the greedy loop's update cadence is defined as one update per \(D_p\) iterations, so \(D_p\) is whatever the deployed stage count is, and the paper's numbers therefore validate the mechanism without pinning down its most structural parameter. It is flagged again in the assessment below rather than papered over here.

What the paper discloses, and what it leaves to the reader

Because the paper is a scheduling study rather than a systems-release paper, its disclosure is asymmetric: the control structure is stated precisely enough to re-implement, while the numeric operating point is almost entirely absent. The table below separates the two, because a reader who wants to reproduce the mechanism and a reader who wants to reproduce the results need completely different things from this paper.

Disclosed vs. not disclosed in the implementation and method sections ([organized] from §4 and §5.1 — assembled here, not a table from the paper)
Configuration itemWhat the paper disclosesWhat it does not disclose
Software stackSGLang 0.4.1; PyTorch v2.5.1; CUDA 12.4; FlashInfer; baselines and techniques all implemented on top of SGLang (§5.1)Size or location of the scheduler patch; how the PP path was wired into SGLang's iteration loop
Candidate chunk set \(C\)"Set of possible chunk sizes (e.g., {128, 256, …})"; step δ = 128 ("e.g., 128"); 2,048 is the largest chunk the compute capacity of an A100 supports (Algorithm 1, lines 2 and 4; §3.2.1)The exact membership of \(C\) as deployed, and whether it is derived per model or per GPU
Update cadence \(D_p\)One update per \(D_p\) scheduling iterations, where \(D_p\) is the pipeline depth, because a chunk change only takes effect after a microbatch traverses all stages (Algorithm 1, lines 1 and 10; §4.1.1)The pipeline degree used in any experiment — §5.1 lists four GPUs but never the stage count
KV watermark \(\theta_{mem}\)Exists, is in [0, 1], is tested as \(KV_{free} < \theta_{mem}\), and on trigger resets the chunk to the smallest candidate larger than the running request count (Algorithm 1, lines 6, 14–15)Any numeric value, and whether it is a static fraction of the KV pool or load-dependent
Slack boundaries α, β, γα = "sufficient TTFT slack" boundary, β = "TTFT slack tight" boundary, γ = TPOT-comfortable boundary, all in [0, 1] and all relative to the respective SLO (Algorithm 1, lines 7–8; conditions on lines 17 and 20)Any numeric value for α, β or γ
Predictor inputs\(KV_{free}\), \(L_{measured}\), \(Q_{waiting}\), \(B_{running}\) are read each iteration; attention features (prefix and context lengths) update the model (Figure 6 ① ②; §4.1.2)Length of the sliding window used for the request-rate estimate
Predictor costFull accuracy/cost table: MAPE 3.26%, 0.002875 ms per prediction, 0.643 KB model (Table 1)The offline profile itself — measured \(T_{offline}\) values, and \(\alpha_0,\alpha_1\)
RLS adaptationRecursive Least Squares with an internal covariance matrix and a forgetting factor that prioritises recent observations (Haykin, Adaptive Filter Theory)Forgetting factor λ, covariance initialisation, and the update rate
Delay-scheduling boundariesHardware-efficient batch boundaries given as "e.g., 128, 256, 384"; alignment to the average request count when the overflow is large (§4.2)The value of the preemption threshold ("a configured threshold")
Preemption policyVictim choice is state-dependent: preempt older requests when TPOT slack is short, newer requests when TPOT slack is ample and the risk is KV exhaustion (§4.2)Resume ordering and any anti-thrashing rule for repeatedly preempted requests
Evaluation platform4× NVIDIA A100 40GB on PCIe 4.0; 128-core AMD EPYC 9754 at 2.25 GHz; 768 GB RAM; BF16 models (§5.1)PP degree, per-stage layer split, NVLink-vs-PCIe sensitivity, multi-node behaviour

The practical reading is that this is a reproducible mechanism with an unreproducible operating point. The control law fits on a page: four scalars (α, β, γ, \(\theta_{mem}\)), one step size, one cadence inherited from the topology, plus a threshold and a forgetting factor. A reader can rebuild it in an afternoon; what they cannot know is where α and β should sit on their own hardware, because the paper does not report where they sat on this one. The tuning surface is small enough that a sweep is plausible — which is precisely why the omission is worth flagging rather than treating as fatal.

System-level verdict: the contribution is architectural honesty — no new kernel, no model surgery, no retraining, and every mechanism expressible as a modification of the scheduler's next-iteration decision. The cost of that honesty is that the paper's evidence is inseparable from its one testbed, and its parameters are inseparable from its authors' tuning.
06 · Evaluation

Evaluation

Setup and workloads

The platform is one node: four NVIDIA A100 40GB GPUs, each attached to the host over PCIe 4.0, a 128-core AMD EPYC 9754 at 2.25 GHz and 768 GB of RAM, with PyTorch v2.5.1, CUDA 12.4 and FlashInfer under SGLang 0.4.1. The models are Qwen2.5-32B and Qwen2.5-14B in BF16. Traffic comes from three real traces — Azure Conversation, ShareGPT and CNN — plus one synthetic derivative, CNN-Reversed, built by swapping CNN's input and output distributions so that prompts are short and generations long. Request arrivals follow a Poisson process, the standard model for interactive user-facing services.

Five configurations are compared. TP is the tensor-parallel baseline, run with the default chunk size of 2,048. PPstatic is pipeline parallelism with a chunk size chosen by an offline search — 512 for AzureConv, CNN and ShareGPT on the 32B model, 256 for CNN-Reversed on 32B, and 1,024 for AzureConv on the 14B model; the paper notes explicitly that the best chunk size is workload-dependent. On top of that sit DCPgreedy, DCPpred and DCPpred+DS. The primary metric is goodput, the highest request rate at which P90 TTFT and P90 TPOT both satisfy their SLOs (2,000 ms / 200 ms); once goodput is comparable the paper compares P90 TTFT, TPOT and end-to-end latency. In the three latency panels only PPstatic is plotted, so the goodput bars are the only place where all five configurations appear together.

Figure 8: input and output length distributions of the AzureConv, ShareGPT and CNN traces
Figure 8: Input and output length distributions The reason the four workloads stress different bubbles. (a) Azure Conversation averages 1,161 input and 212 output tokens — prefill-dominated, so P-P and P-D imbalance dominate and the chunk size is the main lever. (b) ShareGPT averages 226 input and 199 output tokens — short prompts but still a prefill share large enough to matter. (c) CNN averages 883 input and only 65 output tokens — the most prefill-heavy of the three. CNN-Reversed, not shown, swaps these distributions and becomes decode-heavy (long outputs, tiny prompts), which is why D-D imbalance and delay scheduling matter there and almost nowhere else. Proc. p.1811

Qwen2.5-32B: goodput, and the chunk size that dominates everything

Figure 9 is the core result table rendered as charts: a goodput bar group per workload, then the P90 curves behind it. The goodput bars also expose the static chunk sweep, and that sweep is the most surprising object in the paper. On AzureConv the static chunks read 4.27, 7.07, 8.28, 4.35 and 3.16 req/s for 128, 256, 512, 1,024 and 2,048 tokens — the best static point is 8.28 and the default 2,048 is only 3.16, below TP's 3.48. The chosen chunk size is not a fine-tuning detail; it decides whether PP beats TP at all.

Figure 9: goodput bars and P90 TTFT, TPOT and E2E latency curves for Qwen2.5-32B on AzureConv, CNN, ShareGPT and CNN-Reversed
Figure 9: Goodput, TTFT, TPOT, and E2E latency for Qwen2.5-32B Four workload blocks, each with a goodput bar group (TP, the static sweep PP128…PP2048, then DCPgreedy, DCPpred, DCPpred+DS) and three P90 curves against request rate. (a) AzureConv: TP 3.48 vs best static 8.28 at 512, falling to 4.35 at 1,024 and 3.16 at 2,048; the DCP bars reach 8.41 / 8.47 / 8.47, i.e. the dynamic schemes recover the good chunk without needing the offline search. (b) CNN: TP 4.30, best static 9.26 at 512, DCPpred 10.17 — about 10% above the best static point. (c) ShareGPT: TP 12.45, best static 32.46 at 512, DCPpred 36.09 — about 11% above it, the largest goodput gain from prediction in the figure. (d) CNN-Reversed: everything clusters between 5.98 and 7.40 because short prompts leave little for chunking to fix, and only DCPpred+DS breaks out to 10.42. In the latency curves TP's TTFT leaves the plot early on every workload — the PCIe bottleneck of Figure 1 — while its TPOT stays lowest, and the DCP curves sit below PPstatic on TPOT and E2E exactly where prefill dominates. Proc. p.1812

Against the tuned PPstatic baseline the two DCP variants behave as designed: both slightly increase TTFT and leave goodput roughly unchanged, while substantially improving TPOT and E2E by removing bubbles. On AzureConv, DCPgreedy cuts TPOT and E2E by up to 19% and 18%, whereas DCPpred achieves 35% and 31%. The split is explained by reactiveness: the greedy loop is structurally limited in how aggressively it can exploit favourable operating points, so it nearly matches the predictor on goodput but converts less of it into latency. On CNN the same comparison reads 27% / 28% for greedy against 42% / 36% for the predictor, and on ShareGPT the predictor reaches 36% / 24%. The pattern the paper draws from these three workloads is that predictive chunk selection gives more consistent reductions than greedy selection.

A [estimated] reading of the same bars puts the magnitudes in perspective: PPstatic is about 2.4× TP on AzureConv (8.28 / 3.48), 2.2× on CNN (9.26 / 4.30) and 2.6× on ShareGPT (32.46 / 12.45), while DCPpred adds about 2% on AzureConv, 10% on CNN and 11% on ShareGPT over PPstatic. Most of the distance from TP to PP is crossed by choosing a good static chunk at all; the dynamic mechanisms convert the remaining few percent of goodput into a large latency reduction, and that is the honest way to read the paper's headline claim.

Qwen2.5-32B goodput in req/s (assembled here from the bar labels of Figure 9, not a table from the paper)
WorkloadTPPP128PP256PP512PP1024PP2048DCPgreedyDCPpred+DS
AzureConv (prefill-heavy)3.484.277.078.284.353.168.418.478.47
CNN (prefill-heavy)4.306.289.159.264.483.219.4010.1710.16
ShareGPT (mixed)12.4514.3426.3332.4614.6912.6333.1736.0936.16
CNN-Reversed (decode-heavy)5.986.187.277.217.227.237.387.4010.42

Tabulating those bars makes one pattern easier to see than the charts do: on all three prefill-heavy workloads goodput collapses once the chunk exceeds 512, while the decode-heavy CNN-Reversed workload is almost insensitive to the chunk size and only delay scheduling moves it (7.40 → 10.42, i.e. 1.41×). The same table is also why the claim that a tuned static chunk already beats TP has to be read together with the sweep on either side of it: the win is one operating point wide.

Qwen2.5-14B: same shape, different operating point

Only two workloads are shown for the smaller model, for space: AzureConv as the prefill-heavy representative and CNN-Reversed as the decode-heavy one. The trends carry over, and one detail is informative precisely because it changes — on the 14B model the best static chunk for AzureConv is 1,024, not 512, so the desired chunk size shifts with the model as well as with the workload. DCPgreedy and DCPpred reach the highest goodput and lower TPOT and E2E; relative to PPstatic the greedy and predictive approaches reduce TPOT latency by up to 40% and 50%.

Figure 10: goodput bars and P90 latency curves for Qwen2.5-14B on AzureConv and CNN-Reversed
Figure 10: Goodput, TTFT, TPOT, and E2E latency for Qwen2.5-14B (a) AzureConv: TP 4.52, static sweep peaking at 1,024 with 16.55 (6.88, 10.80, 13.10, 16.55, 10.02 for 128…2,048), DCPgreedy 16.33, DCPpred 16.75, DCPpred+DS 16.71 — delay scheduling is inert here, as expected for a prefill-heavy trace. (b) CNN-Reversed: TP 5.37, static sweep 8.62 / 13.65 / 15.16 / 15.09 / 14.58, and then DCPpred+DS at 19.88, about 31% above the best static point [estimated]. The TTFT panel in the same block shows why: DCPpred already spikes around 11 req/s, while the DCPpred+DS curve is still far inside the 2,000 ms budget at 15–20 req/s before it too jumps. The paper notes that on this decode-heavy workload delay scheduling reduces TTFT and the median E2E latency, but — unlike the 32B model — produces no visible P90 E2E reduction. Proc. p.1813
Qwen2.5-14B goodput in req/s (assembled here from the bar labels of Figure 10, not a table from the paper)
WorkloadTPPP128PP256PP512PP1024PP2048DCPgreedyDCPpred+DS
AzureConv4.526.8810.8013.1016.5510.0216.3316.7516.71
CNN-Reversed5.378.6213.6515.1615.0914.5815.2515.4519.88

Where the tail actually goes

Goodput says whether a configuration stays inside budget; the iteration-latency CDF says what it does to individual scheduling rounds. Figure 11 derives the distributions from the runs in Figure 9 at average loads of roughly 4, 5 and 8 requests per second. For AzureConv the 90th-percentile iteration latency falls from 51.68 ms with PPstatic to 29.56 ms with DCPgreedy and further to 21.53 ms with DCPpred; at the 99th percentile the predictor reaches 30.94 ms against 65.34 ms, a 2.11× improvement in the tail.

Figure 11: CDF of per-iteration latency for AzureConv at 4 req/s, CNN at 5 req/s and CNN-Reversed at 8 req/s
Figure 11: CDF of iteration latency for (a) AzureConv, (b) CNN, and (c) CNN-Reversed (a) AzureConv: the DCP curves are shifted left almost everywhere, and the gap widens towards the tail — that is the 51.68 → 29.56 → 21.53 ms P90 sequence and the 65.34 → 30.94 ms P99 sequence, which the paper reads as evidence that the predictor concentrates iterations near the low bound instead of occasionally overshooting. (b) CNN: same shape, with one honest exception — DCPpred is slightly worse than PPstatic below the 50th percentile and only crosses over around the 60th, after which its advantage grows towards the tail. (c) CNN-Reversed: all three prefill-side variants sit almost on top of each other, confirming that short prompts leave DCP little room; the curve that separates is DCPpred+DS, whose P90 drops to 24.53 ms against PPstatic's 28.94 ms. Proc. p.1814

Under tighter SLOs

Figure 12 sweeps the SLO budget rather than the load: on the x-axis, an SLO scale of 1.0 means 2,000 ms TTFT and 200 ms TPOT, and lower values tighten both proportionally. The headline is that DCP's advantage over the PP baseline grows as the budget tightens — from 2.7× to 5.4× for the 32B model and from 1.7× to 2.4× for the 14B model as the scale drops from 1.0 to 0.4. At the strictest scale of 0.2 on the 32B model even the smallest possible chunk violates the TPOT constraint, so every PP-based system collapses to zero goodput.

Figure 12: goodput versus SLO scale for Qwen2.5-32B and 14B on AzureConv and CNN-Reversed
Figure 12: Goodput comparison of Qwen2.5 32B and 14B under various SLO constraints. Four panels, TP / PP / DCPgreedy / DCPpred / DCPpred+DS, against SLO scale 1.0 → 0.2. AzureConv, 32B: the PP baseline here is the default 2,048 chunk, so it sits at or below TP — the paper attributes this to high compute costs dominating on the largest model — while both DCP variants track each other far above both baselines and diverge from them as scale tightens. CNN-Reversed, 32B: the pure-PP curve is almost flat down to 0.6 because violations are driven by KV-cache exhaustion and abrupt TTFT spikes rather than by prefill, and DCP alone barely helps — DS is the curve that opens the gap, up to 1.4× over the PP baseline, until it collapses below 0.6 because the system hits the TPOT limit before accumulating enough requests to reach DS's activation threshold. 14B panels: the same ordering at a higher absolute goodput, with the 1.7× → 2.4× range quoted in the text. Proc. p.1814

Synthetic prefill-heavy and decode-heavy extremes

To separate the mechanisms from the traces, the paper builds two synthetic workloads by uniform sampling: prefill-heavy draws input lengths from [512, 1024] and output lengths from [32, 64] tokens, while decode-heavy swaps the two ranges. Both are served at rates chosen to be just where the PP baseline starts violating the SLO — 5 and 14 requests per second respectively — which makes the comparison a test of which mechanism rescues the case.

Figure 13: mean, P90, P95 and P99 latency for TTFT, TPOT and E2E on synthetic prefill-heavy and decode-heavy workloads
Figure 13: TTFT, TPOT, and E2E latency for (a) prefill-heavy and (b) decode-heavy synthetic workloads. Input and output lengths are uniformly sampled from [512, 1024] and [32, 64] tokens for (a), and from [32, 64] and [512, 1024] tokens for (b). (a) Prefill-heavy: TP and PP have similar TTFT, but PP's TPOT and E2E are far worse — here the imbalance is the whole story, and both DCP variants cut all three metrics below both baselines, with DCPpred shaving a further 25% of P99 TPOT and 13% of P99 E2E over DCPgreedy; DS changes nothing because there is no D-D imbalance to fix. (b) Decode-heavy: the ordering flips — PP beats TP on all three metrics (mean TTFT 2.82×, TPOT 1.30×, E2E 1.38× better), the DCP variants track PP almost exactly because there is no prefill to chunk, and DS is the only thing that moves: it preempts short-context requests to let long-context ones finish and reclaims their KV memory earlier, cutting E2E by 4,062 ms on average and 8,088 ms at P99 relative to DCPpred — at the price of making P99 TPOT 15% worse for the preempted requests. Proc. p.1815

The real trace

The last experiment replays the first 15 minutes of the Azure Conversation trace, with the arrival rate scaled to 0.9× the original so that PPstatic's SLO attainment lands near 90% — a deliberately hard but not saturated regime. This is the only place in the paper where all configurations are judged by attainment rather than by the goodput definition, and the numbers are the cleanest summary of the whole argument: TP attains 1.9%, PP with the default chunk of 2,048 attains 1.6%, the offline-searched PPstatic attains 92.5%, and the dynamic variants attain 93.5%, 94.5% and 94.6%.

Figure 14: SLO attainment bars, TPOT-latency CDF and E2E-latency CDF for the Azure Conversation trace on Qwen2.5-32B
Figure 14: Performance of real-trace using Azure Conversation [22]: (a) SLO attainment, (b) TPOT latency CDF (conditional on TTFTSLO), and (c) E2E latency CDF (conditional on all SLOs) for Qwen2.5-32B (a) The static sweep is visible in full — PP128 12.4%, PP256 82.8%, PP512 92.5%, PP1024 6.9%, PP2048 1.6% — so the entire distance between 1.6% and 92.5% is a chunk-size decision made offline, and TP's 1.9% says that on real Azure traffic TP is effectively unusable at this rate. (b) Conditional on meeting the TTFT SLO, the DCP curves sit left of PPstatic: attainment is similar but a larger fraction of requests lands in the low-latency region, which is the paper's point that equal attainment can hide very different latency distributions. (c) Same for E2E. Two further numbers from the text: if TPOTSLO is tightened to 150 ms, DCPgreedy and DCPpred achieve 3.06× and 4.14× the attainment of PPstatic, and 1.3× / 1.6× as many requests complete within 60,000 ms. DS is not activated here because the trace is prefill-heavy. Proc. p.1816

Is the predictor worth its complexity?

The final analysis asks whether a learned latency model earns its place, and answers it in two directions: how accurate ALP is as components are added, and what it costs against generic ML alternatives. Accuracy is measured as MAPE on the AzureConv workload; cost is reported as prediction time and model size, both of which decide whether the model can run inside the scheduler's critical path.

Table 1: comparison of latency prediction models — ALP component ablation against linear regression, decision tree ensemble and a DNN
Table 1: Comparison of latency prediction models The top block is an ablation of ALP: starting from offline profiling of the linear layers only (MAPE 15.85%), each attention term added in turn drops the error — prefix attention 12.21%, prefill attention 9.69%, decode attention 3.48% — and the residual ε term, which absorbs runtime noise the attention terms cannot explain, takes it to 3.26%. That the largest single step is the decode term is consistent with Figure 3b: decode attention is where batch composition shows up. The bottom block is the competition: linear regression on ALP's online features (4.26%), a LightGBM decision-tree ensemble (2.74%) and a two-layer DNN with batch normalisation (2.56%), the last two fed extra request-level statistics. Both beat ALP, but the paper's framing is that the margin is small and does not matter — ALP's MAPE is only 0.70 percentage points above the DNN's, which produces no meaningful end-to-end difference in TTFT or TPOT, and ALP reaches it with 0.002875 ms and 0.643 KB per prediction against the DNN's 0.046407 ms and 570 KB, with no offline training phase at all. Proc. p.1816

Read as an engineering trade, the table makes a conservative argument: the predictor is roughly 16× cheaper in time and 900× smaller than the DNN for 0.70 points of MAPE [estimated], and it needs no pre-training or feature pipeline. Read as evidence, it also shows the ceiling — no learned model buys more than a few points of MAPE, which is why the paper attributes its latency wins mainly to the scheduling decision rather than to prediction quality.

What the evaluation establishes, and what it does not: it establishes that the bubble analysis has operational value — the same PP deployment moves from "worse than TP" to "2.4× TP on goodput" purely by choosing a chunk size, and the dynamic schemes then roughly halve TPOT on prefill-heavy traces. It does not establish generality: one node, one interconnect class, one pair of model sizes from one family, one pipeline shape, and a predictor validated on a single trace.
07 · Related Work

Where It Sits

The paper's related-work section reads as a map of three separate research lines that have never quite met: the batching/prefill line, the disaggregation line and the model-parallelism line. Its own position is the intersection — it takes a technique from the first (chunked prefill), refuses the second (disaggregation), and applies both to the third (pipeline parallelism), which it argues has been left behind by serving frameworks.

The batching and prefill line

ORCA was the early and influential system that introduced iteration-level scheduling and selective batching to keep GPU cores busy (Yu et al., 2022), and the paper's whole analysis inherits its model of an iteration. Chunked prefill then split long prompts into smaller pieces to relieve TPOT under prefill-heavy traffic (Agrawal et al., 2024; Holmes et al., 2024), and the idea has been absorbed into production stacks: vLLM (Kwon et al., 2023), SGLang (Zheng et al., 2024), TensorRT-LLM (Vaidya et al., 2023) and Dynamo (NVIDIA AI Dynamo Team, 2024). Alongside scheduling, KV-cache management across GPU, CPU and storage has its own literature aimed at avoiding recomputation (Gao et al., 2024; Yu et al., 2025; Yao et al., 2025; Jeong and Ahn, 2025). The paper uses all of this as substrate and changes one thing inside it: the chunk size stops being a constant.

Phase disaggregation versus unified serving

The most direct alternative to this paper's approach is to separate the phases physically rather than schedule around their interference — isolating prefill and decode on different GPUs (Patel et al., 2024; Qin et al., 2024; Zhong et al., 2024). The paper concedes that this reduces interference, then names the price: model weight duplication and high-bandwidth requirements for KV-cache transfer. Its counter-position is that unified serving with chunked prefill remains the practical choice once those overheads are counted, but that static chunking leaves non-negligible bubbles — so the overheads of disaggregation and the bubbles of unified serving are the two horns of the same dilemma, and this paper attacks the second horn with scheduling rather than the first with hardware.

Parallelism as a resource-allocation problem

Within multi-GPU serving, prior work has examined tensor parallelism (Shazeer et al., 2018; Shoeybi et al., 2020), pipeline parallelism (Huang et al., 2019; Narayanan et al., 2019) and expert parallelism in MoE models (Shazeer et al., 2017; Lepikhin et al., 2020) to maximise hardware efficiency. AlpaServe extended this with statistical multiplexing, allocating GPU resources dynamically by workload characteristics and improving throughput in multi-tenant settings (Li et al., 2023), while ExeGPT refined resource allocation with constraint-aware scheduling that jointly optimises latency, throughput and GPU utilisation (Oh et al., 2024). The distinction that matters here is one of granularity and of time scale: those systems decide how many GPUs a model or a tenant gets, whereas this paper keeps the topology fixed and re-decides, every iteration, how much work each stage receives.

The nearest neighbour: dynamic chunking for SLO compliance

The closest prior work is recent dynamic chunking, which also adapts the chunk size at runtime but prioritised SLO compliance (Goel et al., 2025) — and, in the paper's characterisation, overlooked the structural constraints of pipeline parallelism, leaving pipeline bubbles unresolved. That sentence is the paper's actual novelty claim, and it is worth stating precisely: not "dynamic chunking is new", nor "chunked prefill is new", but that the chunk size is an actuator for stage-level balance, and that a PP deployment additionally needs a decode-side rebalancing knob which is meaningless outside PP because tensor parallelism does not decompose a batch into microbatches at all.

The conclusion the paper draws

The paper closes by restating the arc: pipeline parallelism's inefficiencies in LLM serving come from imbalance, greedy and predictive chunk-size adjustment fix the prefill-heavy half of it, dynamic rebalancing fixes the decode-heavy half, and evaluated on Qwen2.5-32B and 14B over several real workloads the combination outperforms tensor parallelism in goodput for single-node multi-GPU environments. It is a narrow claim, deliberately so — goodput, one node, PCIe — and the paper does not extend it to multi-node, NVLink or phase-disaggregated deployments.

Positioning in one line: the paper is a second-order systems contribution — every component it uses is standard (iteration-level scheduling, chunked prefill, RLS), and the novelty is in recognising that the chunk size and the microbatch composition are the two control surfaces that PP exposes, then closing the loop on both with SLO slack as the feedback signal.
08 · Assessment

Assessment

Strengths

Weaknesses and thin spots

What a practitioner should take away

Lineage at a glance — each mechanism this paper uses, the upstream it credits, and what the paper changes ([organized] from the paper's inline citations and §4–§6; not a table from the paper)
ComponentUpstream, as cited in the paperWhat this paper changes
Iteration-level schedulingORCA (Yu et al., 2022); vLLM (Kwon et al., 2023)Kept intact — requests still join and leave per iteration; the paper changes only what each iteration is allowed to contain.
Chunked prefillSarathi-Serve (Agrawal et al., 2024); DeepSpeed-FastGen (Holmes et al., 2024)The chunk size becomes a per-iteration control variable bounded by TTFTSLO and TPOTSLO, instead of a fixed configuration.
Default chunk size in production frameworks2,048 as the default chunk size, which the paper also uses for the TP baseline (Agrawal et al., 2024; vLLM Team, 2025)Replaced by a candidate search over {128…2048}: greedy feedback (Algorithm 1) or model-priced bounds (Figure 6).
Iteration-latency modelOffline profiling of the linear layers — this paper's own ablation baseline (Table 1, "ALP (Baseline)")Adds three online attention terms plus a residual ε, taking MAPE from 15.85% to 3.26% without an offline training phase.
Adaptive filteringRecursive Least Squares (Haykin, Adaptive Filter Theory)Applied to per-iteration latency calibration; justified by feature-scale disparity (\(L_{pre}^{2}\) vs \(L_{dec}\)) and by non-stationarity that a forgetting factor handles.
Microbatch compositionStatic assignment for a request's lifetime (Kwon et al., 2023; Zheng et al., 2024)Delay scheduling: suspend and resume requests across stages, aligned to hardware-efficient batch boundaries, with state-dependent victim selection.
Phase-disaggregated servingSplitwise (Patel et al., 2024); Mooncake (Qin et al., 2024); DistServe (Zhong et al., 2024)Not adopted: keeps serving unified to avoid weight duplication and KV-transfer bandwidth, and removes the interference with scheduling instead.
Pipeline parallelism itselfGPipe (Huang et al., 2019); PipeDream (Narayanan et al., 2019)Carried from training into online inference, where microbatches cannot be shaped in advance — the source of all three bubbles.
Dynamic chunking for SLO complianceNiyama (Goel et al., 2025)Adds the PP structural constraint that earlier dynamic chunking ignored, plus the decode-side rebalancing such work cannot express.

Citations follow the paper's own inline attributions; this page did not re-verify them against the paper's reference list.

Not disclosed, worth testing next

Bottom line: a compact, well-instrumented scheduling paper whose strongest result is also its least glamorous one — the chunk size matters more than the algorithm that chooses it. Read it for the bubble taxonomy, the two-branch control law and the honest failure map; treat its parameters, its pipeline shape and its interconnect as local to the authors' rack until you have measured your own.
09 · Glossary

Glossary

Every abbreviation used on this page, in the sense the paper uses it. Abbreviations in the prose carry a dotted underline — hover to see the expansion without leaving the paragraph.

Terms and abbreviations used in this deep read
TermExpansionMeaning in this paper
TPTensor ParallelismSharding intra-layer tensors across GPUs and combining partial results with all-reduce; the default for single-node serving, cheap on NVLink and expensive on PCIe.
PPPipeline ParallelismPartitioning the model by layer depth into stages, one per GPU, with microbatches walking the stages in order; the parallelism this paper revisits.
DCPDynamic Chunked PrefillThe paper's umbrella for choosing the chunk size per scheduling iteration; two variants, DCPgreedy and DCPpred.
DSDelay SchedulingThe paper's decode-side rebalancing: temporarily suspend requests so microbatches across stages even out, then resume them.
ALPAdaptive Latency PredictionThe paper's latency model: an offline linear-layer fit plus online attention terms calibrated by RLS.
TTFTTime To First TokenPrefill-path latency from request arrival to the first output token; budgeted at 2,000 ms in this paper.
TPOTTime Per Output TokenInter-token latency during decode; budgeted at 200 ms. The paper also uses \(TTFT_{SLO}\) and \(TPOT_{SLO}\) for the two budgets.
E2EEnd-to-End latencyTotal request latency; the paper reports its P90 and P99 alongside TTFT and TPOT.
SLOService Level ObjectiveThe latency target a request must meet. Here always a pair: a TTFT budget and a TPOT budget.
Goodput—Defined in §5.1 as the highest request rate at which both P90 TTFT and P90 TPOT satisfy their SLOs; the paper's primary metric.
P90 / P9990th / 99th percentileTail statistics of a latency distribution over requests or over scheduling iterations, depending on the figure.
KV cacheKey-Value cacheThe stored attention keys and values that let decode reuse prior computation; its free fraction (\(KV_{free}\)) is one of the greedy scheduler's inputs.
Chunked prefill—Splitting a long prompt's prefill into fixed-size chunks spread over iterations (Sarathi-Serve, Agrawal et al., 2024); the substrate both DCP mechanisms vary.
Microbatch—A smaller split of an iteration's batch that is handed to one pipeline stage; PP's unit of work traversal, and DS's unit of rebalancing.
Pipeline bubble—Idle time on a stage while its peers work; in this paper classified as P-P, P-D or D-D imbalance.
RLSRecursive Least SquaresThe adaptive filter used to refit ALP's attention coefficients online (Haykin, Adaptive Filter Theory).
MAPEMean Absolute Percentage ErrorThe predictor accuracy metric in Table 1; ALP reaches 3.26%.
MoEMixture-of-ExpertsSparse expert routing; mentioned only in the related work, as a parallelism axis this paper does not combine with.

Variant labels follow the paper's figures: PPstatic is PP with an offline-searched fixed chunk; DCPpred+DS is the predictive chunk schedule combined with delay scheduling.