Skip to main content
Erschienen in: Real-Time Systems 2/2019

26.10.2018

A parallel branch-and-bound algorithm to compute a tighter tardiness bound for preemptive global EDF

verfasst von: Mauro Leoncini, Manuela Montangero, Paolo Valente

Erschienen in: Real-Time Systems | Ausgabe 2/2019

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

In this paper we present a parallel exact algorithm to compute an upper bound to tardiness of preemptive global EDF (G-EDF) schedulers, named harmonic bound, which has been proved to be up to 30% tighter than previously proposed bounds. Tightness is a crucial property of tardiness bounds: a too loose bound may cause a feasible soft real-time application to be mistakenly deemed unfeasible. Unfortunately, no polynomial-time algorithm is known to date to compute the harmonic bound. Although there is no proof of hardness of any sort either, the complex formula of the bound apparently provides no hints to devise algorithms with sub-exponential worst-case cost. In this paper we address this issue by proposing a parallel, exact, branch-and-bound algorithm to compute the harmonic bound, called harm-BB, which proves to be extremely fast in a large number of experiments. More specifically, we compare its execution times with those of existing polynomial-time algorithms for other known tardiness bounds on 630,000 random task sets. harm-BB outperforms, or is comparable to, the competitor algorithms in all scenarios but the ones with the highest number of processors (7 and 8) and tasks (\(\sim \) 50). In the latter scenarios harm-BB is indeed slower than the other algorithms; yet, it was still feasible, as it takes only about 2.8 s to compute the bound on a commodity dual-core CPU. Even better, we show that harm-BB has a high parallel efficiency, thus its execution time may be largely cut down on highly-parallel platforms.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
These are the scenarios for which wrong execution times, in the order of just milliseconds, were reported for the sequential version of harm-BB in Leoncini et al. (2017).
 
2
The way this partition is made, as well as the number of generated subspaces, is clearly problem dependent.
 
3
All experiments can be repeated by applying two patches to SchedCAT (2014) and running an ad hoc script.
 
4
We name cva2 the oldest one between the last two algorithms, just to preserve the same naming as the one used for the bounds in Valente (2016).
 
5
according to Fig. 3 and to the fact that the dual-core CPU exposes four logical CPUs, this means that harm-BB generated 4 threads.
 
Literatur
Zurück zum Zitat Anderson JH, Srinivasan A (2004) Mixed pfair/erfair scheduling of asynchronous periodic tasks. J Comput Syst Sci 68(1):157–204 Anderson JH, Srinivasan A (2004) Mixed pfair/erfair scheduling of asynchronous periodic tasks. J Comput Syst Sci 68(1):157–204
Zurück zum Zitat Baruah SK, Cohen NK, Plaxton CG, Varvel DA (1996) Proportionate progress: a notion of fairness in resource allocation. Algorithmica 15:600–625MathSciNetCrossRefMATH Baruah SK, Cohen NK, Plaxton CG, Varvel DA (1996) Proportionate progress: a notion of fairness in resource allocation. Algorithmica 15:600–625MathSciNetCrossRefMATH
Zurück zum Zitat Bastoni A, Brandenburg B, Anderson J (2010) An empirical comparison of global, partitioned, and clustered multiprocessor real-time schedulers. In: Proceedings of the 31st IEEE real-time systems symposium, pp 14–24 Bastoni A, Brandenburg B, Anderson J (2010) An empirical comparison of global, partitioned, and clustered multiprocessor real-time schedulers. In: Proceedings of the 31st IEEE real-time systems symposium, pp 14–24
Zurück zum Zitat Bastoni A, Brandenburg BB, Anderson JH (2010) An empirical comparison of global, partitioned, and clustered multiprocessor EDF schedulers. In: Proceedings of the 2010 31st IEEE real-time systems symposium, RTSS ’10, pp 14–24. IEEE Computer Society, Washington, DC. https://doi.org/10.1109/RTSS.2010.23 Bastoni A, Brandenburg BB, Anderson JH (2010) An empirical comparison of global, partitioned, and clustered multiprocessor EDF schedulers. In: Proceedings of the 2010 31st IEEE real-time systems symposium, RTSS ’10, pp 14–24. IEEE Computer Society, Washington, DC. https://​doi.​org/​10.​1109/​RTSS.​2010.​23
Zurück zum Zitat Brandenburg BB, Gl M (2016) Global scheduling not required: Simple, near-optimal multiprocessor real-time scheduling with semi-partitioned reservations. In: Proceedings of the 2016 IEEE real-time systems symposium (RTSS), pp 99–110. https://doi.org/10.1109/RTSS.2016.019 Brandenburg BB, Gl M (2016) Global scheduling not required: Simple, near-optimal multiprocessor real-time scheduling with semi-partitioned reservations. In: Proceedings of the 2016 IEEE real-time systems symposium (RTSS), pp 99–110. https://​doi.​org/​10.​1109/​RTSS.​2016.​019
Zurück zum Zitat Cavicchioli R, Capodieci N, Bertogna M (2017) Memory interference characterization between CPU cores and integrated GPUS in mixed-criticality platforms. In: Proceedings of the 22nd IEEE international conference on emerging technologies and factory automation (ETFA) Cavicchioli R, Capodieci N, Bertogna M (2017) Memory interference characterization between CPU cores and integrated GPUS in mixed-criticality platforms. In: Proceedings of the 22nd IEEE international conference on emerging technologies and factory automation (ETFA)
Zurück zum Zitat Devi UC, Anderson JH (2008) Tardiness bounds under global edf scheduling on a multiprocessor. Real-Time Syst 38(2):133–189CrossRefMATH Devi UC, Anderson JH (2008) Tardiness bounds under global edf scheduling on a multiprocessor. Real-Time Syst 38(2):133–189CrossRefMATH
Zurück zum Zitat Eckstein J, Phillips CA, Hart WE (2001) Pico: an object-oriented framework for parallel branch and bound. In: Butnariu D, Censor Y, Reich S (eds) Inherently parallel algorithms in feasibility and optimization and their applications, studies in computational mathematics, vol 8. Elsevier, New York, pp 219–265 Eckstein J, Phillips CA, Hart WE (2001) Pico: an object-oriented framework for parallel branch and bound. In: Butnariu D, Censor Y, Reich S (eds) Inherently parallel algorithms in feasibility and optimization and their applications, studies in computational mathematics, vol 8. Elsevier, New York, pp 219–265
Zurück zum Zitat Erickson JP, Anderson JH (2012) Fair lateness scheduling: reducing maximum lateness in g-edf-like scheduling. In: Proceedings of the ECRTS, pp 3–12 Erickson JP, Anderson JH (2012) Fair lateness scheduling: reducing maximum lateness in g-edf-like scheduling. In: Proceedings of the ECRTS, pp 3–12
Zurück zum Zitat Erickson JP, Devi U, Baruah SK (2010) Improved tardiness bounds for global EDF. In: Proceedings of the ECRTS, pp 14–23 Erickson JP, Devi U, Baruah SK (2010) Improved tardiness bounds for global EDF. In: Proceedings of the ECRTS, pp 14–23
Zurück zum Zitat Horowitz E, Sahni S (1978) Fundamentals of computer algorithms. Computer Science Press, New YorkMATH Horowitz E, Sahni S (1978) Fundamentals of computer algorithms. Computer Science Press, New YorkMATH
Zurück zum Zitat Kumar V, Kanal LN (1984) Parallel branch-and-bound formulations for and/or tree search. IEEE Trans Pattern Anal Mach Intell 6(6):768–778CrossRef Kumar V, Kanal LN (1984) Parallel branch-and-bound formulations for and/or tree search. IEEE Trans Pattern Anal Mach Intell 6(6):768–778CrossRef
Zurück zum Zitat Lai TH, Sprague A (1985) Performance of parallel branch-and-bound algorithms. IEEE Trans Comput C–34(10):962–964CrossRefMATH Lai TH, Sprague A (1985) Performance of parallel branch-and-bound algorithms. IEEE Trans Comput C–34(10):962–964CrossRefMATH
Zurück zum Zitat Leoncini M, Montangero M, Valente P (2017) A branch-and-bound algorithm to compute a tighter bound to tardiness for preemptive global edf scheduler. In: Proceedings of the 25th international conference on real-time networks and systems, RTNS ’17, pp 128–137. ACM, New York. https://doi.org/10.1145/3139258.3139277 Leoncini M, Montangero M, Valente P (2017) A branch-and-bound algorithm to compute a tighter bound to tardiness for preemptive global edf scheduler. In: Proceedings of the 25th international conference on real-time networks and systems, RTNS ’17, pp 128–137. ACM, New York. https://​doi.​org/​10.​1145/​3139258.​3139277
Zurück zum Zitat Liu C, Anderson JH (2014) Supporting soft real-time parallel applications on multiprocessors. J Syst Arch 60(2):152–164CrossRef Liu C, Anderson JH (2014) Supporting soft real-time parallel applications on multiprocessors. J Syst Arch 60(2):152–164CrossRef
Zurück zum Zitat Maia C, Yomsi PM, Nogueira L, Pinho LM (2015) Semi-partitioned scheduling of fork-join tasks using work-stealing. In: Proceedings of the 2015 IEEE 13th international conference on embedded and ubiquitous computing, pp 25–34. https://doi.org/10.1109/EUC.2015.30 Maia C, Yomsi PM, Nogueira L, Pinho LM (2015) Semi-partitioned scheduling of fork-join tasks using work-stealing. In: Proceedings of the 2015 IEEE 13th international conference on embedded and ubiquitous computing, pp 25–34. https://​doi.​org/​10.​1109/​EUC.​2015.​30
Zurück zum Zitat Regnier P, Lima G, Massa E, Levin G, Brandt SA (2011) Run: Optimal multiprocessor real-time scheduling via reduction to uniprocessor. In: Proceedings of the RTSS, pp 104–115 Regnier P, Lima G, Massa E, Levin G, Brandt SA (2011) Run: Optimal multiprocessor real-time scheduling via reduction to uniprocessor. In: Proceedings of the RTSS, pp 104–115
Zurück zum Zitat Ward BC, Erickson JP, Anderson JH (2013) A linear model for setting priority points in soft real-time systems. In: Proceedings of real-time systems: the past, the present, and the future, pp 192–205 Ward BC, Erickson JP, Anderson JH (2013) A linear model for setting priority points in soft real-time systems. In: Proceedings of real-time systems: the past, the present, and the future, pp 192–205
Zurück zum Zitat Yun H, Yao G, Pellizzoni R, Caccamo M, Sha L (2013) Memguard: Memory bandwidth reservation system for efficient performance isolation in multi-core platforms. In: Proceedings of the 2013 IEEE 19th real-time and embedded technology and applications symposium (RTAS), pp 55–64 . https://doi.org/10.1109/RTAS.2013.6531079 Yun H, Yao G, Pellizzoni R, Caccamo M, Sha L (2013) Memguard: Memory bandwidth reservation system for efficient performance isolation in multi-core platforms. In: Proceedings of the 2013 IEEE 19th real-time and embedded technology and applications symposium (RTAS), pp 55–64 . https://​doi.​org/​10.​1109/​RTAS.​2013.​6531079
Metadaten
Titel
A parallel branch-and-bound algorithm to compute a tighter tardiness bound for preemptive global EDF
verfasst von
Mauro Leoncini
Manuela Montangero
Paolo Valente
Publikationsdatum
26.10.2018
Verlag
Springer US
Erschienen in
Real-Time Systems / Ausgabe 2/2019
Print ISSN: 0922-6443
Elektronische ISSN: 1573-1383
DOI
https://doi.org/10.1007/s11241-018-9319-6

Weitere Artikel der Ausgabe 2/2019

Real-Time Systems 2/2019 Zur Ausgabe