arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.04131cs.LGcs.PF
收藏

Plumber:诊断和消除机器学习数据管道中的性能瓶颈

Plumber: Diagnosing and Removing Performance Bottlenecks in Machine Learning Data Pipelines

Carnegie Mellon University(卡内基梅隆大学);ETH Zürich(苏黎世联邦理工学院);Google(谷歌)

Michael Kuchnik, Ana Klimovic, Jiri Simsa, Virginia Smith, George Amvrosiadis

摘要:

输入管道,摄取和转换输入数据,是训练机器学习(ML)模型的重要组成部分。然而,实现高效的输入管道是具有挑战性的,因为它需要对细粒度分析信息中的并行性、可扩展性和可变性进行推理。我们对Google训练中心中超过200万个ML工作的分析表明,很大一部分模型训练工作可以从更快的输入数据管道中受益。与此同时,我们的分析表明,大多数作业不会使主机硬件饱和,这指向了基于软件的瓶颈。受这些发现的启发,我们提出了Plumber,这是一种用于查找ML输入管道中瓶颈的工具。Plumber使用可扩展和可解释的操作分析分析模型,在主机资源约束下自动调优并行性、预取和缓存。在五个具有代表性的ML管道中,Plumber针对错误配置的管道获得了高达47倍的加速。通过自动缓存,Plumber与最先进的调谐器相比,获得了超过50%的端到端加速。

英文摘要:

Input pipelines, which ingest and transform input data, are an essential part of training Machine Learning (ML) models. However, it is challenging to implement efficient input pipelines, as it requires reasoning about parallelism, asynchrony, and variability in fine-grained profiling information. Our analysis of over two million ML jobs in Google datacenters reveals that a significant fraction of model training jobs could benefit from faster input data pipelines. At the same time, our analysis indicates that most jobs do not saturate host hardware, pointing in the direction of software-based bottlenecks. Motivated by these findings, we propose Plumber, a tool for finding bottlenecks in ML input pipelines. Plumber uses an extensible and interpretable operational analysis analytical model to automatically tune parallelism, prefetching, and caching under host resource constraints. Across five representative ML pipelines, Plumber obtains speedups of up to 47x for misconfigured pipelines. By automating caching, Plumber obtains end-to-end speedups of over 50% compared to state-of-the-art tuners.

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

↑