Dynamic data migration for structured AMR solvers

  • Authors:
  • Markus Nordén;Henrik Löf;Jarmo Rantakokko;Sverker Holmgren

  • Affiliations:
  • Department of Information Technology, Uppsala University, Uppsalas, Sweden;Department of Information Technology, Uppsala University, Uppsalas, Sweden;Department of Information Technology, Uppsala University, Uppsalas, Sweden;Department of Information Technology, Uppsala University, Uppsalas, Sweden

  • Venue:
  • International Journal of Parallel Programming
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

On cc-NUMA multi-processors, the non-uniformity of main memory latencies motivates the need for co-location of threads and data. We call this special form of data locality, geographical locality. In this article, we study the performance of a parallel PDE solver with adaptive mesh refinement (AMR). The solver is parallelized using OpenMP and the adaptive mesh refinement makes dynamic load balancing necessary. Due to the dynamically changing memory access pattern caused by the runtime adaption, it is a challenging task to achieve a high degree of geographical locality. The main conclusions of the study are: (1) that geographical locality is very important for the performance of the solver, (2) that the performance can be improved significantly using dynamic page migration of misplaced data, (3) that a migrate-on-next-touch directive works well whereas the first-touch strategy is less advantageous for programs exhibiting a dynamically changing memory access patterns, and (4) that the overhead for such migration is low compared to the total execution time.