Schedulability Analysis of Non-preemptive Sporadic Gang Tasks on Hardware Accelerators

被引:2
|
作者
Sun, Binqi [1 ]
Kloda, Tomasz [2 ]
Chen, Jiyang [1 ]
Lu, Cen [1 ]
Caccamo, Marco [1 ]
机构
[1] Tech Univ Munich, Munich, Germany
[2] Univ Toulouse, CNRS, INSA, LAAS, Toulouse, France
来源
2023 IEEE 29TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM, RTAS | 2023年
关键词
Response Time Analysis; Non-preemptive; Gang Scheduling; Tensor Processing Unit; PRIORITY ASSIGNMENT; TIME; PERFORMANCE; PROGRESS;
D O I
10.1109/RTAS58335.2023.00019
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Non-preemptive rigid gang scheduling combines the performance benefits of parallel execution with the low overhead of non-preemptive scheduling and rigid task programming model. This approach appears particularly well-suited for parallel hardware accelerators where the context switch and migration overheads are critical and should be avoided. One of the most notable examples today is Google's Edge Tensor Processing Unit (TPU) used for neural network inference on embedded boards. The paper studies sporadic non-preemptive rigid gang scheduling applied to multi-TPU edge AI accelerators. Each gang task spawns a fixed number of threads that must execute simultaneously on distinct processing units. We consider non-preemptive fixed-priority gang (NP-FP-Gang) scheduling and propose the first carry-in limitation for gang task response time analysis. The gang task carry-in limitation differs from conventional sequential tasks due to the intra-task parallelism. We formulate it as a generalized knapsack problem and develop a linear programming relaxation and a dynamic programming approach to solve the problem under different time complexities. The performance of the proposed schedulability analysis is evaluated through randomly generated synthetic task sets and a case study using neural network benchmarks executed on commercial off-the-shelf multi-TPU edge AI accelerators. The evaluation results show that the proposed response time analysis effectively improves the state-of-the-art NP-FP-Gang schedulability test even by 85.7% for the Edge TPU benchmarks in particular.
引用
收藏
页码:147 / 160
页数:14
相关论文
共 21 条
  • [1] Efficient SAT encoding scheme for schedulability analysis of non-preemptive tasks on multiple computational resources
    Mayank, Jaishree
    Mondal, Arijit
    JOURNAL OF SYSTEMS ARCHITECTURE, 2020, 110
  • [2] Schedulability using native non-preemptive groups on an AUTOSAR/OSEK platform with caches
    Hatvani, Leo
    Bril, Reinder J.
    Altmeyer, Sebastian
    PROCEEDINGS OF THE 2017 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2017, : 244 - 249
  • [3] 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
  • [4] Polynomial Time Schedulability Test for Periodic Non-Preemptive 2-Task System
    Mayank, Jaishree
    Mondal, Arijit
    INFORMATION PROCESSING LETTERS, 2020, 154
  • [5] Non-preemptive Multiprocessor Scheduling for Periodic Real-Time Tasks
    Mayank, Jaishree
    Mondal, Arijit
    2017 7TH INTERNATIONAL SYMPOSIUM ON EMBEDDED COMPUTING AND SYSTEM DESIGN (ISED), 2017,
  • [6] Scheduling of Non-preemptive Strictly Periodic Tasks in Multi-Core Systems
    Zheng, Hongliang
    He, Yuanju
    Zhou, Lingyu
    Chen, Yiou
    Ling, Xiang
    CONFERENCE PROCEEDINGS OF 2017 INTERNATIONAL CONFERENCE ON CIRCUITS, DEVICES AND SYSTEMS (ICCDS), 2017, : 195 - 200
  • [7] Non-preemptive fixed priority scheduling of hard real-time periodic tasks
    Park, Moonju
    COMPUTATIONAL SCIENCE - ICCS 2007, PT 4, PROCEEDINGS, 2007, 4490 : 881 - 888
  • [8] Performance Analysis of Non-Preemptive Priority with Application to Cloud E-marketplaces
    Akingbesote, A. O.
    Adigun, M. O.
    Xulu, S. S.
    Sanjay, M.
    Ajayi, I. R.
    PROCEEDINGS OF THE 2014 IEEE 6TH INTERNATIONAL CONFERENCE ON ADAPTIVE SCIENCE AND TECHNOLOGY (ICAST 2014), 2014,
  • [9] Energy Optimized Non-preemptive Scheduling of Real-Time Tasks with Precedence and Reliability Constraints
    Kumar, Niraj
    Mondal, Arijit
    2022 35TH INTERNATIONAL CONFERENCE ON VLSI DESIGN (VLSID 2022) HELD CONCURRENTLY WITH 2022 21ST INTERNATIONAL CONFERENCE ON EMBEDDED SYSTEMS (ES 2022), 2022, : 62 - 67
  • [10] Adaptive EDF non-preemptive scheduling for periodic tasks in the hard real-time systems
    Oh, H
    COMPUTERS AND THEIR APPLICATIONS, 2000, : 361 - 367