arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.22013cs.LGcs.PF
收藏

大规模机器学习模型服务系统的负载测试

Load Testing for Machine Learning Model Serving Systems at Scale

Meta Inc.(Meta公司)

Amr S. Abdelfattah, Nakul Tirumalai, Indu Mohanan, Xiao Li, Pengchao Wang, Dinakar Dhurjati, Eric Sung

AI总结:

提出自适应反馈驱动的负载测试框架Sys,通过实时性能信号和收敛检测,在SLO约束下高效识别最大可持续吞吐量,显著提升GPU资源效率并减少服务事故。

摘要:

机器学习(ML)模型服务已成为GPU基础设施的主要消费者,然而这些系统的容量规划在很大程度上仍然是临时的。资源供应不足会导致服务级别目标(SLO)违规和生产事故,而过度供应则导致大量资源浪费。本文介绍了\sys,一个用于ML服务系统的工业级负载测试框架,通过自适应、反馈驱动的搜索策略系统地估计服务容量。该方法利用实时性能信号,结合阻尼、尖峰容忍度和收敛检测,在SLO约束下高效识别最大可持续吞吐量。我们通过跨越四个ML架构类别(推荐、排序、视觉和NLP)的14个工业案例研究的纵向分析来评估\sys。这项研究表明,系统性的负载测试在GPU资源效率和操作可靠性方面带来了显著改进。在采用\sys之前,很大一部分模型发布存在资源供应不足,导致反复出现事故;部署后这些问题大幅减少。我们的结果表明,ML特定的设计决策对于准确的容量估计至关重要:使用记录流量进行工作负载校准可将估计误差从约30%降低到2-6%,而适当的预热处理使准确性提高了22.2%。进一步分析揭示了影响预测误差的关键因素,包括模型大小和共置效应。本文总结了六个经验教训,并推导出ML负载测试的架构指南,为构建可靠高效的ML服务系统提供了可操作的见解。

英文摘要:

Machine learning (ML) model serving has become a dominant consumer of GPU infrastructure, yet capacity planning in these systems remains largely ad hoc. Under-provisioning leads to service-level objective (SLO) violations and production incidents, while over-provisioning results in substantial resource waste. This paper presents \sys, an industrial load testing framework for ML serving systems that systematically estimates serving capacity through an adaptive, feedback-driven search strategy. The approach leverages real-time performance signals, incorporating dampening, spike tolerance, and convergence detection to efficiently identify maximum sustainable throughput under SLO constraints. We evaluate \sys through a longitudinal analysis of 14 industrial case studies spanning four ML architecture classes: recommendation, ranking, vision, and NLP. This study demonstrates that systematic load testing leads to substantial improvements in GPU resource efficiency and operational reliability. Prior to adopting \sys, a significant fraction of model launches were under-provisioned, resulting in recurring incidents; these issues were substantially reduced after deployment. Our results show that ML-specific design decisions are critical to accurate capacity estimation: workload calibration using recorded traffic reduces estimation error from approximately 30\% to 2--6\%, while proper warmup handling yields a 22.2\% improvement in accuracy. Further analysis reveals key factors influencing prediction error, including model size and co-location effects. This paper distills six lessons and derive architectural guidelines for ML load testing, offering actionable insights for building reliable and efficient ML serving systems.

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

↑