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

被引:2
|
作者
Jiang, Xu [1 ]
Chen, Zewei [2 ]
Yang, Maolin [2 ]
Guan, Nan [3 ]
Tang, Yue [1 ]
Wang, Yi [1 ]
机构
[1] Northeastern Univ, Shenyang 110819, Liaoning, Peoples R China
[2] Univ Elect Sci & Technol China, Chengdu 610056, Sichuan, Peoples R China
[3] City Univ Hong Kong, Hong Kong, Peoples R China
基金
中国国家自然科学基金;
关键词
Task analysis; Real-time systems; Analytical models; Protocols; Spinning; Time factors; Delays; Real-time scheduling; spin locks; parallel tasks; fixed priority; TIME; SYNCHRONIZATION;
D O I
10.1109/TC.2022.3198634
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:15 / 28
页数:14
相关论文
共 50 条
  • [1] Blocking analysis of suspension-based protocols for parallel real-time tasks under global fixed-priority scheduling
    Chen, Zewei
    Lei, Hang
    Yang, Maolin
    Liao, Yong
    Qiao, Lei
    JOURNAL OF SYSTEMS ARCHITECTURE, 2021, 117
  • [2] Blocking Analysis for Spin Locks in Real-Time Parallel Tasks
    Son Dinh
    Li, Jing
    Agrawal, Kunal
    Gill, Chris
    Lu, Chenyang
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2018, 29 (04) : 789 - 802
  • [3] Locking Protocols for Parallel Real-Time Tasks With Semaphores Under Federated Scheduling
    Wang, Yang
    Jiang, Xu
    Guan, Nan
    Tang, Yue
    Liu, Weichen
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2022, 41 (09) : 2877 - 2890
  • [4] A Finer-Grained Blocking Analysis for Parallel Real-Time Tasks with Spin-Locks
    Chen, Zewei
    Lei, Hang
    Yang, Maolin
    Liao, Yong
    Qiao, Lei
    2021 58TH ACM/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2021, : 1177 - 1182
  • [5] Schedulability analysis of DAG tasks with arbitrary deadlines under global fixed-priority scheduling
    José Fonseca
    Geoffrey Nelissen
    Vincent Nélis
    Real-Time Systems, 2019, 55 : 387 - 432
  • [6] Schedulability analysis of DAG tasks with arbitrary deadlines under global fixed-priority scheduling
    Fonseca, Jose
    Nelissen, Geoffrey
    Nelis, Vincent
    REAL-TIME SYSTEMS, 2019, 55 (02) : 387 - 432
  • [7] Design and Blocking Analysis of Locking Protocols for Real-Time DAG Tasks Under Federated Scheduling
    Wang, Yang
    Li, Yu
    Peng, Xuemei
    Ji, Dong
    Guan, Nan
    Wang, Yi
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2023, 42 (11) : 3720 - 3732
  • [8] On the Analysis of Parallel Real-Time Tasks With Spin Locks
    Jiang, Xu
    Guan, Nan
    Du, He
    Liu, Weichen
    Yi, Wang
    IEEE TRANSACTIONS ON COMPUTERS, 2021, 70 (02) : 199 - 211
  • [9] On Spin Locks in AUTOSAR: Blocking Analysis of FIFO, Unordered, and Priority-Ordered Spin Locks
    Wieder, Alexander
    Brandenburg, Bjoern B.
    IEEE 34TH REAL-TIME SYSTEMS SYMPOSIUM (RTSS 2013), 2013, : 45 - 56
  • [10] Priority Assignment for Global Fixed Priority Scheduling on Multiprocessors
    Deng, Xuanliang
    Raja, Shriram
    Zhao, Yecheng
    Zeng, Haibo
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2024, 43 (09) : 2538 - 2550