格子Boltzmann模拟在异构计算机上的优化
Optimization of Lattice Boltzmann Simulations on Heterogeneous Computers
摘要:
高性能计算系统越来越多地基于加速器。针对这些系统的计算应用程序通常遵循主机驱动的方法,其中主机将代码的几乎所有计算密集型部分卸载到加速器上;这种方法仅少量利用主机CPU上可用的计算资源,限制了性能和能效。明显的进步是在主机和加速器上以并发和平衡的方式运行计算密集型内核。在本文中,我们认为正是这个问题的一类应用程序的基础上格子玻尔兹曼方法,广泛应用于计算流体动力学。我们的目标是开发一个程序,便携式,并能够有效地运行在主机和加速器的几个不同的组合。为了实现这一目标,我们定义了通用的数据布局,使代码能够有效地利用各种加速器的不同并行和向量选项,并匹配应用程序的计算绑定和内存绑定内核的可能不同的要求。我们还定义了模型和指标,用于预测主机和加速器之间的最佳工作负载分区,以及最佳可实现的整体性能水平。我们测试我们的代码的性能和他们的缩放属性作为测试平台HPC集群采用不同的加速器:英特尔至强披众核处理器,NVIDIA GPU和AMD GPU。
英文摘要:
High-performance computing systems are more and more often based on accelerators. Computing applications targeting those systems often follow a host-driven approach in which hosts offload almost all compute-intensive sections of the code onto accelerators; this approach only marginally exploits the computational resources available on the host CPUs, limiting performance and energy efficiency. The obvious step forward is to run compute-intensive kernels in a concurrent and balanced way on both hosts and accelerators. In this paper we consider exactly this problem for a class of applications based on Lattice Boltzmann Methods, widely used in computational fluid-dynamics. Our goal is to develop just one program, portable and able to run efficiently on several different combinations of hosts and accelerators. To reach this goal, we define common data layouts enabling the code to exploit efficiently the different parallel and vector options of the various accelerators, and matching the possibly different requirements of the compute-bound and memory-bound kernels of the application. We also define models and metrics that predict the best partitioning of workloads among host and accelerator, and the optimally achievable overall performance level. We test the performance of our codes and their scaling properties using as testbeds HPC clusters incorporating different accelerators: Intel Xeon-Phi many-core processors, NVIDIA GPUs and AMD GPUs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。