[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3534879.3534887acmotherconferencesArticle/Chapter ViewAbstractPublication PagesrtnsConference Proceedingsconference-collections
research-article

Simulation intervals for uniprocessor real-time schedulers with preemption delay

Published: 07 June 2022 Publication History

Abstract

In the framework of embedded and time-critical systems we consider the scheduling of preemptive real-time periodic tasks upon uniprocessor. We consider the notion of simulation interval, a finite time interval such that the schedule starts to repeat in a cycle. The interest is to design a time interval which includes all possible (reachable) schedule states. Our study focuses on a model where preemption costs are explicitly considered, i.e., the time required by the real-time operating system (rtos) or the hardware to load the context of execution of preempted jobs. We present and prove correct a simulation interval for asynchronous arbitrary deadline tasks with preemption delays and that holds for any deterministic and memoryless scheduler upon uniprocessor. This first contribution is valid for all schedulers one can imagine (but deterministic and memoryless), including non-preemptive schedulers, not work-conserving, not necessarily popular “real-time” ones. We then consider a particular case, regarding the preemption delays, for edf scheduling for which we extend the work of Leung and Merrill [24] showing that [0, Omax  + 2 · H) is a simulation interval (significantly shorter than the general result). We also show that [0, Sn + H) from [16] remains a simulation interval for fixed task priority (ftp) schedulers. Before concluding we open a discussion on the scope of the results, paths for reducing pessimism as well as other potential results opened by this work.

References

[1]
Sebastian Altmeyer, Robert I Davis, and Claire Maiza. 2012. Improved cache related pre-emption delay aware response time analysis for fixed priority pre-emptive systems. Real-Time Systems 48, 5 (2012), 499–526.
[2]
N. C. Audsley. 1991. Optimal Priority Assignment and Feasibility of Static Priority Tasks With Arbitrary Start Times. Technical Report YCS-164. Department of Computer Science, University of York.
[3]
Benjamin Bado, Laurent George, Pierre Courbin, and Joël Goossens. 2012. A semi-partitioned approach for parallel real-time scheduling, In 20th International Conference on Real-Time and Network Systems. ACM International Conference Proceeding Series, 151–160. https://doi.org/10.1145/2392987.2393006
[4]
Julie Baro, Frédéric Boniol, Mikel Cordovilla, Eric Noulard, and Claire Pagetti. 2012. Off-Line (Optimal) Multiprocessor Scheduling of Dependent Periodic Tasks. In Proceedings of the 27th Annual ACM Symposium on Applied Computing (Trento, Italy) (SAC ’12). Association for Computing Machinery, New York, NY, USA, 1815–1820. https://doi.org/10.1145/2245276.2232071
[5]
Sanjoy Baruah. 2005. The limited-preemption uniprocessor scheduling of sporadic task systems. In 17th Euromicro Conference on Real-Time Systems (ECRTS’05). 137–144. https://doi.org/10.1109/ECRTS.2005.32
[6]
Bernard Berthomieu, P-O Ribet, and François Vernadat. 2004. The tool TINA–construction of abstract state spaces for Petri nets and time Petri nets. International journal of production research 42, 14 (2004), 2741–2756.
[7]
F. Bimbard. 2007. Dimensionnement temporel de systèmes embarqués : application à OSEK. Ph. D. Dissertation.
[8]
Alan Burns. 1994. Preemptive Priority Based Scheduling: An Appropriate Engineering Approach. In Principles of Real-Time Systems. Prentice Hall, 225–248.
[9]
Alan Burns and Sanjoy Baruah. 2008. Sustainability in real-time scheduling. Journal of Computing Science and Engineering 2, 1(2008), 74–97.
[10]
A. Burns, K. Tindell, and A.J. Wellings. 1994. Fixed priority scheduling with deadlines prior to completion. In Proceedings Sixth Euromicro Workshop on Real-Time Systems. 138–142. https://doi.org/10.1109/EMWRTS.1994.336852
[11]
J.V. Busquets-Mataix, J.J. Serrano, R. Ors, P. Gil, and A. Wellings. 1996. Adding instruction cache effect to schedulability analysis of preemptive real-time systems. In Proceedings Real-Time Technology and Applications. 204–212. https://doi.org/10.1109/RTTAS.1996.509537
[12]
Annie Choquet-Geniet and Emmanuel Grolleau. 2004. Minimal Schedulability Interval for Real Time Systems of Periodic Tasks with Offsets. Theoretical Computer Science 310, 1-3 (2004), 117–134. https://doi.org/10.1016/S0304-3975(03)00362-1
[13]
Liliana Cucu and Joël Goossens. 2006. Feasibility Intervals for Fixed-Priority Real-Time Scheduling on Uniform Multiprocessors. In 2006 IEEE Conference on Emerging Technologies and Factory Automation. IEEE, 397–404. https://doi.org/10.1109/ETFA.2006.355388
[14]
Liliana Cucu and Joël Goossens. 2007. Feasibility Intervals for Multiprocessor Fixed-Priority Scheduling of Arbitrary Deadline Periodic Systems. In 2007 Design, Automation Test in Europe Conference Exhibition. 1–6. https://doi.org/10.1109/DATE.2007.364536
[15]
Liliana Cucu-Grosjean and Joël Goossens. 2011. Exact Schedulability Tests for Real-Time Scheduling of Periodic Tasks on Unrelated Multiprocessor Platforms. Journal of Systems Architecture 57 (05 2011). https://doi.org/10.1016/j.sysarc.2011.02.007
[16]
J. Goossens and R. Devillers. 1997. The Non-Optimality of the Monotonic Priority Assignments for Hard Real-Time Offset Free Systems. Real-Time Syst. 13, 2 (sep 1997), 107–126. https://doi.org/10.1023/A:1007980022314
[17]
J. Goossens and R. Devillers. 1999. Feasibility intervals for the deadline driven scheduler with arbitrary deadlines. In Proceedings Sixth International Conference on Real-Time Computing Systems and Applications. RTCSA’99 (Cat. No.PR00306). IEEE, 54–61. https://doi.org/10.1109/RTCSA.1999.811193
[18]
Joël Goossens, Emmanuel Grolleau, and Liliana Cucu-Grosjean. 2016. Periodicity of real-time schedules for dependent periodic tasks on identical multiprocessor platforms. Real-time systems 52, 6 (2016), 808–832.
[19]
Pierre-Emmanuel Hladik. 2018. A brute-force schedulability analysis for formal model under logical execution time assumption. In Proceedings of the 33rd Annual ACM Symposium on Applied Computing. ACM, 609–615.
[20]
Daniel I. Katcher, Hiroshi Arakawa, and Jay K. Strosnider. 1993. Engineering and analysis of fixed priority schedulers. IEEE transactions on Software Engineering 19, 9 (1993), 920–934.
[21]
Joumana Lagha, Jean-Luc Béchennec, Sébastien Faucou, and Olivier-H Roux. 2020. Toward an Exact Simulation Interval for Multiprocessor Real-Time Systems Validation. In VALID 2020, The Twelfth International Conference on Advances in System Testing and Validation Lifecycle(VALID2020 TheTwelfth International Conference on Advances in System Testing andValidation Lifecycle). IARIA, Lisbon, Portugal. https://hal-cnrs.archives-ouvertes.fr/hal-03006791
[22]
Chang-Gun Lee, Hoosun Hahn, Yang-Min Seo, Sang Lyul Min, Rhan Ha, Seongsoo Hong, Chang Yun Park, Minsuk Lee, and Chong Sang Kim. 1998. Analysis of cache-related preemption delay in fixed-priority preemptive scheduling. IEEE Trans. Comput. 47, 6 (1998), 700–713. https://doi.org/10.1109/12.689649
[23]
J. P. Lehoczky. 1990. Fixed Priority Scheduling of Periodic Task Sets with Arbitrary Deadlines. In Proceedings of the Real-Time Systems Symposium. Lake Buena Vista, Florida, USA, 201–213.
[24]
Joseph Y-T Leung and M.L. Merrill. 1980. A note on preemptive scheduling of periodic, real-time tasks. Information processing letters 11, 3 (1980), 115–118.
[25]
Joseph Y.-T. Leung and Jennifer Whitehead. 1982. On the complexity of fixed-priority scheduling of periodic, real-time tasks. Performance Evaluation 2, 4 (1982), 237–250. https://doi.org/10.1016/0166-5316(82)90024-4
[26]
Chung Laung Liu and James W Layland. 1973. Scheduling algorithms for multiprogramming in a hard-real-time environment. J. ACM 20, 1 (1973), 46–61.
[27]
Will Lunniss, Sebastian Altmeyer, Claire Maiza, and Robert I Davis. 2013. Integrating cache related pre-emption delay analysis into edf scheduling. In 2013 IEEE 19th Real-Time and Embedded Technology and Applications Symposium (RTAS). IEEE, 75–84.
[28]
Mitra Nasri, Robert I Davis, and Björn B Brandenburg. 2018. FIFO with offsets: High schedulability with low overheads. In IEEE Real-Time and Embedded Technology and Applications Symposium. IEEE, 271–282.
[29]
Vincent Nélis, Patrick Meumeu Yomsi, and Joël Goossens. 2013. Feasibility intervals for homogeneous multicores, asynchronous periodic tasks, and FJP schedulers. In 21st International Conference on Real-Time Networks and Systems, RTNS 2013, Sophia Antipolis, France, October 17-18, 2013, Michel Auguin, Robert de Simone, Robert I. Davis, and Emmanuel Grolleau (Eds.). ACM, 277–286. https://doi.org/10.1145/2516821.2516848
[30]
Guillaume Phavorin, Pascal Richard, Joël Goossens, Thomas Chapeaux, and Claire Maiza. 2015. Scheduling with preemption delays: anomalies and issues. In International Conference on Real-Time and Networks Systems. ACM, 109–118.
[31]
Frank Singhoff. 2008. About Real Time Scheduling Analysis of Ada Applications. In Tutorial presented in the 13th International Conference on Reliable Software Technologies, Ada-Europe.
[32]
Frank Singhoff, Jerome Legrand, L Nana Tchamnda, and L Marcé. 2004. Cheddar: a flexible real time scheduling framework. ACM Ada Letters journal, 24 (4): 1-8. In Also published in the proceedings of the International ACM SIGAda Conference, Atlanta, USA.
[33]
Jan Staschulat and Rolf Ernst. 2005. Scalable precision cache analysis for preemptive scheduling. In Proceedings of the 2005 ACM SIGPLAN/SIGBED conference on Languages, compilers, and tools for embedded systems. 157–165.
[34]
H. Tomiyama and N.D. Dutt. 2000. Program path analysis to bound cache-related preemption delay in preemptive real-time systems. In Proceedings of the Eighth International Workshop on Hardware/Software Codesign. CODES 2000 (IEEE Cat. No.00TH8518). 67–71.
[35]
Hai Nam Tran, Stéphane Rubini, Jalil Boukhobza, and Frank Singhoff. 2021. Feasibility interval and sustainable scheduling simulation with CRPD on uniprocessor platform. Journal of Systems Architecture 115 (2021), 102007. https://doi.org/10.1016/j.sysarc.2021.102007
[36]
Yun Wang and M. Saksena. 1999. Scheduling fixed-priority tasks with preemption threshold. In Proceedings Sixth International Conference on Real-Time Computing Systems and Applications. RTCSA’99 (Cat. No.PR00306). 328–335. https://doi.org/10.1109/RTCSA.1999.811269
[37]
Jia Xu and David Lorge Parnas. 2000. Priority scheduling versus pre-run-time scheduling. Real-time systems 18, 1 (2000), 7–23.
[38]
Patrick Meumeu Yomsi and Yves Sorel. 2007. Extending rate monotonic analysis with exact cost of preemptions for hard real-time systems. In Euromicro Conference on Real-Time Systems. IEEE, 280–290.

Cited By

View all
  • (2024)Robust Schedulability Tests for Fixed Job Priorities: Addressing Context Switch Costs with Non-Resumable DelaysProceedings of the 32nd International Conference on Real-Time Networks and Systems10.1145/3696355.3699697(290-301)Online publication date: 6-Nov-2024

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
RTNS '22: Proceedings of the 30th International Conference on Real-Time Networks and Systems
June 2022
241 pages
ISBN:9781450396509
DOI:10.1145/3534879
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 ACM 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: 07 June 2022

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Scheduling theory
  2. preemption delay
  3. uniprocessor

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

RTNS 2022

Acceptance Rates

Overall Acceptance Rate 119 of 255 submissions, 47%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)9
  • Downloads (Last 6 weeks)0
Reflects downloads up to 05 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Robust Schedulability Tests for Fixed Job Priorities: Addressing Context Switch Costs with Non-Resumable DelaysProceedings of the 32nd International Conference on Real-Time Networks and Systems10.1145/3696355.3699697(290-301)Online publication date: 6-Nov-2024

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