arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.02761cs.MSastro-ph.IMcs.PFphysics.comp-ph
收藏

Volta GPU上的引力八叉树码性能评估

Gravitational octree code performance evaluation on Volta GPU

Yohei Miki

摘要:

在这项研究中,最初为费米,开普勒和麦克斯韦GPU架构优化的引力八叉树代码适用于Volta架构。Volta体系结构引入了独立的线程调度,需要在适当的位置插入显式同步,或者通过指定\texttt{-gencode arch=compute\_60,code=sm\_70}来执行与Pascal或更早的体系结构相同的隐式同步。在NVIDIA当前的旗舰GPU Tesla V100上进行的性能测量显示,使用$2^{23} = 8388608$粒子对仙女座星系模型进行$N$体模拟,每种情况下每步需要$3.8 \times 10^{-2}$ ~s或$3.3 \times 10^{-2}$ ~s。与上一代旗舰GPU Tesla P100相比,Tesla V100实现了1.4至2.2倍的加速。观察到的2.2的加速大于1.5,这是两个GPU的理论峰值性能之比。整数运算单元与浮点数运算单元的独立性使得整数运算和浮点数运算能够重叠执行。它隐藏了整数运算的执行时间,导致加速率高于理论峰值性能比。Tesla V100可以使用多达$25 \times 2^{20} = 26214400$粒子执行$N$ -身体模拟,并且每步需要$2.0 \times 10^{-1}$ ~s。它相当于$3.5$ ~TFlop/s,是单精度理论峰值性能的22%。

英文摘要:

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 $N$-body simulations of the Andromeda galaxy model with $2^{23} = 8388608$ particles took $3.8 \times 10^{-2}$~s or $3.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 $N$-body simulation with up to $25 \times 2^{20} = 26214400$ particles, and it took $2.0 \times 10^{-1}$~s per step. It corresponds to $3.5$~TFlop/s, which is 22\% of the single-precision theoretical peak performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑