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

Accounting for Cache Related Pre-emption Delays in Hierarchical Scheduling

Authors Info & Claims
Published:08 October 2014Publication History

ABSTRACT

Hierarchical scheduling provides a means of composing multiple real-time applications onto a single processor such that the temporal requirements of each application are met. This has become a popular technique in industry as it allows applications from multiple vendors as well as legacy applications to co-exist in isolation on the same platform. However, performance enhancing features such as caches mean that one application can interfere with another by evicting blocks from cache that were in use by another application, violating the requirement of temporal isolation. While one solution is to flush the cache after every application context switch, this can potentially lead to a degradation in performance. In this paper, we present analysis that bounds the additional delay due to blocks being evicted from cache by other applications in a system using hierarchical scheduling.

References

  1. Altmeyer, S., Davis, R.I., and Maiza, C. Cache Related Preemption Delay Aware Response Time Analysis for Fixed Priority Pre-emptive Systems. In Proceedings of the 32nd IEEE Real-Time Systems Symposium (RTSS) (Vienna, Austria 2011), 261--271. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Altmeyer, S., Davis, R.I., and Maiza, C. Improved Cache Related Pre-emption Delay Aware Response Time Analysis for Fixed Priority Pre-emptive Systems. Real-Time Systems, 48, 5 (September 2012), 499--512. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. ARINC. ARINC 651: Design Guidance for Integrated Modular Avionics. Airlines Electronic Engineering Committee (AEEC), 1991.Google ScholarGoogle Scholar
  4. ARINC. ARINC 653: Avionics Application Software Standard Interface (Draft 15). Airlines Electronic Engineering Committee (AEEC), 1996.Google ScholarGoogle Scholar
  5. Åsberg, M., Behnam, M., and Nolte, T. An Experimental Evaluation of Synchronization Protocal Mechanisms in the Domain of Hierarchical Fixed-Priority Scheduling. In Proceedings of the 21st International Conference on Real-Time and Network Systems (RTNS) (Sophia Antipolis, France 2013). Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Audsley, N. C., Burns, A., Richardson, M., and Wellings, A.J. Applying new Scheduling Theory to Static Priority Preemptive Scheduling. Software Engineering Journal, 8, 5 (1993), 284--292.Google ScholarGoogle Scholar
  7. Bastoni, A., Brandenburg, B., and Anderson, J. Cache-Related Preemption and Migration Delays: Empirical Approximation and Impact on Schedulability. In Proceedings of OSPERT (Brussels, Belgium 2010), 33--44.Google ScholarGoogle Scholar
  8. Behnam, M., Shin, I., Nolte, T., and Nolin, M. SIRAP: A Synchronization Protocol for Hierarchical Resource Sharing Real-Time Open Systems. In Proceedings of the 7th ACM & IEEE International Conference on Embedded Software (EMSOFT) (2007), 279--288. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Bini, E. and Buttazzo, G. Measuring the Performance of Schedulability Tests. Real-Time Systems, 30, 1 (2005), 129--154. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Busquets-Mataix, J. V., Serrano, J. J., Ors, R., Gil, P., and Wellings, A. Adding Instruction Cache Effect to Schedulability Analysis of Preemptive Real-Time Systems. In Proceedings of the 2nd IEEE Real-Time Technology and Applications Symposium (RTAS) (1996), 204--212. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Davis, R. I. and Burns, A. An Investigation into Server Parameter Selection for Hierarchical Fixed Priority Preemptive Systems. In Proceedings 16th International Conference on Real-Time and Network Systems (RTNS) (Renne, France 2008), 19--28.Google ScholarGoogle Scholar
  12. Davis, R. I. and Burns, A. Hierarchical Fixed Priority Preemptive Scheduling. In Proceedings of the 26th IEEE Real-Time Systems Symposium (RTSS) (2005). Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Davis, R. I. and Burns, A. Resource Sharing in Hierarchical Fixed Priority Pre-Emptive Systems. In Proceedings of the 27th IEEE Real-Time Systems Symposium (RTSS) (Rio de Janeiro, Brazil 2006), 257--270. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Davis, R. I., Zabos, A., and Burns, A. Efficient Exact Schedulability Tests for Fixed Priority Real-Time Systems. IEEE Transactions on Computers, 57, 9 (September 2008), 1261--1276. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Deng, Z. and Liu, J. W. S. Scheduling Real-Time Applications in Open Environment. In Proceedings of the IEEE Real-Time Systems Symposium (RTSS) (San Francisco, USA 1997). Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Feng, X. and Mok, A. K. A Model of Hierarchical Real-Time Virtual Resources. In Proceedings of the 23rd IEEE Real-Time Systems Symposium (RTSS) (Austin, TX, USA 2002), 26--35. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Kuo, T-W. and Li, C-H. A Fixed Priority Driven Open Environment for Real-Time Applications. In Proceedings of the 19th IEEE Real-Time Systems Symposium (RTSS) (Madrid, Spain 1998). Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Lee, C., Hahn, J., Seo, Y. et al. Analysis of Cache-related Preemption Delay in Fixed-priority Preemptive Scheduling. IEEE Transactions on Computers, 47, 6 (June 1998), 700--713. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Lipari, G. and Bini, E. A Methodology for Designing Hierarchical Scheduling Systems. Journal of Embedded Computing, 1, 2 (December 2005), 257--269. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Lunniss, W., Altmeyer, S., and Davis, R. I. Optimising Task Layout to Increase Schedulability via Reduced Cache Related Pre-emption Delays. In In proceedings of the International Conference on Real-Time Networks and Systems (RTNS) (Pont à Mousson, France 2012), 161--170. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Lunniss, W., Altmeyer, S., Lipari, G., and Davis, R. I. Accounting for Cache Related Pre-emption Delays in Hierarchical Scheduling. Technical Report YCS-2014-491 Available from http://www-users.cs.york.ac.uk/~wlunniss/, University of York, York, 2014.Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Lunniss, W., Altmeyer, S., Maiza, C., and Davis, R. I. Intergrating Cache Related Pre-emption Delay Analysis into EDF Scheduling. In Proceedings 19th IEEE Converence on Real-Time and Embedded Technology and Applications (RTAS) (Philadelphia, USA 2013), 75--84. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Richter, K. Compositional Scheduling Analysis Using Standard Event Models. PhD Dissertation, Technical University Carolo-Wilhelmina of Braunschweig, 2005.Google ScholarGoogle Scholar
  24. Saewong, S., Rajkumar, R., Lehoczky, J., and Klein, M. Analysis of Hierarchical Fixed Priority Scheduling. In Proceedings of the 14th Euromicro Conference on Real-Time Systems (ECRTS) (Vienna, Austria 2002), 173--181. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Shin, I. and Lee, I. Periodic Resource Model for Compositional Real-Time Guarantees. In Proceedings of the 24th IEEE Real-Time Systems Symposium (RTSS) (Cancun, Mexico 2003), 2--13. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Staschulat, J., Schliecker, S., and Ernst, R. Scheduling Analysis of Real-Time Systems with Precise Modeling of Cache Related Preemption Delay. In In Proceedings 17th Euromicro Conference on Real-Time Systems (ECRTS) (Balearic Islands, Spain 2005), 41--48. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Tan, Y. and Mooney, V. Timing Analysis for Preemptive Multitasking Real-Time Systems with Caches. ACM Transactions on Embedded Computing Systems (TECS), 6, 1 (February 2007). Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Watkins, C. B. and Walter, R. Transitioning from Federated Avionics Architectures to Integrated Modular Avionics. In Proceedings of the 26th IEE/AIAA Digital Avionics Systems Conference (DASC) (2007).Google ScholarGoogle ScholarCross RefCross Ref
  29. Xu, M., Phan, L. T.X., Lee, I., Sokolsky, O., Xi, S., Lu, C., and Gill, C. Cache-Aware Compositional Analysis of Real-Time Multicore Virtualization Platforms. In Proceedings of the 34th IEEE Real-Time Systems Symposium (RTSS) (Vancouver, Canada 2013). Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Accounting for Cache Related Pre-emption Delays in Hierarchical Scheduling

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Other conferences
        RTNS '14: Proceedings of the 22nd International Conference on Real-Time Networks and Systems
        October 2014
        335 pages
        ISBN:9781450327275
        DOI:10.1145/2659787

        Copyright © 2014 ACM

        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: 8 October 2014

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed limited

        Acceptance Rates

        Overall Acceptance Rate119of255submissions,47%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader