Real-Time Scheduling and Analysis of OpenMP Task Systems with Tied Tasks

Jinghao Sun, Nan Guan, Yang Wang, Qingqiang He, Wang Yi

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

48 Scopus citations

Abstract

OpenMP is a promising framework for developing parallel real-time software on multi-cores. Although similar to the DAG task model, OpenMP task systems are significantly more difficult to analyze due to constraints posed by the OpenMP specification. An important feature in OpenMP is tied tasks, which must execute on the same thread during the whole life cycle. Although tied tasks enjoy benefits in simplicity and efficiency, it was considered to be not suitable to real-time systems due to its complex behavior. In this paper, we study the realtime scheduling and analysis of OpenMP task systems with tied tasks. First, we show that under the existing scheduling algorithms in OpenMP, tied tasks indeed may lead to extremely bad timing behaviors where the parallel workload is sequentially executed completely. To solve this problem, we proposed a new scheduling algorithm and developed two response time bounds for it, with different trade-off between simplicity and analysis precision. Experiments with both randomly generated OpenMP task systems and realistic OpenMP programs show that the response time bounds obtained by our approach for tied task systems are very close to that of untied tasks.

Original languageEnglish
Title of host publicationProceedings - 2017 IEEE Real-Time Systems Symposium, RTSS 2017
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages92-103
Number of pages12
ISBN (Electronic)9781538614143
DOIs
StatePublished - 2 Jul 2017
Externally publishedYes
Event38th IEEE Real-Time Systems Symposium, RTSS 2017 - Paris, France
Duration: 5 Oct 20178 Oct 2017

Publication series

NameProceedings - Real-Time Systems Symposium
Volume2018-January
ISSN (Print)1052-8725

Conference

Conference38th IEEE Real-Time Systems Symposium, RTSS 2017
Country/TerritoryFrance
CityParis
Period5/10/178/10/17

Keywords

  • openmp
  • parallel-software
  • real-time-systems
  • response-time-analysis
  • tied-task

Fingerprint

Dive into the research topics of 'Real-Time Scheduling and Analysis of OpenMP Task Systems with Tied Tasks'. Together they form a unique fingerprint.

Cite this