[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-83399-en":3,"doc-seo-83399-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":13,"seo_description":14,"update_tm":28,"read_time":29},83399,13056703020460,"Valentina","https://ap-avatar.wpscdn.com/avatar/be000253dac470eee5d?_k=1778207105932848923",8,"Research & Report","SMETRIC Rethink LLM Scheduling for Serving Agents with Balanced Session-centric Scheduling","LLM scheduling is critical to serving, yet existing designs are unclear for agentic serving where requests originate from agents rather than humans. Agentic workloads change priorities: cluster TPS becomes primary, while per-token latency (TTFT/TPOT) can be relaxed but not dropped, and KV$ reuse dominates with over 80% reuse in a BAILIAN production trace. This study analyzes two real-world agent traces and shows KV$-aware routing can overload few instances, capping TPS. SMETRIC introduces balanced session-centric scheduling to preserve load balance and local reuse while limiting global-tier demand, improving cluster TPS and prefill throughput.","SMETRIC: Rethink LLM Scheduling for Serving Agents with  \nBalanced Session-centric Scheduling  \nJiahao Wang 1 , Kaizhan Lin†1 , Kaixi Zhang 1 , Jinbo Han 1 , Xingda Wei 􀀌1 , Sijie Shen2 , Chenguang Fang2 , Wenyuan Yu2 , Rong Chen 1 , Haibo Chen 1  \n1Institute of Parallel and Distributed Systems, Shanghai Jiao Tong University 2Alibaba Group  \narXiv :2607 .08565v 1 [ cs .DC] 9 Jul 2026  \nAbstract  \nLLM scheduling is critical to serving, yet it remains unclear how well existing designs fit agentic serving—with LLM requests issued by agents instead of humans. This shifts the workload in two ways: (1) agents act only on complete responses, making the cluster’s tokens per second (TPS) the primary goal and relaxing—not eliminating—per-token latency requirements; and (2) requests share much of their KV$—reuse exceeds 80 % of request tokens in a production trace from BAILIAN, versus 54–62 % in chat.  \nThis paper first contributes a systematic study of request scheduling for agents on two real-world traces. We find that to increase KV$ reuse, existing schedulers overly prioritize routing requests to instances caching their KV$, overloading a few while leaving the rest idle, capping TPS. We thus present two key insights: (1) load balance need not sacrifice all KV$ reuse, thanks to the global-tier KV$ store and (2) by utilizing the workload’s intra-session locality, balancing a small fraction of requests—the first request in each agent session—suffices to balance the cluster without sacrificing most KV$ reuse on local instances.  \nSMETRIC realizes these insights with balanced sessioncentric scheduling: it routes each session’s first request purely for load balance and its follow-up requests in a cache-aware manner, preserving load balance and local reuse while keeping demand on the global tier low. Using the session turn information as the scheduling metric is deliberate: it is derived efficiently and accurately from the user inputs alone, so the scheduler stays clean and stateless. SMETRIC improves cluster TPS by 10–16 % under prefill-decode colocation with a global store and prefill TPS by 2–34 % under disaggregation over state-of-the-art schedulers, also with a better per-token latency.  \n1 Introduction  \nLarge language models (LLMs) now power agents like Claude Code [6] and OpenClaw [36], which accomplish complex tasks such as writing [5], debugging [14], and tuning the  \n†Kaizhan Lin is affiliated with ShanghaiTech University; this work was done while he was an intern at Institute of Parallel and Distributed Systems, Shanghai Jiao Tong University.  \n􀀌Xingda Wei is the corresponding author ([wxdwfc@sjtu.edu.cn](wxdwfc@sjtu.edu.cn)) .  \nperformance [39, 32] of the code that drives the computing world. An agent solves a task through a session of LLM requests, and generated tokens drive the agent toward completing its task. Therefore, how efficiently a model provider serves these tokens determines both the speed and the cost of running agents. To that end, existing providers deploy clusters dedicated to serving requests from many users’ sessions, each cluster running many instances, each able to serve a complete request. We term this cluster-scale, agent-dedicated LLM serving agentic serving in this paper. Note that agentic serving is still LLM serving: the provider serves each request through the standard LLM API and neither runs the agents nor sees their internal logic. What changes is the workload, because the requests now come from agents.  \nRequest scheduling—how the cluster routes each request to an instance—is a key pillar of LLM serving. Though wellstudied recently [54, 59, 42, 53, 17, 2], we argue that current scheduling designs must be revisited for agentic serving, for two reasons:  \nFirst, agentic serving requires a different performance objective: the cluster’s tokens per second (TPS) becomes the primary goal, while the per-token latencies targeted by prior work [54, 59, 58]—time-to-first-token (TTFT) and time-peroutput-toke","cbCaijYVx25kDVkL","https://ap.wps.com/l/cbCaijYVx25kDVkL","pdf",3179238,2,1,17,"English","en",105,"# Abstract\n# Introduction","[{\"question\":\"Why must LLM request scheduling be revisited for agentic serving?\",\"answer\":\"Agentic serving changes the workload objective: cluster TPS becomes the primary goal, and latency constraints are only relaxed (not removed). It also shifts efficiency toward dominant KV$ reuse patterns unlike chat.\"},{\"question\":\"What problem do existing KV$-centric schedulers have in agentic serving?\",\"answer\":\"They overly prioritize routing requests to instances that already cache the KV$, overloading a few instances while leaving others idle, which caps overall TPS.\"},{\"question\":\"How does SMETRIC achieve balanced session-centric scheduling?\",\"answer\":\"SMETRIC routes each agent session’s first request primarily for load balance, then schedules follow-up requests in a cache-aware manner to preserve local reuse while keeping pressure on the global KV$ tier low.\"}]",1784187242,43,{"code":4,"msg":31,"data":32},"ok",{"site_id":25,"language":24,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"smetric-rethink-llm-scheduling-for-serving-agents-with-balanced-session-centric-scheduling","",{"@graph":36,"@context":85},[37,53,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,47,50],{"item":41,"name":42,"@type":43,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":20},"https://docshare.wps.com/document/","Document",{"item":48,"name":12,"@type":43,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":43,"position":52},"https://docshare.wps.com/document/smetric-rethink-llm-scheduling-for-serving-agents-with-balanced-session-centric-scheduling/83399/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":24,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":41,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-25","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Why must LLM request scheduling be revisited for agentic serving?","Question",{"text":75,"@type":76},"Agentic serving changes the workload objective: cluster TPS becomes the primary goal, and latency constraints are only relaxed (not removed). It also shifts efficiency toward dominant KV$ reuse patterns unlike chat.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"What problem do existing KV$-centric schedulers have in agentic serving?",{"text":80,"@type":76},"They overly prioritize routing requests to instances that already cache the KV$, overloading a few instances while leaving others idle, which caps overall TPS.",{"name":82,"@type":73,"acceptedAnswer":83},"How does SMETRIC achieve balanced session-centric scheduling?",{"text":84,"@type":76},"SMETRIC routes each agent session’s first request primarily for load balance, then schedules follow-up requests in a cache-aware manner to preserve local reuse while keeping pressure on the global KV$ tier low.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,135],{"id":21,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":20,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]