Queuing for Inference: Dynamic Memory Footprints and Costly Preemption
Jiahui Ni, Vishrant Tripathi
Key points
From the paper's conclusion- We show that the Gittins-index policy, which minimizes mean response time in the standard M/G/1 setting, can incur substantial preemption overhead in our model.
Abstract
Modeling inference workloads for transformer-based neural networks poses unique challenges due to their dynamic memory footprints, head-of-line blocking caused by heavy-tailed request distributions, and memory-dependent preemption overhead arising from the need to load/unload cache state. In this paper, we introduce a new queuing model that captures the impacts of these features on system stability and scheduling design. We show that the Gittins-index policy, which minimizes mean response time in the standard M/G/1 setting, can incur substantial preemption overhead in our model. Motivated by this limitation, we propose the Multi-Level-Priority-Threshold (MLPT) policy, that limits preemption while preserving priority for short jobs. We characterize the mean response time under MLPT and provide empirical rules-of-thumb to solve the resulting threshold-optimization problem. Our key observation is that optimal scheduling is a balance between reducing the response times of shorter jobs and limiting the overhead incurred when preemption occurs. These results provide a theoretical framework for understanding scheduling in memory constrained queuing systems for inference tasks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Asymptotic Optimality of $c\mu$-Rule for LLM Inference Scheduling under Memory ConstraintarXiv · 2026
- Uncertainty-aware offline reinforcement learning for LLM inference serving with heterogeneous SLOsScientific Reports · 2026
- ModelLess: A Serverless System for Multi-Tier LLM Inference on Shared GPUsarXiv · 2026
- Cap-and-Track: Optimizing LLM Inference Request Dispatch Across Shifting CapacityarXiv · 2026
- Jumping the Line: Exploiting Length Predictions in LLM SchedulingarXiv · 2026
- Pathwise-Budgeted LLM Routing: Online Allocation with K-Bit Tail-Cost LearningarXiv · 2026