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

百万核混合CPU + MIC异构计算系统上可扩展CFD应用的性能优化

Performance optimizations for scalable CFD applications on hybrid CPU+MIC heterogeneous computing system with millions of cores

Yong-Xian Wang, Li-Lun Zhang, Wei Liu, Xing-Hua Cheng, Yu Zhuang, Anthony T. Chronopoulos

摘要:

对于具有大量网格点/单元的计算流体动力学(CFD)应用,并行计算是一种常用的减少计算时间的有效策略。如何在现代超级计算机系统中实现最佳性能,特别是在混合CPU+GPU,或CPU + Intel Xeon Phi(MIC)协处理器等异构计算资源的情况下,仍然是一个巨大的挑战。在这项研究中,开发和测试了一个内部的并行计算流体动力学代码,能够模拟三维结构网格的应用。本文从识别应用程序的潜在并行性、平衡各种计算设备之间的工作负载、在具有数百个CPU/MIC核的机内节点上调整多线程代码以提高性能、优化节点间、核间通信、在天河一号A和天河二号超级计算机上对模型和工业CFD应用的一些基准案例进行了测试,以评估性能。在这些CFD案例中,网格单元的最大数量达到7800亿。优化后的求解器成功地扩展到整个天河二号超级计算机系统的一半,超过137.6万个异构核心。详细讨论了测试结果和性能分析。

英文摘要:

For computational fluid dynamics (CFD) applications with a large number of grid points/cells, parallel computing is a common efficient strategy to reduce the computational time. How to achieve the best performance in the modern supercomputer system, especially with heterogeneous computing resources such as hybrid CPU+GPU, or a CPU + Intel Xeon Phi (MIC) co-processors, is still a great challenge. An in-house parallel CFD code capable of simulating three dimensional structured grid applications is developed and tested in this study. Several methods of parallelization, performance optimization and code tuning both in the CPU-only homogeneous system and in the heterogeneous system are proposed based on identifying potential parallelism of applications, balancing the work load among all kinds of computing devices, tuning the multi-thread code toward better performance in intra-machine node with hundreds of CPU/MIC cores, and optimizing the communication among inter-nodes, inter-cores, and between CPUs and MICs. Some benchmark cases from model and/or industrial CFD applications are tested on the Tianhe-1A and Tianhe-2 supercomputer to evaluate the performance. Among these CFD cases, the maximum number of grid cells reached 780 billion. The tuned solver successfully scales up to half of the entire Tianhe-2 supercomputer system with over 1.376 million of heterogeneous cores. The test results and performance analysis are discussed in detail.

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

↑