Deadline-Aware Adaptive Prefill Chunking for Efficient Large Language Model Serving

📅 2026-09-07
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文提出SLOWeave方法,通过动态调整预填充块大小以满足解码截止时间要求,提高大语言模型服务效率。
📝 Abstract
Continuous batching improves large language model (LLM) serving throughput, but long prompt prefills can delay decode iterations and violate inter-token latency objectives. Chunked prefill mitigates this interference, yet its chunk size is normally fixed: small chunks protect decode latency but repeatedly pay launch overhead, while large chunks improve prefill efficiency but create latency spikes. We introduce SLOWeave, an online scheduling method that selects the largest prefill chunk predicted to finish before the earliest active decode deadline. The decision requires no workload-specific chunk-size tuning and is computed by a logarithmic-time search over a monotone iteration-cost model. We prove that, whenever a decode-only iteration is feasible and the cost predictor is accurate, SLOWeave maximizes immediate prefill progress among decisions that preserve every active request's next-token deadline. We evaluate the method in a reproducible event-driven simulator and an iteration-level GPU runtime across chat, mixed-context, long-context, and bursty workloads. Under a 25ms time-per-output-token objective, SLOWeave improves goodput over the strongest fixed-chunk baseline by 39% on mixed requests and 38% on long-context requests. Under a stricter 10ms objective, the gains rise to 3.3$\times$ and 2.4$\times$, respectively. These results isolate adaptive chunk sizing as a useful serving primitive and provide an implementation-ready controller for integration with iteration-level LLM runtimes.
Problem

Research questions and friction points this paper is trying to address.

large language model
continuous batching
prompt prefill
decode latency
chunk size
Innovation

Methods, ideas, or system contributions that make the work stand out.

Adaptive Prefill Chunking
Online Scheduling
Latency Objectives
SLOWeave
Large Language Model Serving
🔎 Similar Papers
2024-05-26Proceedings of the Twentieth European Conference on Computer SystemsCitations: 7
S
Siyu Song
School of Computer Science and Technology, Beijing Institute of Technology
Q
Qi Bai
School of Computer Science and Engineering, Sun Yat-sen University
J
Jinbo Hao
School of Computer Engineering, Jiangsu Ocean University
K
Kai Li
School of Computer Science and Technology, Beijing Institute of Technology
Chenchen Wang
Chenchen Wang
Director, Center for Complementary and Integrative Medicine, Tufts Medical Center
Complementary and Integrative Medicine
Jiayu Sun
Jiayu Sun
DLUT & CityU HK
Computer VisionMachine Learning