Towards Fair Resource Sharing in Agentic LLM Serving
Sehyeon Lee, Yuchen Xia, Zhaoyang Hong, Jinrui Hu, Anuradha Pandey, Evan Zhao, Ankita Nayak, Nishil Talati
Abstract
As LLM agents increasingly execute complex, multi-step tasks on shared inference infrastructure, resource contention across the end-to-end LLM serving stack causes severe and uneven slowdowns across agents. Existing agentic serving systems primarily optimize throughput and latency, with comparatively limited attention to fairness among concurrent agents. Although fairness has been studied in conventional LLM serving at the token and request levels, these approaches do not fully capture cumulative delays and stateful resource dependencies across successive LLM calls within an agent. Moreover, interference spans request routing, runtime scheduling, and hardware resources, making agent-level fairness challenging to define and optimize across an end-to-end serving stack. This paper presents a cross-layer framework to define agent-level fairness, attribute sources of unfairness, and optimize fairness while preserving throughput. To account for agents with widely varying execution demands, we build a theoretical foundation to define fairness using slowdown relative to standalone execution. Our empirical analysis reveals that routing, runtime scheduling, and hardware contention jointly determine fairness, with performance-oriented policies often leading to prolonged queuing delays. To optimize fairness, we introduce Duru, which monitors each agent's slowdown and uses this signal to guide admission and scheduling decisions across the router and runtime. Duru further alleviates starvation through admission exceptions and integrates slowdown-driven autoscaling to adhere to Service-Level Objectives (SLOs). Our evaluation across various benchmarks and hardware platforms shows that Duru reduces 99th-percentile normalized slowdown by a geometric mean of 44.4% (up to 79.5%) while delivering 91.8-127.4% of the state-of-the-art system's throughput.
Create a lesson
Metadata
- Categories
- cs.OS, cs.AR
- Comments
- 15 pages, 14 figures, 2 tables
Related papers
ToolSched: Resource-Efficient Tool Scheduling for Shared-Host LLM Agents
Shared title terminologycs.OSShucheng Zou, Yuhao Gu, Long Chen et al.
MARS: Towards High Goodput and Low KV Thrashing in Agent Serving under GPU Memory Constraints
Shared title terminologycs.OSYifei Wang, Tsun-yu Yang, Hancheng Ye et al.
AgentLens: Framework-Aware Characterization and Resource Control for Heterogeneous LLM Agents
Shared title terminologycs.OSWentao Hong
From LLM Inference to Agentic Workloads: Characterization and Implications for Serving Systems
Shared title terminologycs.OSChaokun Chang, Yukun Zhou, Kaihua Fu et al.
AgentCgroup: Understanding and Controlling OS Resources of AI Agents
Shared title terminologycs.OSYusheng Zheng, Jiakun Fan, Quanzhi Fu et al.
Restoring Fair Hrtick Re-arming After Same-Task Repicks in the Linux EEVDF Scheduler
Shared title terminologycs.OSShubhang Kaushik