作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (7): 59-60,6. doi: 10.3969/j.issn.1000-3428.2008.07.020

• 软件技术与数据库 • 上一篇    下一篇

基于线性不等式消元实现的通信优化

刘 磊,赵荣彩,龚雪容   

  1. (解放军信息工程大学信息工程学院,郑州 450002)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-04-05 发布日期:2008-04-05

Communication Optimization Based on Elimination of Linear Inequalities

LIU Lei, ZHAO Rong-cai, GONG Xue-rong   

  1. (School of Information Engineering, PLA Information Engineering University, Zhengzhou 450002)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-04-05 Published:2008-04-05

摘要: 若自动生成的并行化代码中包含过多的冗余代码,将导致代码膨胀,同时增加不必要的时间开销。该文通过对计算划分不等式和依赖关系不等式进行傅立叶消元,消除并行化代码中的冗余通信部分,实现通信优化。测试结果表明,与通信优化前的代码相比,消除后的并行代码量减少了10%~30%,处理器数目相同的情况下加速比平均达到1.12。

关键词: 并行化代码自动生成, 冗余通信消除, 线性不等式, 通信优化

Abstract: The parallel code that the compiler generates automatically leads to code expansion and unnecessary running time increase if it includes too much redundant code. This paper presents an optimization technique to eliminate redundant communication code by using Fourier-Motzkin- elimination algorithm for linear inequalities of computation decompositions and data decomposition. The test results show that the technique is able to reduce the size of the code by 10 to 30 percent compared with the original code, and the speedup achieves 1.12 on average using the same number of processors.

Key words: automatic parallel code generation, redundant communication elimination, linear inequalities, communication optimization

中图分类号: