Archives / Vol. 2, No. 1 (January 2012)

Memory-aware Thread and Data Mapping for Hierarchical Multi-core Platforms

International Journal of Networking and Computing, Vol. 2, No. 1, pp. 97–116, January 2012

Download PDF DOI: 10.15803/ijnc.2.1_97

Abstract

In parallel programs, the threads of a given application must cooperate in order to accomplish the required computation. However, the communication time between the tasks may be different depending on which core they are executing and how the memory hierarchy and interconnection are used. The problem is even more important in multi-core machines with NUMA characteristics, since the remote access imposes high overhead, making them more sensitive to thread and data mapping. In this context, thread and data mapping are techniques that provide performance gains by improving the use of resources such as interconnections, main memory and cache memory. The problem of detecting the best mapping is considered NP-Hard. Furthermore, in shared memory environments, there is an additional difficulty of finding the communication pattern, which is implicit and occurs through memory accesses. Our mechanism provides static mapping on NUMA architectures which does not require any prior knowledge of the application by the programmer. To obtain the mapping, different metrics were adopted and an heuristic method based on the Edmonds matching algorithm was used. In order to evaluate our proposal, we use the NAS Parallel Benchmarks (NPB) running on two modern multi-core NUMA machines. Results show performance gains of up to 75% compared to the native Linux scheduler and memory allocator.

How to Cite

Eduardo Henrique Molina da Cruz, Marco Antonio Zanata Alves, Alexandre Carissimi, Philippe Olivier Alexandre Navaux, Christiane Pousa Ribeiro and Jean-François Méhaut, "Memory-aware Thread and Data Mapping for Hierarchical Multi-core Platforms," International Journal of Networking and Computing, vol. 2, no. 1, pp. 97–116, 2012. doi: 10.15803/ijnc.2.1_97

BibTeX
@article{ijnc.v02n01p07,
  author  = {Eduardo Henrique Molina da Cruz and Marco Antonio Zanata Alves and Alexandre Carissimi and Philippe Olivier Alexandre Navaux and Christiane Pousa Ribeiro and Jean-François Méhaut},
  title   = {Memory-aware Thread and Data Mapping for Hierarchical Multi-core Platforms},
  journal = {International Journal of Networking and Computing},
  volume  = {2},
  number  = {1},
  pages   = {97--116},
  year    = {2012},
  doi     = {10.15803/ijnc.2.1_97},
  url     = {https://ijnc-journal.github.io/articles/v02n01p07/}
}