Adaptive Context Parallelism for Production LLM Serving
Jiarui Guo, Rongle Wang, Peijun Huang, Zongwei Lv, Ziqing Wang, Kan Liu, Tao Lan, Lin Qu, Xiaolin Wang, Tong Yang
Abstract
As LLM context windows expand and input sequences grow longer, serving systems face increasing computational and memory demands. Context parallelism (CP), which partitions the input sequence across multiple ranks to parallelize the computation, has therefore become increasingly important for efficient LLM serving. However, existing CP-enabled systems either rely on static CP configurations or adjust the CP degree only for active requests or batches. In this paper, we present Vertumnus, an adaptive CP serving system designed for heterogeneous and evolving workloads. At the request level, Vertumnus routes requests among workers with different CP degrees using a placement cost that combines predicted queuing delay, cache-aware prefill time, and GPU-time cost. At the cluster level, Vertumnus adapts the worker composition through seconds-scale split and merge operations as workload demand changes. Vertumnus further introduces a global prefix-cache management policy that coordinates cache placement and replication among workers with the same or different CP degrees, preserving cache locality as request assignments and worker composition change. Experiments on a 64-GPU cluster with public and production workloads show that, under the highest evaluated loads, Vertumnus reduces mean TTFT by up to 28.1% and improves token-weighted SLO attainment by up to 13.3 percentage points over the strongest baseline.
Create a lesson
Related papers
Netkit: Specializing Linux Packet Delivery for Container Networks
Daniel Borkmann, Paul Chaignon
Grouper: Scheduling Groups for Multi-Tenant Microsecond-Scale Microservices
Koosha Kazemi, Mohammad Siavashi, Ahmad Siavashi et al.
SeqMoE: Toward Full-Load Performance via Predictive and Graph-Compatible MoE Offloading
Zihan Wang, Yuqi Wang, Lei Gong et al.
AKTS: Sub-Microsecond Kernel Policy Switching for Language-Model Agents
Mohammadali Khodabandehlou, Mahdi Alizadeh
Violet: Enabling Full Virtualization for M-mode RTOS on RISC-V
Taro Kito, Ryosuke Yamamoto, Keisuke Horii et al.
AutoUVM: Automated Prefetching Framework for LLMs under UVM Oversubscription
Mao Lin, Hui Feng, Xianzhong Ding et al.