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

LMStream:当分布式微批流处理系统遇到GPU

LMStream: When Distributed Micro-Batch Stream Processing Systems Meet GPU

Suyeon Lee, Sungyong Park

摘要:

本文介绍了LMStream,它确保有限的延迟,同时最大限度地提高吞吐量的GPU支持的微批量流媒体系统。LMStream设计背后的主要思想可以概括为两个新机制:(1)动态查询和(2)动态操作级查询规划。通过控制微批量大小,LMStream显著降低了单个数据集的延迟,因为它不执行仅用于提高GPU利用率的无条件缓冲。LMStream根据流应用程序中使用的窗口操作的特性将延迟限制为最佳值。基于数据大小和动态设备偏好的查询到执行设备之间的动态映射尽可能地提高了吞吐量和延迟。此外,LMStream提出了一种低开销的在线模型参数优化方法,而不中断实时流处理。我们在Apache Spark上实现了LMStream,它支持微批流处理。与以前的面向吞吐量的方法相比,LMStream的平均延迟最高可提高70.7%,而平均吞吐量最高可提高1.74倍。

英文摘要:

This paper presents LMStream, which ensures bounded latency while maximizing the throughput on the GPU-enabled micro-batch streaming systems. The main ideas behind LMStream's design can be summarized as two novel mechanisms: (1) dynamic batching and (2) dynamic operation-level query planning. By controlling the micro-batch size, LMStream significantly reduces the latency of individual dataset because it does not perform unconditional buffering only for improving GPU utilization. LMStream bounds the latency to an optimal value according to the characteristics of the window operation used in the streaming application. Dynamic mapping between a query to an execution device based on the data size and dynamic device preference improves both the throughput and latency as much as possible. In addition, LMStream proposes a low-overhead online cost model parameter optimization method without interrupting the real-time stream processing. We implemented LMStream on Apache Spark, which supports micro-batch stream processing. Compared to the previous throughput-oriented method, LMStream showed an average latency improvement up to a maximum of 70.7%, while improving average throughput up to 1.74x.

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

↑