Approximation Algorithms for Dual-Memory Request Scheduling in Disaggregated LLM Inference
Xin Wang, Hong Shen, Hui Tian, Ye Tao
Abstract
Disaggregated LLM inference executes the prefill and decode phases on separate resource pools, reducing interference between the two phases. However, this architecture introduces a coupled scheduling problem because a request that completes prefill retains its prompt KV cache in prefill memory until it is admitted to the decode pool. Prefill and decode admission decisions therefore jointly determine memory occupancy and request completion times. To the best of our knowledge, this problem lacks a formal formulation, and no approximation guarantees are known for request scheduling in disaggregated LLM inference. We formalize this setting as the dual-memory request scheduling (DMRS) problem, whose objective is to minimize the sum of request completion times, and prove that it is strongly NP-hard. We develop two deterministic polynomial-time approximation algorithms. The first applies to instances satisfying α<1 and β<1 and achieves an approximation ratio of 8+41-α+81-β, where α and β are the maximum normalized prefill and peak decode memory demands among all requests, respectively. In particular, it yields a 32-approximation when α,β≤ 1/2. The second algorithm applies to all feasible instances and achieves a uniform 36-approximation. Finally, evaluations on two H100 GPUs using trace-derived offline workloads show that the proposed algorithms reduce the sum of request completion times relative to multiple vLLM deployment baselines.
Create a lesson
Related papers
Distributed (Δ+1)-Coloring in O(Δ+* n) Rounds
Marc Fuchs, Fabian Kuhn
Ramsey Meets Simultaneous Planarity: Vertex Integrity and Pathwidth
Thomas Depian, Simon D. Fink, Alexander Firbas et al.
Hashrope: A Persistent Data Structure for Mechanisms of LLM Context Management
Muntaser Syed, Ameerah Alsulami, Marius Silaghi
Approximation algorithms via discrepancy with hard constraints
Mikhail Cherniavskii, Andrey Kupavskii, Stanislav Moiseev et al.
Improved Approximations for Coflow Scheduling via Iterated Rounding and Stable Matchings
Mikhail Cherniavskii, Arseni Fedorovich, Mikhail Koshelev et al.
Online Submodular Welfare Maximization: Computation is not the Bottleneck
Rajan Udwani, David Wajc