Skip to main content

Semi-partitioned Mixed-Criticality Scheduling

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10172))

Abstract

Scheduling isolation in mixed-criticality systems is challenging without sacrificing performance. In response, we propose a scheduling approach that combines server-based semi-partitioning and deadline-scaling. Semi-partitioning (whereby only some tasks migrate, in a carefully managed manner), hitherto used in single criticality systems, offers good performance with low overheads. Deadline-scaling selectively prioritise high-criticality tasks in parts of the schedule to ensure their deadlines are met even in rares case of execution time overrun. Our new algorithm NPS-F-MC brings semi-partitioning to mixed-criticality scheduling and uses Ekberg and Yi’s state-of-the-art deadline scaling approach. It ensures scheduling isolation among different-criticality tasks and only allows low-criticality task migration. We also explore variants that disallow migration entirely or relax the isolation between different criticalities (SP-EKB) in order to evaluate the performance tradeoffs associated with more flexible or rigid safety and isolation requirements.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    Setting S to an integral fraction of \(DT_{min}\) was handy for proving a utilisation bound for NPS-F in [3], but in fact the \(\mathrm {DBF}\)-based server-sizing by Sousa et al. [13] allows for dropping this constraint. In this paper, we just stick to tradition.

  2. 2.

    The plots of (non-weighted) schedulability can still be found in the Appendix of our TR [15].

  3. 3.

    Recall that, for the same configuration, SP-EKB strictly dominates P-EKB. However, some task sets schedulable by SP-EKB-\(\kappa \)U are unschedulable by P-EKB-U (and vice versa) and some tasks schedulable by SP-EKB-U are unschedulable by P-EKB-\(\kappa \)U (and vice versa).

References

  1. Burns, A., Davis, R.: Mixed criticality systems: A review, TR. Computer Science, U. of York, UK (2013)

    Google Scholar 

  2. Vestal, S.: Preemptive scheduling of multi-criticality systems with varying degrees of execution time assurance. In: Proceedings of the RTSS, pp. 239–243 (2007)

    Google Scholar 

  3. Bletsas, K., Andersson, B.: Preemption-light multiprocessor scheduling of sporadic tasks with high utilisation bound. In: Proceedings of the RTSS (2009)

    Google Scholar 

  4. Ekberg, P., Yi, W.: Bounding and shaping the demand of mixed-criticality sporadic tasks. In: Proceedings of the ECRTS, pp. 135–144 (2012)

    Google Scholar 

  5. Baruah, S., Bonifaci, V., D’Angelo, G., Li, H., Marchetti-Spaccamela, A., van der Ster, S., Stougie, L.: The preemptive uniprocessor scheduling of mixed-criticality implicit-deadline sporadic task systems. In: Proceedings of the ECRTS, pp. 145–154 (2012)

    Google Scholar 

  6. Federal Aviation Authority, CAST-32: Multi-core Processors (2014). https://www.faa.gov/

  7. Baruah, S., Mok, A., Rosier, L.: Preemptively scheduling hard-real-time sporadic tasks on one processor. In: Proceedings of the RTSS, pp. 182–190 (1990)

    Google Scholar 

  8. Ekberg, P., Yi, W.: Bounding and shaping the demand of generalized mixed-criticality sporadic task systems. Real-Time Syst. 50(1), 48–86 (2014)

    Article  MATH  Google Scholar 

  9. Masrur, A., Müller, D., Werner, M.: Bi-level deadline scaling for admission control in mixed- criticality systems. In: RTCSA, pp. 100–109 (2015)

    Google Scholar 

  10. Easwaran, A.: Demand-based scheduling of mixed-criticality sporadic tasks on one processor. In: Proceedings of the RTSS (2013)

    Google Scholar 

  11. Bletsas, K., Petters, S.M.: Using NPS-F for mixed-criticality multicore systems. In: Proceedings of the RTSS WiP (2012)

    Google Scholar 

  12. Zhang, F., Burns, A.: Improvement to quick processor-demand analysis for EDF-scheduled real-time systems. In: Proceedings of the ECRTS, pp. 76–86 (2009)

    Google Scholar 

  13. Sousa, P.B., Bletsas, K., Tovar, E., Souto, P.F., Åkesson, B.: Unified overhead-aware schedulability analysis for slot-based task-splitting. Real-Time Syst. 50(5–6), 680–735 (2014)

    Article  MATH  Google Scholar 

  14. Bini, E., Buttazzo, G.: Measuring the performance of schedulability tests. Real-Time Syst. 30(1–2), 129–154 (2009)

    MATH  Google Scholar 

  15. Awan, M.A., Bletsas, K., Souto, P.F., Tovar, E.: Semi-partitioned mixed-criticality scheduling, TR. CISTER/ISEP (2016). http://www.cister.isep.ipp.pt/docs/CISTER-TR-161102

  16. Bastoni, A., Brandenburg, B., Anderson, J.: Cache-related preemption and migration delays: empirical approximation and impact on schedulability. In: Proceedings of the OSPERT, pp. 33–44 (2010)

    Google Scholar 

  17. Burns, A., Davis, R.: Adaptive mixed criticality scheduling with deferred preemption. In: Proceedings of the RTSS, pp. 21–30 (2014)

    Google Scholar 

Download references

Acknowledgments

We would like to thank Pontus Ekberg for clarifying to us some aspects of his algorithm.

This work was partially supported by National Funds through FCT/MEC (Portuguese Foundation for Science and Technology) and co-financed by ERDF (European Regional Development Fund) under the PT2020 Partnership, within the CISTER Research Unit (CEC/04234); also by FCT/MEC and the EU ARTEMIS JU within project ARTEMIS/0001/2013- JU grant nr. 621429 (EMC2).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Konstantinos Bletsas .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Awan, M.A., Bletsas, K., Souto, P.F., Tovar, E. (2017). Semi-partitioned Mixed-Criticality Scheduling. In: Knoop, J., Karl, W., Schulz, M., Inoue, K., Pionteck, T. (eds) Architecture of Computing Systems - ARCS 2017. ARCS 2017. Lecture Notes in Computer Science(), vol 10172. Springer, Cham. https://doi.org/10.1007/978-3-319-54999-6_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-54999-6_16

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-54998-9

  • Online ISBN: 978-3-319-54999-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics