arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.12950cs.DC
收藏

Maestro: 面向基于LLM的多智能体系统的工作负载感知跨集群调度

Maestro: Workload-Aware Cross-Cluster Scheduling for LLM-Based Multi-Agent Systems

Beihang University(北京航空航天大学);University of Leeds(利兹大学)

Jinghao Wang, Xiao Zhou, Xiaoyang Sun, Yihui Zhang, Yilong Li, Tianyu Wo, Xu Wang, Chunming Hu, Renyu Yang

AI总结:

提出Maestro调度系统,利用智能体语义预测输出长度和内存使用,通过层次化调度(节点级多模型共置、集群级延迟感知路由、全局工作流感知优先级)在严格GPU预算下优化LLM多智能体服务,减少KV缓存HBM占用67.2%,提高高竞争SLO达标率23.6个百分点。

摘要:

基于大型语言模型的多智能体系统(LLM-MAS)已成为一种强大的范式,通过将复杂任务分解为专门LLM驱动的智能体的协作工作流来处理这些任务。然而,大规模部署此类多智能体工作负载带来了重大系统挑战。每个用户查询会引发LLM调用的迭代流水线,与单轮查询相比,极大地放大了资源消耗。在资源受限的云环境中,这些工作流面临解码阶段非确定性和输入依赖的成本、具有内存碎片和过度供应的重尾多模型需求,以及跨集群调度权衡。我们提出Maestro,一个为在严格GPU预算下服务LLM-MAS而设计的工作负载感知调度系统。Maestro明确利用智能体语义和角色:它预测每个阶段的输出长度和内存使用,并利用此预测驱动层次化调度器。在节点级别,Maestro通过层次化权重缓存和弹性内存供应实现动态多模型共置。在集群级别,它执行延迟感知路由以避免冷启动延迟和内存过载。在全局级别,它实施工作流感知优先级排序,以最小化交互式任务的队头阻塞。在原型实验和轨迹驱动模拟中,Maestro将KV预留HBM减少了67.2%,并将高竞争SLO达标率比EDF提高了23.6个百分点。

英文摘要:

Large Language Model based Multi-Agent Systems (LLM-MAS) have emerged as a powerful paradigm for tackling complex tasks by breaking them into collaborative workflows of specialized LLM-powered agents. However, deploying such multi-agent workloads at scale poses significant system challenges. Each user query spawns an iterative pipeline of LLM calls, greatly amplifying resource consumption compared to single-turn queries. In resource-constrained cloud settings, these workflows face non-deterministic and input-dependent costs at decode stage, heavy-tailed multi-model requirements with memory fragmentation and over-provisioning, and cross-cluster scheduling trade-offs. We present Maestro, a workload-aware scheduling system designed for LLM-MAS serving under strict GPU budgets. Maestro explicitly leverages agent semantics and roles: it predicts the output length and memory usage of each stage and uses this prediction to drive a hierarchical scheduler. At the node level, Maestro enables dynamic multi-model co-location via hierarchical weight caching and elastic memory provisioning. At the cluster level, it performs latency-aware routing to avoid cold-start delays and memory overloads. At the global level, it enforces workflow-aware prioritization to minimize head-of-line blocking for interactive tasks. Across prototype experiments and trace-driven simulations, Maestro reduces KV-reservation HBM by 67.2% and improves high-contention SLO attainment over EDF by 23.6 percentage points.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑