Skip to main navigation Skip to search Skip to main content

Adaptive OpenMP task scheduling using runtime APIs and machine learning

  • University of Houston

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

8 Scopus citations

Abstract

Task-based programming models adopt different scheduling strategies to exploit parallelism in irregular applications. These scheduling strategies differ in terms of exploiting data locality, maintaining load balance, and minimizing overhead. OpenMP tasks allow programmers to express unstructured parallelism at a high level of abstraction and make the runtime responsible about the burden of scheduling parallel execution. For irregular applications, the performance of task scheduling cannot often be predicted due to the nature of application, the used compiler, and the platform/architecture dependencies. In this work, we introduce an automatic, portable, and adaptive runtime feedback-driven framework (APARF) that combines standard low-level tasking runtime APIs, a developed profiling tool, and a hybrid machine learning model. We employ APARF to select the optimum task scheduling scheme of any given application using similarity analysis through the correlation between the captured runtime APIs with low profiling costs. Our hybrid model predicts the best scheduling strategy for a variety of unseen applications with an average accuracy of 93%, while maintaining a 100% training accuracy. An average performance enhancement of 25% was obtained compared with the default configuration, when APARF was applied on different unseen programs. APARF was examined against a real application (Molecular Dynamics), where we achieved up to 31% performance improvement. Compared to Intel, PGI and GNU compilers, our predicted scheme achieved better performance in most cases.

Original languageEnglish
Title of host publicationProceedings - 2015 IEEE 14th International Conference on Machine Learning and Applications, ICMLA 2015
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages889-895
Number of pages7
ISBN (Electronic)9781509002870
DOIs
StatePublished - Mar 2 2016
EventIEEE 14th International Conference on Machine Learning and Applications, ICMLA 2015 - Miami, United States
Duration: Dec 9 2015Dec 11 2015

Publication series

NameProceedings - 2015 IEEE 14th International Conference on Machine Learning and Applications, ICMLA 2015

Conference

ConferenceIEEE 14th International Conference on Machine Learning and Applications, ICMLA 2015
Country/TerritoryUnited States
CityMiami
Period12/9/1512/11/15

Keywords

  • Adaptive scheduling
  • Collector APIs
  • Machine learning
  • OMPT
  • OpenMP tasks
  • Similarity analysis

Fingerprint

Dive into the research topics of 'Adaptive OpenMP task scheduling using runtime APIs and machine learning'. Together they form a unique fingerprint.

Cite this