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

空闲波、解压缩和瓶颈规避在并行程序性能中的作用

The Role of Idle Waves, Desynchronization, and Bottleneck Evasion in the Performance of Parallel Programs

Ayesha Afzal, Georg Hager, Gerhard Wellein

摘要:

分布式存储系统上的高度并行应用程序的性能受到许多因素的影响。分析性能建模技术旨在提供对性能限制的深入了解,并且通常是优化工作的起点。然而,跨系统层次(套接字,节点,网络)耦合分析模型未能涵盖程序代码和硬件之间的复杂相互作用,特别是当涉及执行和通信瓶颈时。在本文中,我们调查的影响,“瓶颈规避”,以及它是如何导致自动重叠的通信开销与计算。瓶颈规避会导致并行代码逐渐失去初始的大容量同步行为,从而使其进程变得非同步化。这种情况在内存受限的程序中最为突出,这就是为什么我们选择内存受限的基准测试和应用程序代码,特别是MPI增强的STREAM Triad,稀疏矩阵向量乘法和集体避免Chebyshev滤波器对角化代码,以展示在两个不同的超级计算平台上去冗余化的后果。我们调查空闲波的作用,可能触发desertification和自动异步通信的频谱的代码属性和参数,如饱和点,矩阵结构,域分解,通信并发的影响。我们的研究结果揭示了如何消除同步点(如集体通信或障碍)沉淀性能的改善,超出了可以预期的只是从整体运行时减去集体的开销。

英文摘要:

The performance of highly parallel applications on distributed-memory systems is influenced by many factors. Analytic performance modeling techniques aim to provide insight into performance limitations and are often the starting point of optimization efforts. However, coupling analytic models across the system hierarchy (socket, node, network) fails to encompass the intricate interplay between the program code and the hardware, especially when execution and communication bottlenecks are involved. In this paper we investigate the effect of "bottleneck evasion" and how it can lead to automatic overlap of communication overhead with computation. Bottleneck evasion leads to a gradual loss of the initial bulk-synchronous behavior of a parallel code so that its processes become desynchronized. This occurs most prominently in memory-bound programs, which is why we choose memory-bound benchmark and application codes, specifically an MPI-augmented STREAM Triad, sparse matrix-vector multiplication, and a collective-avoiding Chebyshev filter diagonalization code to demonstrate the consequences of desynchronization on two different supercomputing platforms. We investigate the role of idle waves as possible triggers for desynchronization and show the impact of automatic asynchronous communication for a spectrum of code properties and parameters, such as saturation point, matrix structures, domain decomposition, and communication concurrency. Our findings reveal how eliminating synchronization points (such as collective communication or barriers) precipitates performance improvements that go beyond what can be expected by simply subtracting the overhead of the collective from the overall runtime.

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

↑