Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/513829.513866acmconferencesArticle/Chapter ViewAbstractPublication PagescpsweekConference Proceedingsconference-collections
Article

Perfecting preemption threshold scheduling for object-oriented real-time system design: from the perspective of real-time synchronization

Published: 19 June 2002 Publication History

Abstract

In spite of the proliferation of object-oriented design methodologies in contemporary software development, their application to real-time embedded systems has been limited because of the practitioner's conservative attitude toward handling timing constraints. In fact, this conservative attitude is well-grounded because traditional priority-based scheduling techniques cannot be straightforwardly integrated into them. The automated implementation from the object-oriented real-time designs usually incurs a large number of tasks which, under traditional priority-based scheduling techniques, does not scale well due to excessive preemption overheads. Recently, preemption threshold scheduling was introduced to reduce run-time multi-tasking overhead while improving schedulability by exploiting non-preemptibility as much as possible. Unfortunately, the preemption threshold scheduling cannot be directly adopted into the object-oriented design methods due to the lack of real-time synchronization.In this paper, we present the essential basis of real-time synchronization for preemption threshold scheduling. Specifically, we integrate the priority inheritance protocol, the priority ceiling protocol, and the immediate inheritance protocol into preemption threshold scheduling. We also provide their schedulability analyses. Consequently, the integrated scheme, which minimizes worst-case context switches, is appropriate for the automated implementation of real-time object-oriented design models.

References

[1]
M. Saksena and Y. Wang. Scalable real-time system design using preemption thresholds, In Proceedings of IEEE Real-Time Systems Symposium, pp. 25--34, 2000
[2]
Y. Wang and M. Saksena. Scheduling fixed priority tasks with preemption threshold. In Proceedings of IEEE Real-Time Computing Systems and Applications Symposium, pp. 328--335, 1999
[3]
S. Kim, S. Cho, and S. Hong. Schedulability-aware mapping of real-time object-oriented models to multi-threaded implementations. In Proceedings of International Conference on Real-Time Computing Systems and Applications, pp. 7--14, 2000
[4]
S. Kim, S. Hong, and N. Chang, Scenario-based implementation architecture for real-time object-oriented models, In Proceedings of IEEE International Workshop on Object-oriented Real-time Dependable Systems, 2002
[5]
R. Rajkumar, L. Sha and J. Lehoczky. Priority inheritance protocols: an approach to real-time synchronization. In IEEE Transactions on Software Engineering, vol. 39, pp. 1175--1185, 1990
[6]
M. Chen and K. Lin. Dynamic priority ceilings: A concurrencly control protocol for real-time systems. In Real-Time Systems Journal, vol. 2, pp. 325--346, 1990
[7]
T. P. Baker. A stack-based resource allocation policy for real-time processes. In Proceedings of IEEE Real-Time Systems Symposium, pp. 191--200, 1990
[8]
T. P. Baker. Stack-based scheduling of real-time processes. In Real-Time Systems Journal, vol. 3, num. 1, pp. 67--99,1991
[9]
Institute for Electrical and Electronic Engineers. In IEEE Std. 1003.1c-1995 POSIX Part 1: System application program interface - amendment 2:threads extension, 1995
[10]
K. Tindell, A. Burns, and A. Wellings. An extendible approach for analyzing fixed priority hard real-time tasks. In Real-Time Systems Journal, vol. 6, pp. 133--151, 1994
[11]
C. Liu and J. Layland, Scheduling algorithm for multiprogramming in a hard real-time environment. In Journal of the ACM, vol. 20(1), pp. 46--61, Jan. 1973
[12]
W. Lamie, Preemption-Threshold, White Paper, Express Logic Inc., Available at http://www.threadx.com/wppreemption.html
[13]
M. Harbour, M. Klein, and J. Lehoczky, Fixed Priority Scheduling of Periodic Tasks with Varying Execution Priority, In Proceedings of IEEE Real-Time Systems Symposium, pp. 116--128, Dec. 1991
[14]
J. Lehoczky, L. Sha, and Y. Ding, The Rate Monotonic Scheduling Algorithm: Exact Characterization and Average Case Behavior. In Proceedings of IEEE Real-Time Systems Symposium, pp. 166--171, Dec. 1989
[15]
M. Saksena, P. Freeman, and P. Rodziewicz, Guidelines for Automated Implementation of Executable Object Oriented Models for Real-Time Embedded Control Systems, In Proceedings of IEEE Real-Time Systems Symposium, pp. 240--251, Dec. 1997
[16]
M. Saksena, A. Ptak, P. Freeman, and P. Rodziewicz, Schedulability Analysis for Automated Implementations of Real-Time Object-Oriented Models, In Proceedings of IEEE Real-Time Systems Symposium, pp. 92--102, Dec. 1998
[17]
H. Gomma, Software Design Methods for Concurrent and Real-Time Systems, Addison-Wesley, 1993
[18]
B. Selic, G. Gullekson, and P. T. Ward, Real-Time Object-Oriented Modeling. John Wesley and Sons, 1994
[19]
Rational Software, http://www.rational.com

Cited By

View all

Index Terms

  1. Perfecting preemption threshold scheduling for object-oriented real-time system design: from the perspective of real-time synchronization

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
LCTES/SCOPES '02: Proceedings of the joint conference on Languages, compilers and tools for embedded systems: software and compilers for embedded systems
June 2002
244 pages
ISBN:1581135270
DOI:10.1145/513829
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 19 June 2002

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. object-oriented real-time system design
  2. preemption threshold scheduling
  3. priority ceiling protocol
  4. priority inheritance protocols
  5. real-time synchronization

Qualifiers

  • Article

Conference

LCTES/SCOPES02
Sponsor:

Acceptance Rates

LCTES/SCOPES '02 Paper Acceptance Rate 25 of 73 submissions, 34%;
Overall Acceptance Rate 116 of 438 submissions, 26%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 30 Aug 2024

Other Metrics

Citations

Cited By

View all
  • (2017)Real-time uniprocessor scheduling with fewer preemptionsComputing10.1007/s00607-017-0562-999:12(1257-1270)Online publication date: 1-Dec-2017
  • (2007)Preemption Threshold SchedulingProceedings of the 13th IEEE Real Time and Embedded Technology and Applications Symposium10.1109/RTAS.2007.27(147-157)Online publication date: 3-Apr-2007
  • (2006)Activation-Adjusted Scheduling Algorithms for Real-Times SystemsAdvances in Systems, Computing Sciences and Software Engineering10.1007/1-4020-5263-4_66(425-432)Online publication date: 2006
  • (2004)Reducing the number of preemptions in fixed priority schedulingProceedings. 16th Euromicro Conference on Real-Time Systems, 2004. ECRTS 2004.10.1109/EMRTS.2004.1311016(144-152)Online publication date: 2004
  • (2003)Tool Set Implementation for Scenario-based Multithreading of UML-RT Models and Experimental ValidationProceedings of the The 9th IEEE Real-Time and Embedded Technology and Applications Symposium10.5555/827266.828531Online publication date: 27-May-2003
  • (2003)Tool set implementation for scenario-based multithreading of uml-rt models and experimental validationThe 9th IEEE Real-Time and Embedded Technology and Applications Symposium, 2003. Proceedings.10.1109/RTTAS.2003.1203038(70-77)Online publication date: 2003
  • (2019)Synthesizing Multithreaded Code from Real-Time Object-Oriented Models via Schedulability-Aware Thread DerivationIEEE Transactions on Software Engineering10.1109/TSE.2013.4740:4(413-426)Online publication date: 1-Jan-2019
  • (2009)Research on run-time overhead of RM and improvementFrontiers of Electrical and Electronic Engineering in China10.1007/s11460-009-0042-x4:2(186-192)Online publication date: 6-Mar-2009
  • (2006)Avoiding Unbounded Priority Inversion by Integrating Task Inheritance and Classification into Preemption Threshold Scheduling2006 1st International Symposium on Systems and Control in Aerospace and Astronautics10.1109/ISSCAA.2006.1627407(593-596)Online publication date: 2006

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media