Skip to content
Preprint

Queuing for Inference: Dynamic Memory Footprints and Costly Preemption

Oct 2026 · 0 citations · 29 references
Computer Science

TL;DR

A new queuing model that captures the impacts of transformer-based neural networks features on system stability and scheduling design, and proposes the Multi-Level-Priority-Threshold (MLPT) policy, that limits preemption while preserving priority for short jobs.

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.

View source

Similar papers

#artificial intelligence Preprint Oct 2026

Stable Token-level Scheduling for Serverless LLM Inference

Serverless inference is emerging as an efficient deployment model for Large Language Models (LLMs) due to its ability to elastically scale resources, improve GPU utilization through resource sharing, and reduce infrastructure costs. However, existing approaches primarily optimize time to first token (TTFT) while overlo...

Hardi Ashishbhai Desai, K. BalajiN, Sourav Kanti Addya · 0 citations
Preprint Oct 2026

Priority-Aware Scheduler for Serverless Functions Provision and Load Balancing

Serverless computing has emerged as a pivotal cloud deployment paradigm due to its efficient utilization of on-demand resources. However, the persistent cold start problem continues to hinder system performance. Current strategies often employ oversimplified preloading/unloading mechanisms that inadequately exploit inv...

Cheryl Lee, Zi-Shan Su, Zhouruixing Zhu et al. · 0 citations
Book Open access Sep 2026

Taming Inference Workloads at Global Scale: Foundation Model Serving in Amazon Bedrock

Foundation model (FM) inference platforms must manage scarce accelerator capacity distributed unevenly across regions. They must also handle requests whose token consumption varies widely and may be revealed progressively during generation, while sharing capacity across workloads with different latency and throughput o...

Pratik Pankaj Raichura, Somu Perianayagam, Rama Krishna Sandeep Pokkunuri et al. · 0 citations
Preprint Oct 2026

Ofan: Optimal Load Balancing for AI Training

Ofan, a switch-based destination-aware LB scheme that can reach $O(1)$ queueing, is suggested, a switch-based destination-aware LB scheme that can reach $O(1)$ queueing.

Sarah McClure, E. Cohen, Jakob Krebs et al. · 0 citations
Preprint Nov 2026

DIMWIT: Directly Invoking Models Without Intensive Tuning

Resource managers typically encode what to do in a task-specific policy---a heuristic, an optimization procedure, or a model trained for the task---that must be developed before use and may need revision as the workload or system changes. We propose bypassing policy development and instead asking pretrained models to m...

Saarth Deshpande, N. Yadwadkar, Venkat Arun · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.