English

Gravitational octree code performance evaluation on Volta GPU

Mathematical Software 2018-11-08 v1 Instrumentation and Methods for Astrophysics Performance Computational Physics

Abstract

In this study, the gravitational octree code originally optimized for the Fermi, Kepler, and Maxwell GPU architectures is adapted to the Volta architecture. The Volta architecture introduces independent thread scheduling requiring either the insertion of the explicit synchronizations at appropriate locations or the enforcement of the same implicit synchronizations as do the Pascal or earlier architectures by specifying \texttt{-gencode arch=compute\_60,code=sm\_70}. The performance measurements on Tesla V100, the current flagship GPU by NVIDIA, revealed that the NN-body simulations of the Andromeda galaxy model with 223=83886082^{23} = 8388608 particles took 3.8×1023.8 \times 10^{-2}~s or 3.3×1023.3 \times 10^{-2}~s per step for each case. Tesla V100 achieves a 1.4 to 2.2-fold acceleration in comparison with Tesla P100, the flagship GPU in the previous generation. The observed speed-up of 2.2 is greater than 1.5, which is the ratio of the theoretical peak performance of the two GPUs. The independence of the units for integer operations from those for floating-point number operations enables the overlapped execution of integer and floating-point number operations. It hides the execution time of the integer operations leading to the speed-up rate above the theoretical peak performance ratio. Tesla V100 can execute NN-body simulation with up to 25×220=2621440025 \times 2^{20} = 26214400 particles, and it took 2.0×1012.0 \times 10^{-1}~s per step. It corresponds to 3.53.5~TFlop/s, which is 22\% of the single-precision theoretical peak performance.

Keywords

Cite

@article{arxiv.1811.02761,
  title  = {Gravitational octree code performance evaluation on Volta GPU},
  author = {Yohei Miki},
  journal= {arXiv preprint arXiv:1811.02761},
  year   = {2018}
}

Comments

10 pages, 10 figures, 2 tables, submitted to Computer Physics Communications