Speed, power and cost implications for GPU acceleration of Computational Fluid Dynamics on HPC systems

Zachary Cooper-Baldock,Brenda Vara Almirall,Kiao Inthavong
2024-04-03
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.
Distributed, Parallel, and Cluster Computing,Performance,Numerical Analysis
What problem does this paper attempt to address?
### What problems does this paper attempt to solve? This paper aims to explore and evaluate the impact on speed, power consumption, and service unit (SU) cost of using GPU - accelerated computational fluid dynamics (CFD) simulations in high - performance computing (HPC) systems. Specifically, the authors hope to solve the problems through the following aspects: 1. **Increase computational speed**: Traditional CFD simulations mainly rely on CPUs for calculations. With the development of GPU technology, especially the increase in VRAM capacity, GPU acceleration has become possible. However, at the HPC scale, the specific performance of GPU - acceleration is still unclear. Therefore, this paper evaluates whether GPU - acceleration can significantly improve computational speed by comparing CPUs and GPUs under different architectures. 2. **Reduce power consumption**: Although GPU - acceleration can increase computational speed, whether its power consumption is reasonable is also an important issue. This paper analyzes the impact of GPU - acceleration on energy consumption by measuring power consumption under different hardware configurations to determine whether it is cost - effective. 3. **Control costs**: In the HPC environment, the cost of computing resources is a factor that researchers and administrators must consider. This paper evaluates the economic benefits of GPU - acceleration under different hardware configurations by calculating the service unit (SU) cost, helping users choose the optimal computing resources. 4. **Initialization time**: In addition to computational speed and power consumption, the initialization process of CFD simulations is also an important part. This paper also evaluates the impact of GPU - acceleration on initialization time to fully understand its advantages and disadvantages. 5. **Impact of multi - GPU configurations**: When multiple GPUs need to work together, does their performance remain superior, or will it become no longer advantageous due to power consumption or cost issues? This paper explores the actual effects of multi - GPU configurations through experimental data. ### Research background CFD simulations are based on the Navier - Stokes equations, which describe the laws of fluid motion. Due to the complexity of the equations and the large amount of calculations, CFD simulations usually require a large amount of computing resources and thus mainly rely on high - performance computing (HPC) systems. Traditionally, CFD simulations were mainly completed by CPUs, but due to the highly parallel architecture of GPUs, attempts have been made to use GPU - acceleration for CFD simulations in recent years. However, in the HPC environment, there are still many unknowns regarding the specific performance of GPU - acceleration (such as speed, power consumption, and cost). ### Main contributions The main contribution of this paper is that it not only evaluates the computational speed of GPU - acceleration but also comprehensively considers other important factors such as initialization time, power consumption, and service unit cost. By comparing different hardware configurations (including different CPU architectures and GPU models), this paper provides a more comprehensive reference for researchers and HPC administrators, helping them choose the most suitable computing resources. ### Conclusions Through detailed experiments and data analysis, this paper draws the following conclusions: - GPU - acceleration significantly improves the computational speed of CFD simulations, especially in large - scale grids and long - time simulations. - In terms of power consumption, although GPU - acceleration can reduce the total calculation time, in some cases, the power consumption is not necessarily lower than that of CPUs. - In terms of cost, GPU - acceleration can reduce costs in some configurations, especially when the total simulation time is short. - In terms of initialization time, GPU - acceleration has no obvious advantage and may even be slightly slower in some cases. In summary, the application prospects of GPU - acceleration in CFD simulations are broad, but optimization selection still needs to be made according to specific hardware configurations and application scenarios.