arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.12981cs.DCcs.AIcs.CVcs.LG
收藏

超越推理:计算机视觉中DNN服务器开销的性能分析

Beyond Inference: Performance Analysis of DNN Server Overheads for Computer Vision

Cornell University(康奈尔大学);Intel(英特尔公司)

Ahmed F. AbouElhamayed, Susanne Balle, Deshanand Singh, Mohamed S. Abdelfattah

AI总结:

本文全面评估了计算机视觉DNN推理请求中的服务器开销,发现数据处理与移动功能在端到端延迟和系统吞吐量中占主导地位,识别了关键性能瓶颈并实现了2.25倍的吞吐量提升。

摘要:

深度神经网络(DNN)推理已成为许多数据中心工作负载的重要组成部分。这促使人们集中精力设计更快的深度学习加速器,如GPU和TPU。然而,基于DNN的端到端视觉应用包含的不仅仅是DNN推理,还包括输入解压缩、调整大小、采样、归一化和数据传输。在本文中,我们对在吞吐量优化服务系统上执行的计算机视觉推理请求进行了全面评估。我们量化了服务器开销的性能影响,例如在以不同速率产生输出的两个DNN之间的数据移动、预处理和消息代理。我们的实证分析涵盖了许多计算机视觉任务,包括图像分类、分割、检测、深度估计,以及具有多个DNN的更复杂处理流水线。我们的结果一致表明,端到端应用程序性能很容易被数据处理和数据移动功能所主导(在中等大小图像中占端到端延迟的56%,在大型图像中对系统吞吐量的影响约为80%),尽管这些功能在深度学习系统设计中传统上被忽视。我们的工作识别了不同应用场景中的重要性能瓶颈,与先前的工作相比实现了2.25倍的吞吐量提升,并为更全面的深度学习系统设计铺平了道路。

英文摘要:

Deep neural network (DNN) inference has become an important part of many data-center workloads. This has prompted focused efforts to design ever-faster deep learning accelerators such as GPUs and TPUs. However, an end-to-end DNN-based vision application contains more than just DNN inference, including input decompression, resizing, sampling, normalization, and data transfer. In this paper, we perform a thorough evaluation of computer vision inference requests performed on a throughput-optimized serving system. We quantify the performance impact of server overheads such as data movement, preprocessing, and message brokers between two DNNs producing outputs at different rates. Our empirical analysis encompasses many computer vision tasks including image classification, segmentation, detection, depth-estimation, and more complex processing pipelines with multiple DNNs. Our results consistently demonstrate that end-to-end application performance can easily be dominated by data processing and data movement functions (up to 56% of end-to-end latency in a medium-sized image, and $\sim$ 80% impact on system throughput in a large image), even though these functions have been conventionally overlooked in deep learning system design. Our work identifies important performance bottlenecks in different application scenarios, achieves 2.25$\times$ better throughput compared to prior work, and paves the way for more holistic deep learning system design.

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

↑