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

Binqi Sun, Tomasz Kloda, Jiyang Chen, Cen Lu, Marco Caccamo

Publikation: Beitrag in Buch/Bericht/KonferenzbandKonferenzbeitragBegutachtung

2 Zitate (Scopus)

Abstract

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.

OriginalspracheEnglisch
TitelProceedings - 29th IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2023
Herausgeber (Verlag)Institute of Electrical and Electronics Engineers Inc.
Seiten147-160
Seitenumfang14
ISBN (elektronisch)9798350321760
DOIs
PublikationsstatusVeröffentlicht - 2023
Veranstaltung29th IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2023 - San Antonio, USA/Vereinigte Staaten
Dauer: 9 Mai 202312 Mai 2023

Publikationsreihe

NameProceedings of the IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS
Band2023-May
ISSN (Print)1545-3421

Konferenz

Konferenz29th IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2023
Land/GebietUSA/Vereinigte Staaten
OrtSan Antonio
Zeitraum9/05/2312/05/23

Fingerprint

Untersuchen Sie die Forschungsthemen von „Schedulability Analysis of Non-preemptive Sporadic Gang Tasks on Hardware Accelerators“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren