Efficiency of parallel computations of gravitational forces by TreeCode method in N-body models

Autor: Kuzmin, Nikolay M., Sirotin, Danila S., Khoperskov, Alexander V.
Rok vydání: 2024
Předmět:
Zdroj: Mathematical Physics and Computer Simulation, 2024, vol. 27, no. 4, pp. 39-55
Druh dokumentu: Working Paper
DOI: 10.15688/mpcm.jvolsu.2024.4.4
Popis: Modeling of collisionless galactic systems is based on the N-body model, which requires large computational resources due to the long-range nature of gravitational forces. The most common method for calculating gravity is the TreeCode algorithm, which provides a faster calculation of the force compared to the direct summation of contributions from all particles for N-body simulation. An analysis of the computational efficiency is performed for models with the number of particles up to $10^{8}$. We considered several processors with different architectures in order to determine the performance of parallel simulations based on the OpenMP standard. An analysis of the use of extra threads in addition to physical cores shows an increase in simulation performance only when all logical threads are loaded, which doubles the total number of threads. This gives an increase in the efficiency of parallel computing by 20 percent on average.
Comment: 15 pages, 11 figures
Databáze: arXiv