Dynamic Thread Pinning for Phase-Based OpenMP Programs

Abdelhafid Mazouz 1 Sid Touati 2 Denis Barthou 3, 4
2 AOSTE - Models and methods of analysis and optimization for systems with real-time and embedding constraints
CRISAM - Inria Sophia Antipolis - Méditerranée , Inria Paris-Rocquencourt, COMRED - COMmunications, Réseaux, systèmes Embarqués et Distribués
4 RUNTIME - Efficient runtime systems for parallel architectures
Inria Bordeaux - Sud-Ouest, UB - Université de Bordeaux, CNRS - Centre National de la Recherche Scientifique : UMR5800
Abstract : Thread affinity has appeared as an important technique to improve the overall program performance and for better performance stability. However, if we consider a program with multiple phases, it is unlikely that a single thread affinity produces the best program performance for all these phases. If we consider the case of OpenMP, applications may have multiple parallel regions, each with a distinct inter-thread data sharing pattern. In this paper, we propose an approach that allows to change thread affinity dynamically (thread migrations) between parallel regions at runtime to account for these distinct inter-thread data sharing patterns. We demonstrate that as far as cache sharing is concerned for SPEC OMP01, not all the tested OpenMP applications exhibit a distinct phase behavior. However, we show that while fixing thread affinity for the whole execution may improve performance by up to 30%, allowing dynamic thread pinning may improve performance by up to 40%. Furthermore, we provide an analysis about the required conditions to improve the effectiveness of the approach
Type de document :
Communication dans un congrès
Wolf, Felix and Mohr, Bernd and an Mey, Dieter. The Euro-Par 2013 conference, Aug 2013, Aachen, Germany. Springer, 8097, pp.53-64, 2013, Lecture Notes in Computer Science. <10.1007/978-3-642-40047-6_8>
Liste complète des métadonnées

https://hal.archives-ouvertes.fr/hal-00847482
Contributeur : Abdelhafid Mazouz <>
Soumis le : mardi 23 juillet 2013 - 16:20:56
Dernière modification le : jeudi 9 février 2017 - 15:40:34

Fichier

MainEuroPar2013.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

Abdelhafid Mazouz, Sid Touati, Denis Barthou. Dynamic Thread Pinning for Phase-Based OpenMP Programs. Wolf, Felix and Mohr, Bernd and an Mey, Dieter. The Euro-Par 2013 conference, Aug 2013, Aachen, Germany. Springer, 8097, pp.53-64, 2013, Lecture Notes in Computer Science. <10.1007/978-3-642-40047-6_8>. <hal-00847482>

Partager

Métriques

Consultations de
la notice

356

Téléchargements du document

146