Blocking analysis for spin locks in real-time parallel tasks
Document Type
Article
Publication Date
4-1-2018
Abstract
In recent years, there has been significant interest in developing real-time schedulers for parallel tasks. Most of that research has concentrated on idealized task models where tasks do not access any shared resources protected with locks. In this paper, we consider the problem of scheduling parallel tasks which experience contention due to shared resources. In particular, we provide a schedulability test for federated scheduling by deriving blocking time analyses for parallel tasks that access shared resources protected by FIFO-ordered and priority-ordered spin locks. Our numerical evaluation on randomly generated task sets indicates that priority-ordered locks generally provide better schedulability results than FIFO-ordered locks. We also incorporated both FIFO-ordered and priority-ordered spin lock implementations into a federated scheduling platform, which is able to schedule parallel tasks written with OpenMP. Via empirical evaluations, we found that priority-ordered locks also have better performance than FIFO-ordered locks in practice.
Identifier
85037644605 (Scopus)
Publication Title
IEEE Transactions on Parallel and Distributed Systems
External Full Text Location
https://doi.org/10.1109/TPDS.2017.2777454
ISSN
10459219
First Page
789
Last Page
802
Issue
4
Volume
29
Recommended Citation
Dinh, Son; Li, Jing; Agrawal, Kunal; Gill, Chris; and Lu, Chenyang, "Blocking analysis for spin locks in real-time parallel tasks" (2018). Faculty Publications. 8755.
https://digitalcommons.njit.edu/fac_pubs/8755