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.
Token Window Pacing (TWP), a closed-loop scheduling framework that leverages runtime feedback from ITL, queue depth, and workload characteristics to regulate request admission at the token level instead of the batch level, enables stable, high-throughput serverless LLM inference without modifying the underlying model.
Hardi Ashishbhai Desai, K. BalajiN, Sourav Kanti Addya· 0 citations
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
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.· Proceedings of the ACM SIGOP...· 3 citations
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
This work proposes bypassing policy development and instead asking pretrained models to make resource-management decisions directly, given the current system state, desired outcome, and available choices, using a frontier LLM and two small decision models.
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.