Load balancing n-body simulations with highly non-uniform density
Author(s) -
Olga Pearce,
Todd Gamblin,
Bronis R. de Supinski,
Tom Arsenlis,
Nancy M. Amato
Publication year - 2014
Publication title -
osti oai (u.s. department of energy office of scientific and technical information)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/2597652.2597659
Subject(s) - computer science , overhead (engineering) , load balancing (electrical power) , work (physics) , scale (ratio) , computational science , particle (ecology) , statistical physics , parallel computing , mathematical optimization , physics , mathematics , mechanical engineering , geometry , engineering , oceanography , quantum mechanics , geology , grid , operating system
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.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom