Load balancing n-body simulations with highly non-uniform density
Load balancing n-body simulations with highly non-uniform density
复制标题
具有高度不均匀密度的负载平衡 n 体模拟
DOI:
--
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
N. Amato
中科院分区:
文献类型:
--
作者:
Olga Pearce;T. Gamblin;B. Supinski;T. Arsenlis;N. Amato
N-body methods simulate the evolution of systems of particles (or bodies). They are critical for scientific research in fields as diverse as molecular dynamics, astrophysics, and material science. Most load balancing techniques for N-body methods use particle count to approximate computational work. This approximation is inaccurate, especially for systems with high density variation, because work in an N-body simulation is proportional to the particle density, not the particle count. In this paper, we demonstrate that existing techniques do not perform well at scale when particle density is highly non-uniform, and we propose a load balance technique that efficiently assigns load in terms of interactions instead of particles. We use adaptive sampling to create an even work distribution more amenable to partitioning, and to reduce partitioning overhead. We implement and evaluate our approach on a Barnes-Hut algorithm and a large-scale dislocation dynamics application, ParaDiS. Our method achieves up to 26% improvement in overall performance of Barnes-Hut and 18% in ParaDiS.