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 条
  • [31] Integration of Preemption Threshold and Quantum-Based Scheduling for Schedulability Enhancement of Fixed Priority Tasks
    Park, Moonju
    Yoo, Hong Jin
    Chae, Jinseok
    2009 15TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS, PROCEEDINGS, 2009, : 503 - 510
  • [32] An Exact Schedulability Analysis for Global Fixed-Priority Scheduling of the AER Task Model
    Thilakasiri, Thilanka
    Becker, Matthias
    2023 28TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE, ASP-DAC, 2023, : 326 - 332
  • [33] Global Fixed Priority Scheduling with Preemption Threshold: Schedulability Analysis and Stack Size Minimization
    Wang, Chao
    Gu, Zonghua
    Zeng, Haibo
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2016, 27 (11) : 3242 - 3255
  • [34] Global and Partitioned Multiprocessor Fixed Priority Scheduling with Deferred Preemption
    Davis, Robert I.
    Burns, Alan
    Marinho, Jose
    Nelis, Vincent
    Petters, Stefan M.
    Bertogna, Marko
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2015, 14 (03)
  • [35] Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption
    Reinder J. Bril
    Johan J. Lukkien
    Wim F. J. Verhaegh
    Real-Time Systems, 2009, 42 : 63 - 119
  • [36] Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption
    Bril, Reinder J.
    Lukkien, Johan J.
    Verhaegh, Wim F. J.
    REAL-TIME SYSTEMS, 2009, 42 (1-3) : 63 - 119
  • [37] A pre-order relation for exact schedulability test of sporadic tasks on multiprocessor Global Fixed-Priority scheduling
    Sun, Youcheng
    Lipari, Giuseppe
    REAL-TIME SYSTEMS, 2016, 52 (03) : 323 - 355
  • [38] A pre-order relation for exact schedulability test of sporadic tasks on multiprocessor Global Fixed-Priority scheduling
    Youcheng Sun
    Giuseppe Lipari
    Real-Time Systems, 2016, 52 : 323 - 355
  • [39] Fixed priority scheduling of tasks with arbitrary precedence constraints in distributed hard real-time systems
    de Oliveira, RS
    Fraga, JD
    JOURNAL OF SYSTEMS ARCHITECTURE, 2000, 46 (11) : 991 - 1004
  • [40] Schedulability Analysis on Generalized Quantum-Based Fixed Priority Scheduling
    Park, Moonju
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2009, E92D (02): : 332 - 335