Dynamic Thread Pinning for Phase-Based OpenMP Programs - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Dynamic Thread Pinning for Phase-Based OpenMP Programs

Résumé

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
Fichier principal
Vignette du fichier
MainEuroPar2013.pdf (247.67 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00847482 , version 1 (23-07-2013)

Identifiants

Citer

Abdelhafid Mazouz, Sid Touati, Denis Barthou. Dynamic Thread Pinning for Phase-Based OpenMP Programs. The Euro-Par 2013 conference, Aug 2013, Aachen, Germany. pp.53-64, ⟨10.1007/978-3-642-40047-6_8⟩. ⟨hal-00847482⟩
292 Consultations
389 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More