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 条
  • [21] Schedulability analysis for 3-phase tasks with partitioned fixed-priority scheduling
    Arora, Jatin
    Maia, Claudio
    Rashid, Syed Aftab
    Nelissen, Geoffrey
    Tovar, Eduardo
    JOURNAL OF SYSTEMS ARCHITECTURE, 2022, 131
  • [23] Schedulability analysis for linear transactions under fixed priority hybrid scheduling
    Gao, Zhi-gang
    Wu, Zhao-hui
    JOURNAL OF ZHEJIANG UNIVERSITY-SCIENCE A, 2008, 9 (06): : 776 - 785
  • [24] Schedulability analysis for linear transactions under fixed priority hybrid scheduling
    Zhi-gang Gao
    Zhao-hui Wu
    Journal of Zhejiang University-SCIENCE A, 2008, 9 : 776 - 785
  • [25] Speeding Up the Schedulability Analysis and Priority Assignment of Sporadic Tasks Under Uniprocessor FPNS
    Zhang, Weizhe
    Bai, Enci
    Li, Jing
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2020, 16 (10) : 6382 - 6392
  • [26] Response Time Analysis and Optimal Priority Assignment for Global Non-Preemptive Fixed-Priority Rigid Gang Scheduling
    Sun, Binqi
    Kloda, Tomasz
    Chen, Jiyang
    Lu, Cen
    Caccamo, Marco
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2025, 36 (03) : 455 - 470
  • [27] Excluding Parallel Execution to Improve Global Fixed Priority Response Time Analysis
    Zhou, Quan
    Li, Jianjun
    Li, Guohui
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2021, 20 (05)
  • [28] Response-Time Analysis for Non-Preemptive Global Scheduling with FIFO Spin Locks
    Nogd, Suhail
    Nelissen, Geoffrey
    Nasri, Mitra
    Brandenburg, Bjoern B.
    2020 IEEE 41ST REAL-TIME SYSTEMS SYMPOSIUM (RTSS), 2020, : 115 - 127
  • [29] Utilization-Tensity Bound for Real-Time DAG Tasks under Global EDF Scheduling
    Jiang, Xu
    Sun, Jinghao
    Tang, Yue
    Guan, Nan
    IEEE TRANSACTIONS ON COMPUTERS, 2020, 69 (01) : 39 - 50
  • [30] Tardiness Bounds for Sporadic Gang Tasks Under Preemptive Global EDF Scheduling
    Dong, Zheng
    Yang, Kecheng
    Fisher, Nathan
    Liu, Cong
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2021, 32 (12) : 2867 - 2879