Niyama让大模型推理服务打破隔离,按需调度提升吞吐32%。
Niyama : Breaking the Silos of LLM Inference Serving
- 按延迟需求精细分类任务,动态调整调度策略。
- 共享资源下吞吐提升32%,极端负载时服务违规减少10倍。
- 适合需要多级服务质量保障的生产级LLM部署场景。
大型语言模型(LLMs)的广泛应用带来了多样化的延迟需求。现有推理服务框架采用隔离式基础设施,粗粒度区分交互与批量任务,导致资源利用率低、服务质量(QoS)支持不足,引发运营效率低下、过度配置及流量高峰时负载管理差等问题。本文提出Niyama,一种以QoS驱动的推理服务系统,实现多种工作负载在共享基础设施上的高效共调度。Niyama引入细粒度QoS分类,允许应用指定精确延迟要求,并根据实时系统状态动态调整调度;利用LLM推理执行的可预测性,实现动态分块机制,在保证严格QoS的前提下提升整体吞吐。此外,系统采用混合优先级策略平衡公平与效率,并通过选择性请求降级实现过载时的优雅退化。评估表明,相较于现有孤岛式部署,Niyama提升服务容量32%,在极端负载下服务等级目标(SLO)违规减少一个数量级。
原文摘要 · Abstract (English)
The widespread adoption of Large Language Models (LLMs) has enabled diverse applications with very different latency requirements. Existing LLM serving frameworks rely on siloed infrastructure with coarse-grained workload segregation -- interactive and batch -- leading to inefficient resource utilization and limited support for fine-grained Quality-of-Service (QoS) differentiation. This results in operational inefficiencies, over-provisioning and poor load management during traffic surges. We present Niyama, a novel QoS-driven inference serving system that enables efficient co-scheduling of diverse workloads on shared infrastructure. Niyama introduces fine-grained QoS classification allowing applications to specify precise latency requirements, and dynamically adapts scheduling decisions based on real-time system state. Leveraging the predictable execution characteristics of LLM inference, Niyama implements a dynamic chunking mechanism to improve overall throughput while maintaining strict QoS guarantees. Additionally, Niyama employs a hybrid prioritization policy that balances fairness and efficiency, and employs selective request relegation that enables graceful service degradation during overload conditions. Our evaluation demonstrates that Niyama increases serving capacity by 32% compared to current siloed deployments, while maintaining QoS guarantees. Notably, under extreme load, our system reduces SLO violations by an order of magnitude compared to current strategies.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。