skip to main content
research-article

Energy-efficient thermal-aware multiprocessor scheduling for real-time tasks using TCPN

Published: 01 September 2019 Publication History

Abstract

We present an energy-efficient thermal-aware real-time global scheduler for a set of hard real-time (HRT) tasks running on a multiprocessor system. This global scheduler fulfills the thermal and temporal constraints by handling two independent variables, the task allocation time and the selection of clock frequency. To achieve its goal, the proposed scheduler is split into two stages. An off-line stage, based on a deadline partitioning scheme, computes the cycles that the HRT tasks must run per deadline interval at the minimum clock frequency to save energy while honoring the temporal and thermal constraints, and computes the maximum frequency at which the system can run below the maximum temperature. Then, an on-line, event-driven stage performs global task allocation applying a Fixed-Priority Zero-Laxity policy, reducing the overhead of quantum-based or interval-based global schedulers. The on-line stage embodies an adaptive scheduler that accepts or rejects soft RT aperiodic tasks throttling CPU frequency to the upper lowest available one to minimize power consumption while meeting time and thermal constraints. This approach leverages the best of two worlds: the off-line stage computes an ideal discrete HRT multiprocessor schedule, while the on-line stage manage soft real-time aperiodic tasks with minimum power consumption and maximum CPU utilization.

References

[1]
Ahmed R, Ramanathan P, and Saluja KK Necessary and sufficient conditions for thermal schedulability of periodic real-time tasks under fluid scheduling model ACM Transactions on Embedded Computing Systems (TECS) 2016 15 3 49
[2]
Anderson JH, Srinivasan A (2001) Mixed pfair/erfair scheduling of asynchronous periodic tasks. In: Real-time systems, 13th euromicro conference on, 2001. IEEE, pp 76–85
[3]
ARINC (1997) Specification 651: Design guide for integrated modular avionics
[4]
AUTOSAR (2017) Specification of rte software
[5]
Baker TP (2005) A comparison of global and partitioned edf schedulability tests for multiprocessors. In: International conf. on real-time and network systems. Citeseer
[6]
Baruah S, Bertogna M, and Butazzo G Multiprocessor Scheduling for Real-Time Systems 2015 New York Springer
[7]
Baruah SK, Cohen NK, Plaxton CG, and Varvel DAProportionate progress: a notion of fairness in resource allocationAlgorithmica1996156600-6251389349
[8]
Baruah SK, Gehrke JE, Plaxton CG (1995) Fast scheduling of periodic tasks on multiple resources. In: Ipps. IEEE, p 280
[9]
Bertogna M, Cirinei M (2007) Response-time analysis for globally scheduled symmetric multiprocessor platforms. In: 28th IEEE international real-time systems symposium, 2007. RTSS 2007. IEEE, pp 149–160
[10]
Bertogna M, Cirinei M, Lipari G (2005) Improved schedulability analysis of edf on multiprocessor platforms. In: Proceedings of the 17th Euromicro Conference on Real-Time Systems, ECRTS ’05. ISBN 0-7695-2400-1. IEEE Computer Society, Washington, pp 209–218
[11]
Bini E and Buttazzo GC Measuring the performance of schedulability tests Real-Time Systems 2005 30 1-2 129-154
[12]
Brandenburg BB, Mahircan G (2016) Global scheduling not required: Simple, near-optimal multiprocessor real-time scheduling with semi-partitioned reservation. In: IEEE real-time systems symposium (RTSS 2016), pp 99–110
[13]
Calandrino JM, Anderson JH, Baumberger DP (2007) A hybrid real-time scheduling approach for large-scale multicore platforms. In: Proceedings of the 19th Euromicro conference on real-time systems, ECRTS ’07. IEEE Computer Society, Washington, pp 247–258
[14]
Cardona J, Hernandez C, Mezzetti E, Abella J, Cazorla FJ (2018) Noco: Ilp-based worst-case contention estimation for mesh real-time manycores. In: 2018 IEEE Real-time systems symposium (RTSS), pp 265–276
[15]
Casini D, Biondi A, Giorgio B (2017) Semi-partitioned scheduling of dynamic real-time workload: A practical approach based on analysis-driven load balancing. In: Bertogna M (ed) 29th Euromicro Conference on Real-Time Systems (ECRTS 2017), volume 76 of Leibniz International Proceedings in Informatics (LIPIcs), pp 13:1–13:23
[16]
Chantem T, Hu XS, and Dick RP Temperature-aware scheduling and assignment for hard real-time applications on MPSoCs IEEE Trans Very Large Scale Integr VLSI Syst 2011 19 10 1884-1897
[17]
Chen J-J, Hung C-M, Kuo T-W (2007) On the minimization fo the instantaneous temperature for periodic real-time tasks. In: 13Th IEEE real time and embedded technology and applications symposium (RTAS’07). IEEE, pp 236–248
[18]
Chen J-J, Kuo T-W (2007) Procrastination determination for periodic real-time tasks in leakage-aware dynamic voltage scaling systems. In: IEEE/ACM international conference on computer-aided design, 2007. ICCAD 2007, pp 289–294
[19]
Davis RI, Burns A (2011a) Fpzl schedulability analysis. In: Proceedings of the 2011 17th IEEE real-time and embedded technology and applications symposium, RTAS ’11. ISBN 978-0-7695-4344-4. IEEE Computer Society, Washington, pp 245–256
[20]
Davis RI and Burns A A survey of hard real-time scheduling for multiprocessor systems ACM computing surveys (CSUR) 2011 43 4 35
[21]
Desel J, Esparza J (1995) Free choice petri nets. Cambridge Tracts in Theoretical Computer Science, 40
[22]
Desirena G, Rubio L, Ramirez A, Briz JL (2019) Thermal-aware hrt scheduling simulation framework. https://www.gdl.cinvestav.mx/art/uploads/TCPN-Thermal-Aware_Real-Time_Scheduling.zip
[23]
Desirena-Lopez G, Briz JL, Vázquez CR, Ramírez-Treviño A, Gómez-Gutiérrez D (2016) On-line scheduling in multiprocessor systems based on continuous control using timed continuous petri nets. In: 13Th international workshop on discrete event systems, pp 278–283
[24]
Desirena-Lopez G, Ramírez-Treviño A, Briz JL, Vázquez CR, Gómez-Gutiérrez D (2019) Thermal-aware real-time scheduling using timed continuous petri nets. ACM Transactions on embedded computing systems. To appear, accepted Apr. 2019)
[25]
Desirena-Lopez G, Vázquez CR, Ramírez-Treviño A, Gómez-Gutiérrez D (2014) Thermal modelling for temperature control in MPSoc’s using fluid Petri nets. In: IEEE conference on control applications part of multi-conference on systems and control
[26]
Diniz N, Rufino J (2005) Arinc 653 in space
[27]
Donald J, Martonosi M (2006) Techniques for multicore thermal management: Classification and new exploration. In: ACM SIGARCH computer architecture news, vol 34. IEEE Computer Society, pp 78–88
[28]
Fernandez G, Jalle J, Abella J, Quiñones E, Vardanega T, and Cazorla FJComputing safe contention bounds for multicore resources with round-robin and fifo arbitrationIEEE Trans Comput2017664586-6003623431
[29]
Fisher N, Goossens J, and Baruah S Optimal online multiprocessor scheduling of sporadic real-time tasks is impossible Real-Time Syst 2010 45 1-2 26-71
[30]
Fu X, Wang X, Puster E (2009) Dynamic thermal and timeliness guarantees for distributed real-time embedded systems. In: 2009 15th IEEE international conference on embedded and real-time computing systems and applications. IEEE, pp 403–412
[31]
Fu Y, Kottenstette N, Chen Y, Lu C, Koutsoukos XD, Wang H (2010) Feedback thermal control for real-time systems. In: 2010 16Th IEEE real-time and embedded technology and applications symposium. IEEE, pp 111–120
[32]
Fu Y, Kottenstette N, Lu C, Koutsoukos XD (2012) Feedback thermal control of real-time systems on multicore processors. In: Proceedings of the tenth ACM international conference on embedded software. ACM, pp 113–122
[33]
Funk S, Levin G, Sadowski C, Pye I, and Brandt S Dp-fair: a unifying theory for optimal hard real-time multiprocessor scheduling Real-Time Systems 2011 47 5 389-429
[34]
Gerard S Linear and integer programming: Theory and practice 2001 Boca Raton CRC Press
[35]
Goossens JL, Funk S (2003) Priority-driven scheduling of periodic task systems on multiprocessors. Real-Time Systems, pp 2–3
[36]
Hettiarachchi PM, Fisher N, Ahmed M, Wang LY, Wang S, and Shi W A design and analysis framework for thermalresilent hard real-time systems ACM Trans Embed Comput Syst 2014 13 5s 146:1-146:25
[37]
Kong J, Chung SW, and Skadron K Recent thermal management techniques for microprocessors ACM Computing Surveys 2014 44 3 13:1-13:42
[38]
Mahulea C, Ramirez-Trevino A, Recalde L, and Silva M Steady-state control reference and token conservation laws in continuous Petri net systems IEEE Trans Autom Sci Eng 2008 5 2 307-320
[39]
version 9.4 (R2018a) 2018 Natick The MathWorks Inc.
[40]
Moulik S, Devaraj R, Sarkar A, Shaw A (2017) A deadline-partition oriented heterogeneous multi-core scheduler for periodic tasks. In: 2017 18Th international conference on parallel and distributed computing, applications and technologies (PDCAT), pp 204–210
[41]
Oh D-I and Bakker TP Utilization bounds for n-processor rate monotone scheduling with static processor assignments Real-Time Systems 1998 15 2 183-192
[42]
Rubio-Anguiano L, Desirena-López G, Ramírez-Treviño A, and Briz JL Energy-efficient thermal-aware scheduling for rt tasks using tcpn IFAC-PapersOnLine 2018 51 7 236-242
[43]
Schor L, Bacivarov I, Yang H, Thiele L (2012) Worst-case temperature guarantees for real-time applications on multi-core systems. In: 2012 IEEE 18Th real time and embedded technology and applications symposium. IEEE, pp 87–96
[44]
Silva M, Júlvez J, Mahulea C, and Renato Vázquez COn fluidization of discrete event models: observation and control of continuous Petri netsDiscrete Event Dynamic Systems201121(4)3427-4972842199
[45]
Silva M and Recalde L Redes de Petri continuas: Expresividad, análisis y control de una clase de sistemas lineales conmutados Revista Iberoamericana de Automática e informática Industrial 2007 4 3 5-33
[46]
Zanini F, Atienza D, De Micheli G (2009) A control theory approach for thermal balancing of mpsoc. In: 2009 Asia and south pacific design automation conference. IEEE, pp 37–42

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Discrete Event Dynamic Systems
Discrete Event Dynamic Systems  Volume 29, Issue 3
Sep 2019
204 pages

Publisher

Kluwer Academic Publishers

United States

Publication History

Published: 01 September 2019
Accepted: 03 June 2019
Received: 10 December 2018

Author Tags

  1. TCPN
  2. Modeling
  3. Scheduling

Qualifiers

  • Research-article

Funding Sources

  • European H2020/687698
  • AEI/ FEDER, UE

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 0
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 14 Sep 2024

Other Metrics

Citations

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media