ELIS: Efficient LLM Iterative Scheduling System with Response Length Predictor
Seungbeom Choi, Jeonghoe Goo, Eunjoo Jeon, Mingyu Yang, Minsung Jang
TL;DR
ELIS tackles head-of-line blocking in LLM iterative batching by introducing Iterative Shortest Remaining Time First (ISRTF) scheduling guided by a response-length predictor built on BGE embeddings. The predictor updates predictions iteratively as more of the response is revealed, enabling model-agnostic prioritization and dynamic adaptation. Implemented as Kubernetes components with vLLM, ELIS scales to multi-node deployments and shows up to 19.6% reduction in average JCT and near-linear throughput (up to 18.77 RPS on 50 workers) on real traces. The work demonstrates practical, production-grade improvements for cloud-native LLM serving with a focus on latency, preemption (where applicable), and iterative scheduling.
Abstract
We propose ELIS, a serving system for Large Language Models (LLMs) featuring an Iterative Shortest Remaining Time First (ISRTF) scheduler designed to efficiently manage inference tasks with the shortest remaining tokens. Current LLM serving systems often employ a first-come-first-served scheduling strategy, which can lead to the "head-of-line blocking" problem. To overcome this limitation, it is necessary to predict LLM inference times and apply a shortest job first scheduling strategy. However, due to the auto-regressive nature of LLMs, predicting the inference latency is challenging. ELIS addresses this challenge by training a response length predictor for LLMs using the BGE model, an encoder-based state-of-the-art model. Additionally, we have devised the ISRTF scheduling strategy, an optimization of shortest remaining time first tailored to existing LLM iteration batching. To evaluate our work in an industrial setting, we simulate streams of requests based on our study of real-world user LLM serving trace records. Furthermore, we implemented ELIS as a cloud-native scheduler system on Kubernetes to evaluate its performance in production environments. Our experimental results demonstrate that ISRTF reduces the average job completion time by up to 19.6%.
