首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >Efficient algorithms for the reduce-scatter operation in LogGP
【24h】

Efficient algorithms for the reduce-scatter operation in LogGP

机译:LogGP中减少分散操作的高效算法

获取原文
获取原文并翻译 | 示例
           

摘要

We consider the problem of efficiently performing a reduce-scatter operation in a message passing system. Reduce-scatter is the composition of an element-wise reduction on vectors of n elements initially held by n processors, with a scatter of the resulting vector among the processors. In this paper, we present two algorithms for the reduce-scatter operation, designed in LogGP. The first algorithm assumes an associative and commutative reduction operator and it is optimal in LogGP within a small constant factor. The second algorithm allows the reduction operator to be noncommutative, and it is asymptotically optimal when values to be combined are large arrays. To achieve these results, we developed a complete analysis of both algorithms in LogGP, including the derivation of lower bounds for the reduce-scatter operation, and the study of the m-item version of the problem, i.e., the case when the initial elements are vectors themselves. Reduce-scatter has been included as a collective operation in the MPI standard message passing library, and can be used, for instance, in parallel matrix-vector multiply when the matrix is decomposed by columns. To model a message passing system, we adopted the LogGP model, an extension of LogP that allows the modeling of messages of different length. While this choice makes the analysis somewhat more complex, it leads to more realistic results in the case of gather/scatter algorithms.
机译:我们考虑在消息传递系统中有效执行减少分散操作的问题。减少散度是对最初由n个处理器持有的n个元素的向量进行逐元素减少的组合,其中所得向量在处理器之间的散布。在本文中,我们提出了两种在LogGP中设计的用于减少散射操作的算法。第一个算法假设有一个关联和可交换的约简运算符,并且在LogGP中以较小的恒定因子进行优化。第二种算法允许归约算子是非交换的,当要合并的值是大数组时,它是渐近最优的。为了获得这些结果,我们对LogGP中的两种算法进行了完整的分析,包括推导减少分散操作的下界,以及研究问题的m项版本,即初始元素时的情况。是向量本身。 MPI标准消息传递库中已将reduce-scatter作为集体操作包括在内,例如,当矩阵按列分解时,可以将其用于并行矩阵-矢量乘法。为了对消息传递系统进行建模,我们采用了LogGP模型,它是LogP的扩展,允许对不同长度的消息进行建模。尽管此选择使分析有些复杂,但在收集/散布算法的情况下,它会导致更实际的结果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号