JITServe通过动态调整资源分配,让大模型服务更准时高效。
JITServe: SLO-aware LLM Serving with Imprecise Request Information
- 根据不精确的请求信息实时调度,逐步优化估算
- 好用率提升1.4倍到6.3倍,资源节省28.5%至83.2%
- 适合对响应时效要求高的聊天、研究和智能体任务
大型语言模型(LLMs)在从交互式聊天机器人到多智能体系统等应用中广泛使用,带来了多样化的服务级别目标(SLOs),包括注重逐令牌延迟的流式聊天、需快速生成完整响应以触发外部工具的截止时间敏感型请求,以及跨多个LLM调用具有动态依赖关系的复合请求。由于工作负载多样性及请求信息(如响应长度和依赖关系)的不可预测性,现有调度器侧重整体性能,无法保障应用级SLO需求。本文提出JITServe,首个面向SLO的大模型服务系统,旨在最大化服务好用率(如满足SLO的令牌数)。JITServe创新性地利用不精确的请求信息进行调度,并在生成过程中逐步细化估计,采用分组边际好用率最大化算法,按需即时分配足够带宽以满足每个请求的SLO,最大化剩余容量供其他请求使用,同时决定批处理中请求组合以提高效率与好用率,并提供可证明保证。在涵盖聊天、深度研究和智能体流水线等多种真实工作负载上的评估表明,相比当前最优设计,JITServe将服务好用率提升1.4至6.3倍,或实现28.5%至83.2%的资源节省。
原文摘要 · Abstract (English)
The integration of Large Language Models (LLMs) into applications ranging from interactive chatbots to multi-agent systems has introduced a wide spectrum of service-level objectives (SLOs) for responsiveness. These include latency-sensitive requests emphasizing per-token latency in streaming chat, deadline-sensitive requests requiring rapid full responses to trigger external tools, and compound requests with evolving dependencies across multiple LLM calls. Despite-or perhaps, because of-this workload diversity and unpredictable request information (e.g., response lengths and dependencies), existing request schedulers have focused on aggregate performance, unable to ensure application-level SLO needs. This paper presents JITServe, the first SLO-aware LLM serving system designed to maximize service goodput (e.g., the number of tokens meeting request SLOs) across diverse workloads. JITServe novelly schedules requests using imprecise request information and gradually relaxes this conservatism by refining request information estimates as generation progresses. It applies a grouped margin goodput maximization algorithm to allocate just enough serving bandwidth to satisfy each request's SLO just-in-time (JIT), maximizing residual capacity for others, while deciding the composition of requests in a batch to maximize efficiency and goodput with provable guarantees. Our evaluation across diverse realistic workloads, including chat, deep research, and agentic pipelines, shows that JITServe improves service goodput by 1.4x-6.3x, alternatively achieving 28.5%-83.2% resource savings, compared to state-of-the-art designs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。