A Unified Blocking Analysis for Parallel Tasks With Spin Locks Under Global Fixed Priority Scheduling

Xu Jiang, Zewei Chen*, Maolin Yang, Nan Guan, Yue Tang, Yi Wang

*Corresponding author for this work

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

5 Citations (Scopus)

Abstract

Spin locks are widely used in embedded systems to coordinate mutually exclusive accesses to shared resources from different tasks. Although the design and analysis of locking protocols have been intensively studied for sequential real-time tasks, there have been few works on this topic for parallel real-time tasks. In this paper, we study the analysis of parallel real-time tasks modeled by directed acyclic graphs (DAGs) under global fixed priority scheduling using both preemptable and non-preemptable spin locks to protect accesses to shared resources in three commonly used request serving orders (unordered, FIFO-order and priority-order). In particular, we develop a general schedulability analysis framework where the blocking time caused by resource contention is formally defined, so that the blocking analysis can be performed independently and easy to combine with the traditional interference analysis techniques. Moreover, we present a unified blocking analysis technique where the blocking time is analyzed in a scalable manner based on a linear-programming (LP) approach, making our method flexible and extendable. We conduct comprehensive experiments to evaluate our method with other the-state-of-the-art approaches for scheduling real-time parallel tasks using semaphores and spin locks.
Original languageEnglish
Pages (from-to)15-28
Number of pages14
JournalIEEE Transactions on Computers
Volume72
Issue number1
Online published16 Aug 2022
DOIs
Publication statusPublished - Jan 2023

Bibliographical note

Full text of this publication does not contain sufficient affiliation information. With consent from the author(s) concerned, the Research Unit(s) information for this record is based on the existing academic department affiliation of the author(s).

Funding

This work was supported in part by the National Natural Science Foundation of China under Grant NSFC 62102072, and in part by the Research Grants Council of Hong Kong under Grant GRF 15206221

Research Keywords

  • Analytical models
  • Delays
  • Fixed priority
  • parallel tasks
  • Protocols
  • real-time scheduling
  • Real-time systems
  • spin locks
  • Spinning
  • Task analysis
  • Time factors

RGC Funding Information

  • RGC-funded

Fingerprint

Dive into the research topics of 'A Unified Blocking Analysis for Parallel Tasks With Spin Locks Under Global Fixed Priority Scheduling'. Together they form a unique fingerprint.

Cite this