Skip to main content
Log in

Hard real-time guarantees in feedback-based resource reservations

  • Published:
Real-Time Systems Aims and scope Submit manuscript

Abstract

Resource reservation is a technique that allows isolating applications from interfering among each other. In the most classic setting, this method requires the periodic allocation of a given budget of resource over time. However, in reality, the actual budget allocation may deviate from its ideal value. Examples of causes of this deviation are: the presence of a system tick, the usage of shared resources, the self-blocking on I/O operations, etc. Since control techniques are an effective mean to deal with uncertainties and disturbances, unknown at design time but bounded, in this paper we propose to use feedback to achieve the target budget allocation, which may have deviated due to on-line events. The proposed scheme, called Self-Adaptive Server (SAS), is described and analyzed. We prove that the controller gain, which maximizes the resource delivered to the application, is \(\frac{3-\sqrt{5}}{2}\). We also implemented the scheduler on a lightweight operating system for a microcontroller. Thanks to the extremely simple implementation, SAS servers are well suited for low-overhead resource isolation mechanisms with proved real-time guarantees.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

Notes

  1. Miosix is available at https://gitorious.org/miosix-kernel.

  2. http://www.st.com/web/en/catalog/mmc/FM141/SC1169.

  3. The specific C++ file implementing the scheduler functionality can be found at http://goo.gl/mo0KOI.

References

  • Abeni L, Buttazzo G (1998) Integrating multimedia applications in hard real-time systems. In: Proceedings of the 19th IEEE Real-Time Systems Symposium, pp. 4–13. Madrid, Spain

  • Abeni L, Palopoli L, Lipari G, Walpole J (2002) Analysis of a reservation-based feedback scheduler. In: Proceedings of the 23rd IEEE Real-Time Systems Symposium, pp. 71–80. Austix (TX), USA

  • Åström KJ, Hägglund T (2005) Advanced PID Control. ISA—the Instrumentation, Systems, and Automation Society

  • Baruah SK, Cohen NK, Plaxton G, Varvel DA (1996) Proportionate progress: a notion of fairness in resource allocation. Algorithmica 15(6):600–625

    Article  MATH  MathSciNet  Google Scholar 

  • Behnam M, Nolte T, Sjödin M, Shin I (2010) Overrun methods and resource holding times for hierarchical scheduling of semi-independent real-time systems. IEEE Trans Ind Inf 6(1):93–104

    Article  Google Scholar 

  • Bertogna M, Fisher N, Baruah S (2009) Resource-sharing servers for open environments. IEEE Trans Ind Inf 5(3):202–219

    Article  Google Scholar 

  • Bini E, Bertogna M, Baruah S (2009) Virtual multiprocessor platforms: specification and use. In: Proceedings of the 30th IEEE Real-Time Systems Symposium, pp. 437–446. Washinghton, DC, USA

  • Cervin A, Eker J (2000) Feedback scheduling of control tasks. In: Proceedings of the 39th IEEE Conference on Decision and Control, vol. 5, pp. 4871–4876

  • Corbató FJ, Merwin-Daggett M, Daley RC (1962) An experimental time-sharing system. In: Proceedings of the Spring Joint Computer Conference, vol. 21, pp. 335–344

  • Cruz RL (1991) A calculus for network delay, part I: network elements in isolation. IEEE Trans Inf Theory 37(1):114–131

    Article  MATH  MathSciNet  Google Scholar 

  • David FM, Carlyle JC, Campbell RH (2007) Context switch overheads for Linux on ARM platforms. In: Proceedings of the 2007 Workshop on Experimental Computer Science. ACM, New York, NY, USA

  • Desoer CA, Vidyasagar M (1975) Feedback systems: input-output properties. Academic Press, New York

    MATH  Google Scholar 

  • Dewan F, Fisher N (2010) Approximate bandwidth allocation for fixed-priority-scheduled periodic resources. In: Proceedings of the 16th IEEE Real-Time and Embedded Technology and Applications Symposium, pp. 247–256. Stockholm, Sweden

  • Easwaran A, Anand M, Lee I (2007) Compositional analysis framework using EDP resource models. In: Proceedings of the 28th IEEE International Real-Time Systems Symposium, pp. 129–138. Tucson, AZ, USA

  • Faggioli D, Checconi F, Trimarchi M, Scordino C (2009) An EDF scheduling class for the Linux kernel. In: Proceedings of the Real-Time Linux Workshop

  • Gresser K (1993) An event model for deadline verification of hard real-time systems. In: Proceedings of the 5th Euromicro Workshop on Real-Time Systems, pp. 118–123. Oulu, Finland

  • Leva A, Maggio M (2010) Feedback process scheduling with simple discrete-time control structures. Control Theory Appl IET 4(11):2331–2342

    Article  Google Scholar 

  • Lipari G, Bini E (2005) A methodology for designing hierarchical scheduling systems. J Embed Comput 1(2):257–269

    Google Scholar 

  • Lu C, Abdelzaber T, Stankovic J, Son S (2001). A feedback control approach for guaranteeing relative delays in web servers. In: Proceedings of 7th IEEE Real-Time Technology and Applications Symposium, pp. 51–62

  • Maggio M, Terraneo F, Leva A (2014) Task scheduling: a control-theoretical viewpoint for a general and flexible solution. ACM Trans Embed Comput Syst 13(4):76:1–76:22

    Article  Google Scholar 

  • Mercer CW, Savage S, Tokuda H (1993) Processor capacity reserves: an abstraction for managing processor usage. In: Proceedings of the Fourth Workshop on Workstation Operating Systems, pp. 129–134

  • Mok AK, Feng X, Chen D (2001) Resource partition for real-time systems. In: Proceedings of the 7th IEEE Real-Time Technology and Applications Symposium, pp. 75–84. Taipei, Taiwan

  • Richter K, Ernst R (2002) Event model interfaces for heterogeneous system analysis. In: Design, Automation and Test in Europe (DATE), pp. 506–513. Paris, France

  • Stankovic JA, Lu C, Son SH, Tao G (1999) The case for feedback control in real-time scheduling. In: Proceedings of the 11th Euromicro Conference on Real-Time, pp. 11–20. York, UK

  • Stigge M, Ekberg P, Guan N, Yi W (2011) On the tractability of digraph-based task models. In: Proceedings of the 23rd Euromicro Conference on Real-Time Systems, pp. 162–171. Porto, Portugal

  • Storm AJ, Garcia-Arellano C, Lightstone SS, Diao Y, Surendra M (2006) Adaptive self-tuning memory in db2. In: Proceedings of the 32rd International Conference on Very Large Data Bases, VLDB ’06, pp. 1081–1092. VLDB Endowment

  • Thiele L, Chakraborty S, Naedele M (2000) Real-time calculus for scheduling hard real-time systems. In: Proceedings of the IEEE International Symposium on Circuits and Systems, vol. 4, pp. 101–104. Geneva, Switzerland

Download references

Acknowledgments

The authors would like to acknowledge the help by Alessandro Biondi at Scuola Superiore Sant’Anna for the fruitful discussion on existing protocols for the management of shared resources. This work was partially supported by the Swedish Research Council (VR) for the projects “Cloud Control” and “Power and temperature control for large-scale computing infrastructures”, through the LCCC Linnaeus and ELLIIT Excellence Centers, and the Marie Curie Intra European Fellowship within the 7th European Community Framework Programme.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Enrico Bini.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Papadopoulos, A.V., Maggio, M., Leva, A. et al. Hard real-time guarantees in feedback-based resource reservations. Real-Time Syst 51, 221–246 (2015). https://doi.org/10.1007/s11241-015-9224-1

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11241-015-9224-1

Keywords

Navigation