Locality vs. balance: Exploring data mapping policies on NUMA systems

Matthias Diener, Eduardo H.M. Cruz, Philippe O.A. Navaux

Research output: Chapter in Book/Report/Conference proceedingConference contribution

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.

Original languageEnglish (US)
Title of host publicationProceedings - 23rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2015
EditorsJohan Lilius, Masoud Daneshtalab, Mats Brorsson, Ville Leppanen, Marco Aldinucci
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages9-16
Number of pages8
ISBN (Electronic)9781479984909
DOIs
StatePublished - 2015
Externally publishedYes
Event23rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2015 - Turku, Finland
Duration: Mar 4 2015Mar 6 2015

Publication series

NameProceedings - 23rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2015

Conference

Conference23rd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2015
Country/TerritoryFinland
CityTurku
Period3/4/153/6/15

Keywords

  • Data mapping
  • Load balance
  • Locality
  • NUMA

ASJC Scopus subject areas

  • Hardware and Architecture
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'Locality vs. balance: Exploring data mapping policies on NUMA systems'. Together they form a unique fingerprint.

Cite this