• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (07): 1213-1220.

• 论文 •    下一篇

大规模CFD多区结构网格任务负载平衡算法

唐波,王勇献   

  1. (国防科学技术大学计算机学院,湖南 长沙 410073)
  • 收稿日期:2013-08-12 修回日期:2013-11-25 出版日期:2014-07-25 发布日期:2014-07-25

A novel task load balancing algorithm in the
large-scale CFD with multi-zone structured grids             

TANG Bo,WANG Yongxian   

  1. (College of Computer,National University of Defense Technology,Changsha 410073,China)
  • Received:2013-08-12 Revised:2013-11-25 Online:2014-07-25 Published:2014-07-25

摘要:

针对现有负载平衡算法的适应度低、可扩展性差、通信开销度量不准确的缺陷, 提出一种大规模CFD多区结构网格任务负载平衡算法。通过对网格块的分割、网格块之间的组合映射、进程上网格计算量的调整来实现并行CFD任务负载平衡。实验结果表明, 该算法既适应同构平台也适应异构平台, 既适应网格块数多于进程数的情况也适应网格块数少于进程数的情况, 该算法可使得整个计算空间分配到各进程上的计算量负载平衡, 同时使得各进程间的最大通信开销最小。

关键词: 计算流体动力学, 结构网格, 并行计算, 负载平衡, 遗传算法

Abstract:

Aiming at the weakness of low fitness, poor scalability, and inaccurate communication overhead measurement in traditional parallel Computational Fluid Dynamics (CFD) applications, a new algorithm for the task load balancing in the large-scale CFD with multizone structured grids is proposed, which implements balancing the task load in parallel CFD applications by employing a three-phase method containing zone splitting, mapping zones to computation tasks, and adaptive adjustment of intra-task. Experimental results show that the proposed algorithm has better performance than the traditional greedy strategy on both homogeneous and heterogeneous computational platforms. By using the new algorithm, the performance of large-scale parallel CFD applications can be greatly improved.

Key words: computational fluid dynamics structured grid;parallel computation;load balancing;genetic algorithm