Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3453417.3453419acmotherconferencesArticle/Chapter ViewAbstractPublication PagesrtnsConference Proceedingsconference-collections
research-article

Response Time Analysis of Parallel Real-Time DAG Tasks Scheduled by Thread Pools

Published: 22 July 2021 Publication History

Abstract

Modern high-end embedded systems nowadays have to process enormous amounts of data. In order to speed up the computations and fully exploit the resources of the underlying hardware architectures, software developers can avail parallelism frameworks such as Intel Threading Building Blocks or compiler extensions as OpenMP. They ease the development of parallel applications by providing interfaces for common parallel design patterns and by internally distributing the work among the workers of a thread pool. However, such frameworks and compiler extensions do not yet support the stringent timing requirements of real-time systems and therefore, an adaption of their computation model to the sector of real-time systems needs to be conducted.
In this paper, we address the problem of scheduling parallel real-time directed acyclic graphs tasks on multiprocessor architectures where the subtasks are dispatched among and executed by the workers of a thread pool. In contrast to existing work in the state-of-the-art, we limit the maximum parallelism of real-time tasks not by the number of processors in the system, but by the number of worker threads used in the thread pool of each real-time application. For this model, we derive a worst-case response time analysis for task sets scheduled by a preemptive global fixed-priority scheduler. In order to evaluate the performance of our response time analysis, we further perform schedulability tests on generated task sets and compare the results to existing feasibility analyses in the current state-of-the-art.

Supplementary Material

p173-schmid-supplements (p173-schmid-supplements.zip)
Supplementary materials

References

[1]
AUTOSAR 2019. Specification of Execution Management. AUTOSAR. R19-11.
[2]
P. Axer, S. Quinton, M. Neukirchner, R. Ernst, B. Döbel, and H. Härtig. 2013. Response-Time Analysis of Parallel Fork-Join Workloads with Real-Time Constraints. In 25th Euromicro Conference on Real-Time Systems.
[3]
M. Bertogna and M. Cirinei. 2007. Response-Time Analysis for Globally Scheduled Symmetric Multiprocessor Platforms. In 28th IEEE International Real-Time Systems Symposium.
[4]
M. Bertogna, M. Cirinei, and G. Lipari. 2005. Improved schedulability analysis of EDF on multiprocessor platforms. In 17th Euromicro Conference on Real-Time Systems.
[5]
Enrico Bini and Gorgio C. Buttazzo. 2004. Biasing effects in schedulability measures. In 16th Euromicro Conference on Real-Time Systems. 196–203.
[6]
Daniel Casini, Alessandro Biondi, and Giorgio Buttazzo. 2019. Analyzing Parallel Real-Time Tasks Implemented with Thread Pools. In Proceedings of the 56th Annual Design Automation Conference(DAC ’19). Association for Computing Machinery, 1–6.
[7]
H. S. Chwa, J. Lee, K. Phan, A. Easwaran, and I. Shin. 2013. Global EDF Schedulability Analysis for Synchronous Parallel Tasks on Multicore Platforms. In 25th Euromicro Conference on Real-Time Systems.
[8]
P. Erdös and A. Renyi. 1959. On Random Graphs I.
[9]
J. Fonseca, G. Nelissen, V. Nelis, and L. M. Pinho. 2016. Response time analysis of sporadic DAG tasks under partitioned scheduling. In 2016 11th IEEE Symposium on Industrial Embedded Systems.
[10]
José Fonseca, Geoffrey Nelissen, and Vincent Nélis. 2017. Improved Response Time Analysis of Sporadic DAG Tasks for Global FP Scheduling. In Proceedings of the 25th International Conference on Real-Time Networks and Systems.
[11]
Joël Goossens and Vandy Berten. 2010. Gang FTP Scheduling of Periodic and Parallel Rigid Real-Time Tasks. (Jun 2010).
[12]
X. Jiang, N. Guan, X. Long, and W. Yi. 2017. Semi-Federated Scheduling of Parallel Real-Time Tasks on Multiprocessors. In 2017 IEEE Real-Time Systems Symposium.
[13]
Shinpei Kato and Yutaka Ishikawa. 2009. Gang EDF Scheduling of Parallel Task Systems. In 30th IEEE Real-Time Systems Symposium. IEEE, 459–468.
[14]
K. Lakshmanan, S. Kato, and R. Rajkumar. 2010. Scheduling Parallel Real-Time Tasks on Multi-core Processors. In 31st IEEE Real-Time Systems Symposium.
[15]
Arno Leist and Andrew Gilman. 2014. A Comparative Analysis of Parallel Programming Models for C++.
[16]
Jing Li, Jian Jia Chen, Kunal Agrawal, Chenyang Lu, Chris Gill, and Abusayeed Saifullah. 2014. Analysis of Federated and Global Scheduling for Parallel Real-Time Tasks. In 2014 26th Euromicro Conference on Real-Time Systems. IEEE.
[17]
Cláudio Maia, Marko Bertogna, Luís Nogueira, and Luis Miguel Pinho. 2014. Response-Time Analysis of Synchronous Parallel Tasks in Multiprocessor Systems. In Proceedings of the 22nd International Conference on Real-Time Networks and Systems.
[18]
A. Melani, M. Bertogna, V. Bonifaci, A. Marchetti-Spaccamela, and G. C. Buttazzo. [n.d.]. Response-Time Analysis of Conditional DAG Tasks in Multiprocessor Systems. In 27th Euromicro Conference on Real-Time Systems.
[19]
Panagiotis D. Michailidis and Konstantinos G. Margaritis. 2016. Scientific Computations on Multi-Core Systems Using Different Programming Frameworks. Applied Numerical Mathematics 104 (2016), 62–80.
[20]
Mitra Nasri, Geoffrey Nelissen, and Björn B. Brandenburg. 2019. Response-Time Analysis of Limited-Preemptive Parallel DAG Tasks Under Global Scheduling. In 31st Euromicro Conference on Real-Time Systems.
[21]
Andrea Parri, Alessandro Biondi, and Mauro Marinoni. 2015. Response time analysis for G-EDF and G-DM scheduling of sporadic DAG-tasks with arbitrary deadline. In Proceedings of the 23rd International Conference on Real Time and Networks Systems.
[22]
A. Saifullah, K. Agrawal, C. Lu, and C. Gill. 2011. Multi-core Real-Time Scheduling for Generalized Parallel Task Models. In 32nd IEEE Real-Time Systems Symposium.
[23]
Maria A. Serrano, Alessandra Melani, Marko Bertogna, and Eduardo Quinones. 2016. Response-Time Analysis of DAG Tasks under Fixed Priority Scheduling with Limited Preemptions. In 2016 Design, Automation and Test in Europe Conference and Exhibition.
[24]
Maria A. Serrano, Alessandra Melani, Roberto Vargas, Andrea Marongiu, Marko Bertogna, and Eduardo Quiñones. 2015. Timing Characterization of OpenMP4 Tasking Model. In Proceedings of the 2015 International Conference on Compilers, Architecture and Synthesis for Embedded Systems.
[25]
Ashkan Tousimojarad and Wim Vanderbauwhede. 2014. Comparison of Three Popular Parallel Programming Models on the Intel Xeon Phi. In Euro-Par 2014: Parallel Processing Workshops, Vol. 8806.
[26]
N. Ueter, G. von der Brüggen, J. Chen, J. Li, and K. Agrawal. 2018. Reservation-Based Federated Scheduling for Parallel Real-Time Tasks. In 2018 IEEE Real-Time Systems Symposium.
[27]
Qi Wang and Gabriel Parmer. 2014. FJOS: Practical, predictable, and efficient system support for fork/join parallelism. In 19th IEEE Real-Time and Embedded Technology and Applications Symposium. 25–36.

Cited By

View all
  • (2024)ABSS: An Adaptive Batch-Stream Scheduling Module for Dynamic Task Parallelism on Chiplet-based Multi-Chip SystemsACM Transactions on Parallel Computing10.1145/364359711:1(1-24)Online publication date: 11-Mar-2024
  • (2022)A Theoretical Approach to Determine the Optimal Size of a Thread Pool for Real-Time Systems2022 IEEE Real-Time Systems Symposium (RTSS)10.1109/RTSS55097.2022.00016(66-78)Online publication date: Dec-2022
  • (2022)Fine-grained parallelism framework with predictable work-stealing for real-time multiprocessor systemsJournal of Systems Architecture: the EUROMICRO Journal10.1016/j.sysarc.2022.102393124:COnline publication date: 1-Mar-2022

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
RTNS '21: Proceedings of the 29th International Conference on Real-Time Networks and Systems
April 2021
236 pages
ISBN:9781450390019
DOI:10.1145/3453417
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 July 2021

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. directed acyclic graph
  2. parallel task
  3. real-time
  4. response time analysis
  5. scheduling
  6. thread pool

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

RTNS'2021

Acceptance Rates

Overall Acceptance Rate 119 of 255 submissions, 47%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)16
  • Downloads (Last 6 weeks)1
Reflects downloads up to 24 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)ABSS: An Adaptive Batch-Stream Scheduling Module for Dynamic Task Parallelism on Chiplet-based Multi-Chip SystemsACM Transactions on Parallel Computing10.1145/364359711:1(1-24)Online publication date: 11-Mar-2024
  • (2022)A Theoretical Approach to Determine the Optimal Size of a Thread Pool for Real-Time Systems2022 IEEE Real-Time Systems Symposium (RTSS)10.1109/RTSS55097.2022.00016(66-78)Online publication date: Dec-2022
  • (2022)Fine-grained parallelism framework with predictable work-stealing for real-time multiprocessor systemsJournal of Systems Architecture: the EUROMICRO Journal10.1016/j.sysarc.2022.102393124:COnline publication date: 1-Mar-2022

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media