paper-with-me

Papers

Throughput-Optimal Scheduling Algorithms for LLM Inference and AI Agents

2025-04-10 · Yueying Li, Jim Dai, Tianyi Peng

As demand for Large Language Models (LLMs) and AI agents rapidly grows, optimizing systems for efficient LLM inference becomes critical. While significant efforts have focused on system-level engineering, little is explored from a mathematical modeling and queuing perspective. In this paper, we aim to develop the queuing fundamentals for large language model (LLM) inference, bridging the gap between the queueing theory and LLM system communities. In particular, we study the throughput aspect in LLM inference systems. We prove that a large class of 'work-conserving' scheduling algorithms can achieve maximum throughput for individual inference LLM engine, highlighting 'work-conserving' as a key design principle in practice. In a network of LLM agents, work-conserving scheduling alone is insufficient, particularly when facing specific workload structures and multi-class workflows that require more sophisticated scheduling strategies. Evaluations of real-world systems show that Orca and Sarathi-serve are throughput-optimal, reassuring practitioners, while FasterTransformer and vanilla vLLM are not maximally stable and should be used with caution. Our results highlight the substantial benefits that the queueing community can offer in improving LLM inference systems and call for more interdisciplinary development.

📄 PDF Abstract BibTeX arXiv:2504.07347

Code (0)

등록된 구현이 없습니다.

Tasks

AI AgentLarge Language ModelScheduling

Similar Papers 제목 키워드 기반

SAGA: Workflow-Atomic Scheduling for AI Agent Inference on GPU Clusters

2026-05-01 · Dongxin Guo, Jikun Wu, Siu Ming Yiu arxiv

AI agents execute tens to hundreds of chained LLM calls per task, yet GPU schedulers treat each call as independent, discarding gigabytes of intermediate state between steps and inflating end-to-end latency by 3-8x. We a…

Optimizing LLM Inference: Fluid-Guided Online Scheduling with Memory Constraints

2025-04-15 · Ruicheng Ao, Gan Luo, David Simchi-Levi, Xinshang Wang

Large Language Models (LLMs) are indispensable in today's applications, but their inference procedure -- generating responses by processing text in segments and using a memory-heavy Key-Value (KV) cache -- demands signif…

GPUInference OptimizationScheduling

Optimal Scheduling Algorithms for LLM Inference: Theory and Practice

2025-08-01 · Agrim Bari, Parikshit Hegde, Gustavo de Veciana arxiv

With the growing use of Large Language Model (LLM)-based tools like ChatGPT, Perplexity, and Gemini across industries, there is a rising need for efficient LLM inference systems. These systems handle requests with a uniq…

ExeGPT: Constraint-Aware Resource Scheduling for LLM Inference

2024-03-15 · Hyungjun Oh, Kihong Kim, JaeMin Kim, Sungkyun Kim 외

This paper presents ExeGPT, a distributed system designed for constraint-aware LLM inference. ExeGPT finds and runs with an optimal execution schedule to maximize inference throughput while satisfying a given latency con…

Scheduling

Staggered Batch Scheduling: Co-optimizing Time-to-First-Token and Throughput for High-Efficiency LLM Inference

2025-12-18 · Jian Tian, Shuailong Li, Yang Cao, Wenbo Cui 외 arxiv

The evolution of Large Language Model (LLM) serving towards complex, distributed architectures--specifically the P/D-separated, large-scale DP+EP paradigm--introduces distinct scheduling challenges. Unlike traditional de…