Abstract
This paper considers a multicore system, equipped with dynamic voltage/frequency scaling (DVFS), which runs real-time jobs with probabilistic characteristics. The DVFS policy directly affects the performance of this system as well as its power consumption through impacting both dynamic and leakage powers. While power consumption determines the processor thermal behavior, the temperature in turn affects the processor power consumption by impacting the leakage power. Additionally, temperature variation of a core is coupled with the thermal behaviors of the other cores, namely thermal effects of the surrounding components. These inter-effects make sophisticated relations between the nature of the stochastic real-time system and its performance, power consumption, and temperature behavior. In this paper, we first present an exact thermal analysis approach for the specified system considering these inter-effects. We then propose a scalable approximate method for thermal analysis of the system based on the exact analysis. The proposed analytical method outperforms the traditional simulation-based methods in terms of time complexity, by approximately three orders of magnitude, while introducing a relative error of less than 0.8 % for the mentioned setups. Also, we show the efficacy of the proposed analytical method in temperature-aware power minimization, resulting in significant reductions in the system-wide power consumption.
Similar content being viewed by others
Notes
Summary of the main notations used throughout the paper is presented in “Appendix 2” (Table 5).
References
Mesa-Martinez FJ, Ardestani EK, Renau J (2010) Characterizing processor thermal behavior, pp 193–204. doi:10.1145/1736020.1736043
Ukhov I, Bao M, Eles P, Peng Z (2012) Steady-state dynamic temperature analysis and reliability optimization for embedded multiprocessor systems, In: Proceedings of the 49th annual design automation conference, ser. DAC ’12. ACM, New York, NY, USA, pp 197–204. doi:10.1145/2228360.2228399
Wang S, Munawar W, Liu J, Chen J-J, Liu X (2012) Power-saving design for server farms with response time percentile guarantees. In: Proceedings of the 18th Real Time and Embedded Technology and Applications Symposium, ser. RTAS ’12. Washington, DC, USA: IEEE Computer Society, 2012, pp 273–284. [Online]. doi:10.1109/RTAS.2012.35
Lehoczky JP (1996) Real-time queueing theory. In: IEEE real-time systems symposium, pp 186–195
Tanasa B, Bordoloi U, Eles P, Peng Z (2015) Probabilistic response time and joint analysis of periodic tasks. In: 27th euromicro conference on real-time systems (ECRTS), July 2015, pp 235–246
Movaghar A (2006) On queuing with customer impatience until the end of service. J Stoch Models 22:149–173
Kargahi M, Movaghar A (2006) A method for performance analysis of earliest-deadline-first scheduling policy. J Supercomput 37(2):197–222
Kargahi M, Movaghar A (2005) Non-preemptive earliest-deadline-first scheduling policy: a performance study. In: 13th IEEE international symposium on modeling, analysis, and simulation of computer and telecommunication systems. IEEE, pp 201–208
Skadron K, Stan MR, Sankaranarayanan K, Huang W, Velusamy S, Tarjan D (2004) Temperature-aware microarchitecture: modeling and implementation. ACM Trans Archit Code Optim 1(1):94–125. doi:10.1145/980152.980157
Rao R, Vrudhula S (2009) Fast and accurate prediction of the steady-state throughput of multicore processors under thermal constraints. Trans Comput Aided Des Integ Circuits Syst 28(10):1559–1572. doi:10.1109/TCAD.2009.2026361
Jung H, Pedram M (2006) Stochastic dynamic thermal management: a Markovian decision-based approach. In: International conference on computer design, ICCD, Oct 2006, pp 452–457
Jung H, Rong P, Pedram M (2008) Stochastic modeling of a thermally-managed multi-core system. In: Proceedings of the 45th annual design automation conference, ser. DAC ’08. ACM, New York, NY, USA, pp 728–733. doi:10.1145/1391469.1391657
Zhang S, Chatha KS (2008) System-level thermal aware design of applications with uncertain execution time. In: Proceedings of the 2008 IEEE/ACM international conference on computer-aided design, ser. ICCAD ’08. IEEE Press, Piscataway, NJ, USA, pp 242–249. http://dl.acm.org/citation.cfm?id=1509456.1509518
Quan G, Chaturvedi V (2010) Feasibility analysis for temperature-constraint hard real-time periodic tasks. IEEE Trans Ind Inform 6(3):329–339
Schor L, Bacivarov I, Yang H, Thiele L (2012) Worst-case temperature guarantees for real-time applications on multi-core systems. In: IEEE real-time and embedded technology and applications symposium, pp 87–96
Yang H, Bacivarov I, Rai D, Chen J-J, Thiele L (2013) Real-time worst-case temperature analysis with temperature-dependent parameters. Real-Time Syst 49(6):730–762
Mohaqeqi M, Kargahi M (2013) Thermal analysis of periodic real-time systems with stochastic properties: an analytical approach. In: Proceedings of the 21st international conference on real-time networks and systems, ser. RTNS ’13. ACM, New York, NY, USA, pp 119–127. doi:10.1145/2516821.2516846
Mohaqeqi M, Kargahi M, Movaghar A (2014) Analytical leakage-aware thermal modeling of a real-time system. IEEE Trans Comput 63(6):1378–1392
Mohaqeqi M, Kargahi M, Movaghar A (2012) Analytical leakage/temperature-aware power modeling and optimization for a variable speed real-time system. In: Proceedings of the 20th international conference on real-time and network systems, ser. RTNS ’12. ACM, pp 81–89. doi:10.1145/2392987.2392997
Kumar P, Yang H, Bacivarov I, Thiele L (2014) Coolip: simple yet effective job allocation for distributed thermally-throttled processors. In: Design, automation and test in europe conference and exhibition (DATE), March 2014, pp 1–4
Dai S, Hong M, Guo B, He Y, Zhang Q, Sun L, Du Y (2015) A formal approach for rt-dvs algorithms evaluation based on statistical model checking. Math Probl Eng 501:815230
Rabaey JM (2009) Low power design essentials. Springer, Berlin
Kopetz H (2011) Real-time systems: design principles for distributed embedded applications, vol 25. Springer, Berlin
Liao W, He L, Lepak K (2005) Temperature and supply voltage aware performance and power modeling at microarchitecture level. IEEE Trans Comput Aided Des Integr Circuits Syst 24(7):1042–1053
Liu Y, Dick R, Shang L, Yang H (2007) Accurate temperature-dependent integrated circuit leakage power estimation is easy. In: Design, automation and test in Europe, pp 1526–1531
Fu Y, Kottenstette N, Lu C, Koutsoukos XD (2012) Feedback thermal control of real-time systems on multicore processors. In: Proceedings of the 10th ACM international conference on embedded software, ser. EMSOFT ’12. ACM, New York, NY, USA, pp 113–122. doi:10.1145/2380356.2380379
Fisher N, Chen J-J, Wang S, Thiele L (2009) Thermal-aware global real-time scheduling on multicore systems. In: Proceedings of the 15th IEEE symposium on real-time and embedded technology and applications, ser. RTAS ’09. IEEE Computer Society, Washington, DC, USA, pp 131–140. doi:10.1109/RTAS.2009.34
Rao R, Vrudhula S, Chakrabarti C (2007) Throughput of multi-core processors under thermal constraints. In: Proceedings of the international symposium on low power electronics and design, ser. ISLPED ’07. ACM, New York, NY, USA, pp 201–206. doi:10.1145/1283780.1283824
Skadron K, Stan MR, Huang W, Velusamy S, Sankaranarayanan K, Tarjan D (2003) Temperature-aware microarchitecture: extended discussion and results, Apr. 2003
Kant K (1992) Introduction to computer system performance evaluation. McGraw-Hill, New York
Gieseke B, Allmon R, Bailey D, Benschneider B, Britton S, Clouser J, Fair I, R H, Farrell J, Gowan M, Houghton C, Keller J, Lee T, Leibholz D, Lowell S, Matson M, Matthew R, Peng V, Quinn M, Priore D, Smith M, Wilcox K (1997) A 600 MHz superscalar riscmicroprocessor with out-of-order execution. In: IEEE international solid-state circuits conference, digest of technical papers, pp 176–177
Li S, Ahn JH, Strong RD, Brockman JB, Tullsen DM, Jouppi NP (2013) The mcpat framework for multicore and manycore architectures: simultaneously modeling power, area, and timing. ACM Trans Archit Code Optim 10(1):5:1–5:29. doi:10.1145/2445572.2445577
Guthaus MR, Ringenberg JS, Ernst D, Austin TM, Mudge T, Brown RB (2001) Mibench: a free, commercially representative embedded benchmark suite. In: 2001 IEEE international workshop on workload characterization, 2001. WWC-4. IEEE, pp 3–14
Kirkpatrick S, Vecchi M (1983) Optimization by simmulated annealing. Science 220(4598):671–680
Kelley CT (1999) Iterative methods for optimization, vol 18. SIAM, Philadelphia
Barrer D (1957) Queuing with impatient customers and ordered service. Oper Res 5(5):650–656
Author information
Authors and Affiliations
Corresponding author
Appendices
Appendix 1
For the proof of Lemma 1, we use an approach similar to [6, 36], which has been proposed for the analysis of a simpler system, namely a system with a single core and a constant speed. In the following, we assume that the system is in its statistical equilibrium. We use \(f_x(.)\) to denote the PDF of a random variable x, and \(\tau \) to denote a variable that gains its value from the set of non-negative real numbers. We define two random variables \(A_{m,n}(t)\) and \(B_{m,n}(t)\) as follows:
According to these definitions, the random variables \(A_{m,n}(t)\) and \(B_{m,n}(t)\) are well defined for \(n>0\) and \(n>1\), respectively. Further, we define:
For any time t, let \(t+\) and \(t-\) show a time immediately after and before t, respectively. Assuming statistical equilibrium, we define the following related random variables:
Using a method similar to which presented in [36], we can obtain the PDF of \(\tilde{A}_{m,n}\) as:
where \(\varPhi _{m,n}(.)\) is defined in (17).
Define the random variable \(S_{m,n}(t)\) as:
We are interested in finding the PDF of \(S_{m,n}\).
Consider a job in the queue of core m completed its service successfully, while n (\(n>0\)) jobs exist in the queue. Then, \(\hat{A}_{m,n}\), defined in (47), shows the steady-state value of \(A_{m,n}(t)\) for the queue right before this service completion. Also, \(\hat{A}_{m,n}\) can be viewed as \(S_{m,n-1}\), conditioned by the event \(\{S_{m,n-1} \le \theta \}\). Hence, for \(n>0\), we have
Define \(SD_{m,n}(t,t+\epsilon )\) as the event that a job in the queue of core m completes its service successfully during \((t,t+\epsilon ]\), given there are n jobs in the queue at time t. Then, we have
As the execution demand of the jobs is exponentially distributed, the two events \(\{B_{m,n}(t) \le \tau \}\) and \(SD_{m,n}(t,t+\epsilon )\) are independent. Therefore, we have
or
Thus, from (50), we have
Then, using \(f_{\tilde{A}_{m,n}}(.)\) in (48) above, the PDF of \(f_{S_{m,n}}(\tau )\) can be obtained as
where \(\varPhi _{m,n}(\mu )\) is defined in (17).
Consider a job in the queue of core m which is going to depart immediately. The probability that this job meets its deadline can be expressed as \(P(S_{m,n-1} \le \theta )\). Using the formulation of \(f_{S_{m,n}}(.)\) provided in (55), we immediately get
Finally, for calculating \(\gamma _{m,n}\), consider a job that immediately departs from the queue of core m, while it contains n jobs, \(n>0\). According to the definition of \(\gamma _{m,n}\), the probability that this job meets its deadline is equal to
Further, this probability can also be obtained as \(P(S_{m,n-1} \le \theta )\), where \(\theta \) is the relative deadline of the departing job. As a result, we have
Using (56) and (58), \(\gamma _{m,n}\) is obtained as provided in (18), which completes the proof.
Appendix 2
See Table 5.
Rights and permissions
About this article
Cite this article
Mohaqeqi, M., Kargahi, M. Thermal analysis of stochastic DVFS-enabled multicore real-time systems. J Supercomput 71, 4594–4622 (2015). https://doi.org/10.1007/s11227-015-1562-1
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-015-1562-1