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

ServeGen:生产环境中大型语言模型服务的工作负载特征与生成

ServeGen: Workload Characterization and Generation of Large Language Model Serving in Production

School of Computer Science, Peking University(北京大学计算机学院);Alibaba Group(阿里巴巴集团)

Yuxing Xiang, Xue Li, Kun Qian, Wenyuan Yu, Ennan Zhai, Xin Jin

AI总结:

本文通过深入分析真实世界中的大型语言模型服务工作负载,提出ServeGen框架,通过按客户端组合生成真实工作负载,有效避免了50%的欠配问题,提升了性能基准测试效果。

摘要:

随着大型语言模型(LLMs)的广泛应用,服务LLM推理请求已成为越来越重要的任务,吸引了大量研究进展。实际工作负载在这一过程中起着关键作用:它们对于激励和基准测试服务技术及系统至关重要。然而,现有对真实世界LLM服务工作负载的理解有限,由于缺乏全面的工作负载特征分析。先前的分析在规模和范围上仍显不足,无法充分捕捉复杂的工作负载特征。本文通过深入分析从全球云推理服务中收集的LLM服务工作负载,涵盖了不仅语言模型还包括新兴的多模态和推理模型,并在每种情况下揭示了重要的新发现。此外,基于我们的发现,我们提出了ServeGen,一个通过按客户端组合生成真实LLM服务工作负载的原理性框架。一个实际的生产用例验证了ServeGen相比朴素的工作负载生成避免了50%的欠配,展示了ServeGen在性能基准测试中的优势。ServeGen可在https://github.com/alibaba/ServeGen上获得。

英文摘要:

With the widespread adoption of Large Language Models (LLMs), serving LLM inference requests has become an increasingly important task, attracting active research advancements. Practical workloads play an essential role in this process: they are critical for motivating and benchmarking serving techniques and systems. However, the existing understanding of real-world LLM serving workloads is limited due to the lack of a comprehensive workload characterization. Prior analyses remain insufficient in scale and scope, thus failing to fully capture intricate workload characteristics. In this paper, we fill the gap with an in-depth characterization of LLM serving workloads collected from our worldwide cloud inference serving service, covering not only language models but also emerging multimodal and reasoning models, and unveiling important new findings in each case. Moreover, based on our findings, we propose ServeGen, a principled framework for generating realistic LLM serving workloads by composing them on a per-client basis. A practical use case in production validates that ServeGen avoids 50% under-provisioning compared to naive workload generation, demonstrating ServeGen's advantage in performance benchmarking. ServeGen is available at https://github.com/alibaba/ServeGen.

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

↑