Title :
Where should the threads go? Leveraging hierarchical data locality to solve the thread affinity dilemma
Author :
Anbar, Ahmad ; Badawy, Abdel-Hameed A. ; Serres, Olivier ; El-Ghazawi, Tarek
Author_Institution :
Electr. & Comput. Eng. Dept., George Washington Univ., Washington, DC, USA
Abstract :
We are proposing a novel framework that ameliorates locality-aware parallel programming models, by defining a hierarchical data locality model extension. We also propose two hierarchical thread partitioning algorithms. These algorithms synthesize hierarchical thread placement layouts that targets minimizing the program´s overall communication costs. We demonstrate the effectiveness of our approach using the NAS Parallel Benchmarks implemented in Unified Parallel C (UPC) using a modified Berkeley UPC Compiler and runtime system. We achieved performance gains of up to 88% in performance by applying the placement layouts our algorithms suggest.
Keywords :
data handling; minimisation; multi-threading; program compilers; Berkeley UPC compiler; NAS parallel benchmark; communication cost minimization; data locality model extension; hierarchical thread partitioning algorithm; locality-aware parallel programming model; runtime system; thread affinity dilemma; unified parallel C; Benchmark testing; Clustering algorithms; Instruction sets; Kernel; Measurement; Message systems; Partitioning algorithms; Data locality; Hierarchical locality; Many-cores;
Conference_Titel :
Parallel and Distributed Systems (ICPADS), 2014 20th IEEE International Conference on
DOI :
10.1109/PADSW.2014.7097832