ResearchPod Summary
Modern LLM applications, such as coding agents, operate differently than traditional human-centric chat. Agents generate long sequences of requests within a single session, and they act only on complete responses rather than streaming tokens. This shift makes the cluster's total tokens per second (TPS) the primary performance metric. Furthermore, agentic workloads exhibit high KV cache (KV$) reuse—often exceeding 80%—because follow-up requests in a session frequently build upon the context of previous turns. Existing schedulers often prioritize local cache hits, which leads to imbalanced clusters where a few instances are overloaded while others remain idle, ultimately capping the cluster's throughput.
SMETRIC introduces a balanced, session-centric scheduling policy designed to reconcile the tension between load balancing and cache efficiency. The core insight is that the cluster can achieve both goals by treating the first request of a session differently from follow-up requests.
This approach is stateless; the router does not need to maintain a persistent record of user sessions. Instead, it uses request metadata to identify the session turn, keeping the scheduler simple and scalable.
By effectively balancing the load without sacrificing the benefits of local KV caching, SMETRIC addresses a critical bottleneck in large-scale agentic serving. Evaluations on production traces show that SMETRIC significantly improves TPS and reduces latency compared to state-of-the-art schedulers. This allows model providers to serve more agentic traffic with the same infrastructure, reducing costs and improving the responsiveness of complex agentic workflows.
AI-generated third-party summary by ResearchPod. Not official content or an endorsement by the paper authors or affiliated organizations.