@inproceedings{b1f221ef977c40a2bbb88a0a1dff4545,
title = "Locality vs. balance: Exploring data mapping policies on NUMA systems",
abstract = "In parallel architectures that have a Non-Uniform Memory Access (NUMA) behavior, the mapping of memory pages to NUMA nodes influences the performance of parallel applications. In order to improve traditional data mapping policies, two basic strategies can be employed: optimizing locality or balance of memory accesses. In a locality-based policy, memory pages are mapped to nodes that access the page the most. In a balance-based policy, memory pages are mapped such that the number of memory accesses resolved by each memory controller is similar. In this paper, we perform an in-depth exploration of these data mapping policies on the performance of parallel applications. We introduce metrics that describe their memory access behavior and evaluate their suitability for data mapping. We also present new mapping policies that focus on locality, balance or both. These policies were evaluated on three different NUMA architectures with applications from the NAS-OMP and PARSEC benchmark suites. Results show that the performance improvements of each policy depend on the characteristics of the applications and machines. Choosing the wrong policy can actually hurt the performance compared to the default first-touch mapping. Compared to traditional mapping policies and to policies that only focus on either locality or balance, taking into account both locality and balance results in the highest improvements. Furthermore, it avoids the performance reduction caused by the wrong data mapping.",
keywords = "Data mapping, Load balance, Locality, NUMA",
author = "Matthias Diener and Cruz, {Eduardo H.M.} and Navaux, {Philippe O.A.}",
note = "Funding Information: This work was partially supported by CNPq. Publisher Copyright: {\textcopyright} 2015 IEEE.; 23rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2015 ; Conference date: 04-03-2015 Through 06-03-2015",
year = "2015",
doi = "10.1109/PDP.2015.11",
language = "English (US)",
series = "Proceedings - 23rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2015",
publisher = "Institute of Electrical and Electronics Engineers Inc.",
pages = "9--16",
editor = "Johan Lilius and Masoud Daneshtalab and Mats Brorsson and Ville Leppanen and Marco Aldinucci",
booktitle = "Proceedings - 23rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2015",
address = "United States",
}