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

计算机工程 ›› 2022, Vol. 48 ›› Issue (9): 155-161. doi: 10.19678/j.issn.1000-3428.0063418

• 体系结构与软件技术 • 上一篇    下一篇

基于“嵩山”超级计算机系统的大规模管网仿真

杨周凡1, 韩林2, 李冰洋1, 谢景明2, 韩璞1, 刘勇杰1   

  1. 1. 郑州大学 信息工程学院, 郑州 450000;
    2. 郑州大学 国家超级计算郑州中心, 郑州 450000
  • 收稿日期:2021-12-01 修回日期:2022-01-27 发布日期:2021-12-30
  • 作者简介:杨周凡(1996—),男,硕士研究生,主研方向为高性能计算;韩林(通信作者),副教授、博士;李冰洋、谢景明,硕士研究生;韩璞,博士研究生;刘勇杰,硕士研究生。
  • 基金资助:
    河南省重大科技专项(201400210800,201400210700)。

Large-Scale Pipeline Network Simulation Based on “Songshan” Supercomputer System

YANG Zhoufan1, HAN Lin2, LI Bingyang1, XIE Jingming2, HAN Pu1, LIU Yongjie1   

  1. 1. Information Engineering Institute, Zhengzhou University, Zhengzhou 450000, China;
    2. National Supercomputing Zhengzhou Center, Zhengzhou University, Zhengzhou 450000, China
  • Received:2021-12-01 Revised:2022-01-27 Published:2021-12-30

摘要: 供水管网仿真广泛应用于城市供水输配调度,是城市供水管网监测与维护的重要技术手段。由于在面向城市级的大规模管网中产生了海量的计算数据,因此在一般计算平台上无法满足管网仿真计算的算力需求。为提升城市级供水管网仿真的计算效率,提出一种有效的并行化方案。基于“嵩山”超级计算机系统采用中央处理器+数据缓存单元(CPU+DCU)架构,利用其在密集数据计算方面的优势,对“嵩山”超级计算机进行供水管网仿真。参照可移植性异构计算接口(HIP)异构编程模型,在“嵩山”超级计算机上实现供水管网仿真的异构计算,并结合管道数据分割方案,使用消息传递接口开启多进程以实现DCU加速数据通信传递。通过重定义数据类型解决计算过程中结构体传输问题,实现单节点内多DCU的大规模密集计算。在不同计算平台和多种计算策略仿真上的对比结果表明,与传统x86平台相比,该优化方案在小规模数据与大规模数据上的加速比分别达到5.269、10.760,与采用计算统一设备架构异构编程模型的传统GPU异构平台相比,计算性能有明显提高。

关键词: 中央处理器+数据缓存单元架构, 数据缓存单元加速器, 仿真计算, 可移植性异构计算接口, 消息传递接口

Abstract: Water supply pipeline network simulation is widely performed for urban water supply transmission and distribution scheduling.Moreover, it is an important technical approach for monitoring and maintaining urban water supply networks. The amount of calculation data generated in the city-level large-scale pipeline network is significant;therefore, they are not available on general computing platforms.To satisfy computing power requirements for performing pipeline network calculations through simulation and to improve the efficiency of the calculations, this paper proposes an efficient parallelization scheme and uses the Central Processing Unit+Data Cache Unit(CPU+DCU) architecture based on the "Songshan" supercomputer system to exploit its advantages in the calculation of dense data to simulate the water supply network.Subsequently, based on the Heterogeneous-computing Interface for Portability(HIP) heterogeneous programming model, a heterogeneous calculation of the water supply pipe network is implemented numerically on the "Songshan" supercomputer.Using the existing pipeline data segmentation scheme, the Message Passing Interface(MPI) is used to launch multiple processes to allow the DCU to accelerate the transmission of data communication.The data type is defined, the structure transmission problem encountered during the calculation is solved, and the large-scale intensive calculation of multiple DCU in a single node is realized.A comparison between the simulation results of different computing platforms and multiple computing strategies show that the speedup of the optimization scheme and implementation method proposed herein is 5.269 and 10.760 for small-and large-scale data, respectively, which are better than that of the classical x86 platform.Additionally, by implementing Compute Unified Device Architecture(CUDA) heterogeneous programming, the computing performance achieved is better than that of a model using the classical GPU heterogeneous platform.

Key words: Central Processing Unit+Data Cache Unit(CPU+DCU) architecture, DCU accelerator, simulation calculation, Heterogeneous-computing Interface for Portability(HIP), Message Passing Interface(MPI)

中图分类号: