Performance engineering for the Lattice Boltzmann method on GPGPUs: Architectural requirements and performance results
Preprint
Abstract
GPUs offer several times the floating point performance and memory bandwidth of current standard two socket CPU servers, e.g. NVIDIA C2070 vs. Intel Xeon Westmere X5650. The lattice Boltzmann method has been established as a flow solver in recent years and was one of the first flow solvers to be successfully ported and that performs well on GPUs. We demonstrate advanced optimization strategies for a D3Q19 lattice Boltzmann based incompressible flow solver for GPGPUs and CPUs based on NVIDIA CUDA and OpenCL. Since the implemented algorithm is limited by memory bandwidth, we concentrate on improving memory access. Basic data layout issues for optimal data access are explained and discussed. Furthermore, the algorithmic steps are rearranged to improve scattered access of the GPU memory. The importance of occupancy is discussed as well as optimization strategies to improve overall concurrency. We arrive at a well-optimized GPU kernel, which is integrated into a larger framework that can handle single phase fluid flow simulations as well as particle-laden flows. Our 3D LBM GPU implementation reaches up to 650 MLUPS in single precision and 290 MLUPS in double precision on an NVIDIA Tesla C2070.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- A flexible Patch-based lattice Boltzmann parallelization approach for heterogeneous GPU–CPU clustersParallel Computing, 2011
- Verification of surface tension in the parallel free surface lattice Boltzmann method in waLBerlaComputers & Fluids, 2011
- A new approach to the lattice Boltzmann method for graphics processing unitsComputers & Mathematics with Applications, 2011
- Performance analysis and optimization strategies for a D3Q19 lattice Boltzmann kernel on nVIDIA GPUs using CUDAAdvances in Engineering Software, 2011
- WaLBerla: HPC software design for computational engineering simulationsJournal of Computational Science, 2011
- TeraFLOP computing on a desktop PC with GPUs for 3D CFDInternational Journal of Computational Fluid Dynamics, 2008
- On the single processor performance of simple lattice Boltzmann kernelsComputers & Fluids, 2006
- Implementing lattice Boltzmann computation on graphics hardwareThe Visual Computer, 2003
- The Lattice Boltzmann Equation for Fluid Dynamics and Beyond2001
- Boundary conditions for lattice Boltzmann simulationsJournal of Statistical Physics, 1993