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

测量线程时序以评估 Early-bird 消息传递的可行性

Measuring Thread Timing to Assess the Feasibility of Early-bird Message Delivery

W. Pepper Marts, Matthew G. F. Dosanjh, Whit Schonbein, Scott Levy, Patrick G. Bridges

AI总结:

本文通过测量计算线程完成时序与空闲重叠窗口,分析 MiniFE、MiniMD 和 MiniQMC,评估 early-bird 消息传递在不同工作负载中的可行性。

摘要:

Early-bird 通信是一种通信/计算重叠技术,它将细粒度通信与分区通信相结合,以改善应用程序运行时间。通信被分配到各个计算线程之间,使每个独立线程都能在其负责的数据部分完成后立即启动该部分数据的传输,而不必等待所有线程。然而,early-bird 通信的收益取决于各个线程的完成时序。本文中,我们测量并评估潜在的重叠,即每个线程从完成自身计算到最后一个线程完成之间经历的空闲时间。这些测量有助于我们理解给定应用程序是否能够从 early-bird 通信中受益。我们介绍了收集这些数据的技术,并评估了从三个代理应用程序 MiniFE、MiniMD 和 MiniQMC 收集的数据。为了刻画这些工作负载的行为,我们在宏观层面(即跨应用程序所有运行中的所有线程)和微观层面(即单次运行中的单个进程内)研究线程时序。我们观察到这些应用程序表现出显著不同的行为。由于 MiniFE 和 MiniQMC 具有更宽的线程分布以及更频繁出现的落后线程,它们似乎非常适合 early-bird 通信,而 MiniMD 的行为可能会限制其利用 early-bird 通信的能力。

英文摘要:

Early-bird communication is a communication/computation overlap technique that combines fine-grained communication with partitioned communication to improve application run-time. Communication is divided among the compute threads such that each individual thread can initiate transmission of its portion of the data as soon as it is complete rather than waiting for all of the threads. However, the benefit of early-bird communication depends on the completion timing of the individual threads. In this paper, we measure and evaluate the potential overlap, the idle time each thread experiences between finishing their computation and the final thread finishing. These measurements help us understand whether a given application could benefit from early-bird communication. We present our technique for gathering this data and evaluate data collected from three proxy applications: MiniFE, MiniMD, and MiniQMC. To characterize the behavior of these workloads, we study the thread timings at both a macro level, i.e., across all threads across all runs of an application, and a micro level, i.e., within a single process of a single run. We observe that these applications exhibit significantly different behavior. While MiniFE and MiniQMC appear to be well-suited for early-bird communication because of their wider thread distribution and more frequent laggard threads, the behavior of MiniMD may limit its ability to leverage early-bird communication.

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

↑