Skip to main content
QUICK REVIEW

[论文解读] Speed, power and cost implications for GPU acceleration of Computational Fluid Dynamics on HPC systems

Zachary Cooper-Baldock, Brenda Vara Almirall|arXiv (Cornell University)|Apr 3, 2024
Parallel Computing and Optimization TechniquesComputer Science被引用 3
一句话总结

本文评估了在HPC系统上使用GPU加速AN SYS Fluent CFD模拟的性能,对比了多种硬件架构下仅使用CPU与GPU加速工作负载的表现。研究发现,尽管GPU加速显著提升了模拟速度并降低了成本,但初始化时间和功耗因GPU型号而异,其中A100在能效方面优于V100,而Sapphire Rapids CPU虽然速度最快但队列成本最高。

ABSTRACT

Computational Fluid Dynamics (CFD) is the simulation of fluid flow undertaken with the use of computational hardware. The underlying equations are computationally challenging to solve and necessitate high performance computing (HPC) to resolve in a practical timeframe when a reasonable level of fidelity is required. The simulations are memory intensive, having previously been limited to central processing unit (CPU) solvers, as graphics processing unit (GPU) video random access memory (VRAM) was insufficient. However, with recent developments in GPU design and increases to VRAM, GPU acceleration of CPU solved workflows is now possible. At HPC scale however, many operational details are still unknown. This paper utilizes ANSYS Fluent, a leading commercial code in CFD, to investigate the compute speed, power consumption and service unit (SU) cost considerations for the GPU acceleration of CFD workflows on HPC architectures. To provide a comprehensive analysis, different CPU architectures, and GPUs have been assessed. It is seen that GPU compute speed is faster, however, the initialisation speed, power and cost performance is less clear cut. Whilst the larger A100 cards perform well with respect to power consumption, this is not observed for the V100 cards. In situations where more than one GPU is required, their adoption may not be beneficial from a power or cost perspective.

研究动机与目标

  • 评估在HPC环境中使用ANSYS Fluent进行CFD模拟时,GPU加速对性能、功耗和成本影响。
  • 对比Broadwell、Cascade Lake、Sapphire Rapids、V100和A100等不同硬件架构下仅使用CPU与GPU加速工作流的表现。
  • 识别在模拟速度、能效和财务成本之间实现平衡的最佳硬件配置,以适用于CFD工作负载。
  • 强调初始化时间与队列成本在决定整体效率方面的重要作用,尤其是在缺乏代码访问权限的商业CFD软件中。
  • 为研究人员和HPC管理员在大规模CFD模拟中选择成本效益高、能效优的硬件提供指导。

提出的方法

  • 使用ANSYS Fluent执行了两次CFD模拟:一次为外部流(潜艇),一次为内部流(人体口咽气道)。
  • 在仅使用CPU和GPU加速配置下运行模拟,分别采用Broadwell、Cascade Lake和Sapphire Rapids CPU搭配V100和A100 GPU。
  • 测量所有配置下的总模拟时长、迭代速度、初始化时间、功耗以及服务单元(SU)成本。
  • 使用标准化的网格尺寸和模拟参数,确保不同架构之间的公平比较。
  • 通过对比速度提升、功耗和每项模拟的成本,分析性能权衡,并考虑队列计费费率。
  • 评估网格尺寸和显存容量对GPU适用性的影响,尤其针对大规模CFD问题。
Figure 1: 3D computational domain. XLUUV indicated in the center of the image.
Figure 1: 3D computational domain. XLUUV indicated in the center of the image.

实验结果

研究问题

  • RQ1在使用ANSYS Fluent的HPC环境CFD工作流中,GPU加速如何影响模拟速度、功耗和成本?
  • RQ2在CFD模拟中,V100与A100 GPU在性能和成本方面有何相对优劣,特别是在初始化时间和能效方面?
  • RQ3在使用或不使用GPU加速的情况下,Broadwell、Cascade Lake和Sapphire Rapids等不同CPU架构在模拟速度和成本方面如何比较?
  • RQ4硬件选择在多大程度上影响了HPC系统上CFD模拟的总拥有成本(包括队列费用)?
  • RQ5在何种条件下,GPU加速比仅使用CPU计算更具成本效益?在何种情况下,由于功耗或成本限制,多GPU配置可能效率低下?

主要发现

  • 与仅使用CPU的运行相比,GPU加速显著缩短了模拟时间,A100在整体性能上表现最佳。
  • 尽管初始成本更高,A100 GPU在高网格模拟中表现出优于V100的能效,尤其在功耗方面更具优势。
  • 初始化时间是主要瓶颈,尤其在Broadwell和Cascade Lake CPU上,而Sapphire Rapids表现出最快的初始化时间。
  • 尽管模拟速度更快,Sapphire Rapids CPU因队列计费费率过高,导致SU成本最高,实际成本效益低于预期。
  • V100在某些配置下表现出较高的功耗,表明其能效低于A100,尤其在多GPU配置中更为明显。
  • 对于较小的网格尺寸,单GPU配置可能更具成本优势;但对于更大规模模型,使用A100的多GPU配置在成本和能效方面优于V100。
Figure 2: 3D computational domain - internal airflow case
Figure 2: 3D computational domain - internal airflow case

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。