并行进程在网格和环面结构上的映射算法
Algorithms for Mapping Parallel Processes onto Grid and Torus Architectures
摘要:
静态映射是将并行进程分配给并行系统的处理元素(PE),其中分配在应用程序的生命周期内不会改变。在我们的场景中,我们通过应用程序图对应用程序的计算及其依赖关系进行建模。这个图首先被划分成(几乎)相等大小的块。这些块需要在块边界处进行通信。为了将进程分配给PE,我们的目标是计算块和PE之间的通信高效的双射映射。这种分区后再进行双射映射的方法具有许多自由度。因此,并行应用程序的用户和开发人员需要更多地了解哪些选择适用于哪些应用程序图形和哪些并行架构。为此,我们不仅开发新的映射算法(来自已知的贪婪方法)。我们还进行了广泛的实验,涉及不同类别的应用程序图(网格和复杂网络),并行计算机的架构(网格和环面),以及不同的分区和映射算法。令人惊讶的是,分区的质量,除非非常差,对映射的质量几乎没有影响。更重要的是,我们的新的映射算法总是产生最好的结果,在质量措施最大拥塞时,应用图是复杂的网络。如果网格作为应用程序图,则该映射算法在最大拥堵和最大扩张(另一种常见质量度量)方面始终领先。
英文摘要:
Static mapping is the assignment of parallel processes to the processing elements (PEs) of a parallel system, where the assignment does not change during the application's lifetime. In our scenario we model an application's computations and their dependencies by an application graph. This graph is first partitioned into (nearly) equally sized blocks. These blocks need to communicate at block boundaries. To assign the processes to PEs, our goal is to compute a communication-efficient bijective mapping between the blocks and the PEs. This approach of partitioning followed by bijective mapping has many degrees of freedom. Thus, users and developers of parallel applications need to know more about which choices work for which application graphs and which parallel architectures. To this end, we not only develop new mapping algorithms (derived from known greedy methods). We also perform extensive experiments involving different classes of application graphs (meshes and complex networks), architectures of parallel computers (grids and tori), as well as different partitioners and mapping algorithms. Surprisingly, the quality of the partitions, unless very poor, has little influence on the quality of the mapping. More importantly, one of our new mapping algorithms always yields the best results in terms of the quality measure maximum congestion when the application graphs are complex networks. In case of meshes as application graphs, this mapping algorithm always leads in terms of maximum congestion AND maximum dilation, another common quality measure.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。