AI 研究arXiv cs.LGSIGNAL 578713

MARS: Coordinating Admission and Scheduling for High Goodput and Low KV Thrashing in Memory-Constrained Agent Serving

ORIGINAL / MARS: Towards High Goodput and Low KV Thrashing in Agent Serving under GPU Memory Constraints

MARS proposes an agent serving system that coordinates workflow admission with in-engine scheduling to improve workflow-level goodput and avoid KV cache thrashing on GPU memory-constrained devices; its value lies in jointly considering admission, scheduling, and KV reclamation, with reported improvements in end-to-end latency and workflow completion time across multiple models and GPU configurations.

01 ABSTRACT

Fact: The paper addresses KV cache thrashing in self-hosted LLM agents, where concurrent multi-turn workflows accumulate reusable KV caches beyond GPU capacity, causing repeated eviction and recovery; MARS combines workflow admission control with an agent-centric in-engine scheduler. Fact: Across two models and three GPU configurations, MARS reports 1.59x-7.56x mean end-to-end latency speedups over the fastest baseline; as the serving backend for OpenCode, Codex, and OpenHands, it reports 1.17x-1.87x improvements in mean workflow completion time. Author view: existing baselines still incur substantial thrashing overhead or fail to address workflow-level goodput, and MARS mitigates this by coordinating admission and scheduling; these results are author-reported and require independent reproduction and broader validation.

02 KEY FINDINGS

  1. MARS combines out-of-engine workflow admission control, using initial prefix footprint estimates and live KV availability, with an in-engine agent-centric scheduler that prioritizes turn completion and coordinates prefill allocation with KV reclamation.
  2. Across two models and three GPU configurations, MARS reports 1.59x-7.56x mean end-to-end latency speedups over the fastest baseline.
  3. Integrated as the serving backend for OpenCode, Codex, and OpenHands, MARS reports 1.17x-1.87x improvements in mean workflow completion time.
Return to the primary source

AI GENERATED SUMMARY / DISCOVERED BY ARXIV CS.LG

Read original ↗