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

打破冰层:分析 vLLM 中的冷启动延迟

Breaking the Ice: Analyzing Cold Start Latency in vLLM

Anonymous Institution, Anonymous City, Anonymous Region, Anonymous Country(匿名机构,匿名城市,匿名地区,匿名国家)

Huzaifa Shaaban Kabakibo, Animesh Trivedi, Lin Wang

AI总结:

本文首次系统分析 vLLM 推理引擎的冷启动延迟,将其分解为六个基础步骤,发现主要受 CPU 限制,并建立轻量级分析模型预测延迟,为大规模推理环境资源规划提供指导。

摘要:

随着可扩展推理服务的普及,推理引擎的冷启动延迟变得重要。如今,vLLM 已成为许多推理工作负载的事实标准推理引擎。尽管流行,但由于其复杂性和快速演进,尚未有对其启动延迟的系统研究。随着主要架构创新如 V1 API 和 this http URL 的引入,本文首次对 vLLM 启动延迟进行了详细的性能表征。我们将启动过程分解为六个基础步骤,并证明其主要受 CPU 限制。每个步骤在模型级和系统级参数方面表现出一致且可解释的缩放趋势,从而能够细粒度地归因延迟来源。基于这些见解,我们开发了一个轻量级分析模型,能够准确预测给定硬件配置下的 vLLM 启动延迟,为大规模推理环境中的资源规划提供可操作的指导。所有基准测试数据集、分析工具和预测脚本均在此 https URL 开源。

英文摘要:

As scalable inference services become popular, the cold start latency of an inference engine becomes important. Today, vLLM has evolved into the de-facto inference engine of choice for many inference workloads. Although popular, due to its complexity and rapid evolution, there has not been a systematic study on the startup latency of its engine. With major architectural innovations under it (e.g., the V1 API, introduction of torch.compile), in this paper, we present the first detailed performance characterization of vLLM startup latency. We break down the startup process into six foundational steps and demonstrate that this process is predominantly CPU-bound. Each step exhibits consistent and interpretable scaling trends with respect to model- and system-level parameters, enabling fine-grained attribution of latency sources. Building on these insights, we develop a lightweight analytical model that accurately predicts vLLM's startup latency for a given hardware configuration, providing actionable guidance for resource planning in large-scale inference environments. All our benchmarking datasets, analysis tools, and prediction scripts are open-sourced at https://github.com/upb-cn/vllm-startup-profiler

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

↑