Skip to main navigation Skip to search Skip to main content

False sharing detection in OpenMP applications using OMPT API

  • University of Houston

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

Abstract

Writing a parallel shared memory application that scales well on the future multi-core processors is a challenging task. The contention among shared resources increases as the number of threads increases. This may cause a false sharing problem, which can degrade the performance of an application. OpenMP Tools (OMPT) [2]- a performance tool APIs for OpenMP- enables performance tools to gather useful performance related information from OpenMP applications with lower overhead. In this paper, we propose a light-weight false sharing detection technique for OpenMP programming model using OMPT. We show that the OMPT framework has the ability to detect unique patterns that can be used to build a quality detection model for false sharing in OpenMP programs. In this work, we treat the false sharing detection problem as a binary classification problem. We develop a set of OpenMP programs in which false sharing can be turned on and off. We run these programs both with and without false sharing and collect a set of hardware performance event counts using OMPT. We use the collected data to train a binary classifier. We test the trained classifier using the NAS Parallel Benchmark applications. Our experiments show that the trained classifier can detect false sharing cases with an average accuracy of around 90 %.

Original languageEnglish
Title of host publicationOpenMP
Subtitle of host publicationHeterogenous Execution and Data Movements - 11th International Workshop on OpenMP, IWOMP 2015, Proceedings
EditorsChristian Terboven, Pablo Reble, Matthias S. Müller, Barbara M. Chapman, Bronis R. de Supinski
PublisherSpringer Verlag
Pages102-114
Number of pages13
ISBN (Print)9783319245942
DOIs
StatePublished - 2015
Event11th International Workshop on OpenMP, IWOMP 2015 - Aachen, Germany
Duration: Oct 1 2015Oct 2 2015

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume9342
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference11th International Workshop on OpenMP, IWOMP 2015
Country/TerritoryGermany
CityAachen
Period10/1/1510/2/15

Keywords

  • False sharing
  • Machine learning
  • OpenMP
  • OpenMP Tools API
  • Performance events

Fingerprint

Dive into the research topics of 'False sharing detection in OpenMP applications using OMPT API'. Together they form a unique fingerprint.

Cite this