© The Institution of Engineering and Technology
This Letter reports a method to obtain fine-grained energy consumption analysis of programs running on the low-power internet of things (IoT) devices. In the energy estimation domain, most state-of-the-art solutions focus on the coarse-grained approach to monitor the energy consumption of a device or an application. However, few solutions addressed energy monitoring to analyse fine-grained energy consumption of a program, especially for IoT appliances. Therefore, the authors present a fine-grained gem5-based energy profiling tool to help developers to evaluate the energy efficiency of hot spots in their programs. The authors demonstrate its usability by applying it to profiling garbage collection and property lookup in Jerryscript, a JavaScript engine specifically designed for resource-constrained IoT devices, and discover that these two operations are consuming, as they account for 17.67 and 12.26% of total energy, respectively. Therefore, this tool can aid the developers to gain insight into the energy efficiency of their software.
References
-
-
1)
-
12. Gavrin, E., Lee, S.J., Ayrapetyan, R., et al: ‘Ultra lightweight JavaScript engine for internet of things’. Companion Proc. 2015 ACM SIGPLAN Int. Conf. on Systems, Programming, Languages and Applications: Software for Humanity, Pittsburgh, PA USA, October 2015, pp. 19–20, doi: 10.1145/2814189.2816270.
-
2)
-
10. Spiliopoulos, V., Kaxiras, S., Keramidas, G: ‘Green governors: A framework for continuously adaptive DVFS’. 2011 Int. Green Computing Conf. and Workshops, Orlando, FL, USA, July 2011, pp. 1–8, doi: 10.1109/igcc.2011.6008552.
-
3)
-
3. Wang, S., Chen, H., Shi, W.: ‘SPAN: A software power analyzer for multicore computer systems’, Sust. Comput., Inform.Syst., 2010, 1, (1), pp. 23–34, doi: 10.1016/j.suscom.2010.10.002.
-
4)
-
6. Monfort, R.B., González, M., Martorell, X., et al: ‘Decomposable and responsive power models for multicore processors using performance counters’. Proc. Int. Conf. on Supercomputing, Tsukuba, Japan, June 2010, pp. 147–158, doi: 10.1145/1810085.1810108.
-
5)
-
11. Goel, B., McKee, S.A.: ‘A methodology for modeling dynamic and static power consumption for Multicore processors’. 2016 IEEE Int. Parallel and Distributed Processing Symp., Chicago, Illinois, USA, May 2016, pp. 273–282, doi: 10.1109/ipdps.2016.118.
-
6)
-
1. Pereira, R., Couto, M., Ribeiro, F., et al: ‘Energy efficiency across programming languages: how do energy, time and memory relate?’. Proc. Tenth ACM SIGPLAN Int. Conf. on Software Language Engineering, Vancouver, BC Canada, October 2017, pp. 256–267, doi: 10.1145/3136014.3136031.
-
7)
-
13. Sin, D., Shin, D.: ‘Performance and resource analysis on the javascript runtime for IOT devices’. Int. Conf. on Computational Science and Its Applications, Beijing, China, July 2016, pp. 602–609, doi: 10.1007/978-3-319-42085-1_50.
-
8)
-
7. Powell, M.D., Biswas, A., Emer, J.S., et al: ‘CAMP: A technique to estimate per-structure power at run-time using a few simple parameters’. 2009 IEEE 15th Int. Symp. on High Performance Computer Architecture, Raleigh, NC, USA, February 2009, pp. 289–300, doi:10.1109/hpca.2009.4798264.
-
9)
-
22. Binkert, N., Beckmann, B., Black, G., et al: ‘The gem5 simulator’, SIGARCH Comput. Archit. News, 2011, 39, (2), pp. 1–7 (doi: 10.1145/2024716.2024718).
-
10)
-
2. Laros, J.H., Pokorny, P., DeBonis, D.: ‘Powerinsight - A commodity power measurement capability’. Int. Green Computing Conf. Proc., Arlington, VA, USA, June 2013, pp. 1–6, doi: 10.1109/igcc.2013.6604485.
-
11)
-
5. Reddy, B.K., Walker, M.J., Balsamo, D., et al: ‘Empirical CPU power modeling and estimation in the gem5 simulator’. 27th Int. Symp. on Power and Timing Modeling, Optimization and Simulation (PATMOS), Thessaloniki, Greece, September 2017, pp. 1–8, doi: 10.1109/patmos.2017.8106988.
-
12)
-
9. Koukos, K., Black-Schaffer, D., Spiliopoulos, V., et al: ‘Towards more efficient execution: A decoupled access-execute approach’. Proc. 27th Int. ACM Conf. on Int. Conf. on Supercomputing, Eugene, Oregon USA, June 2013, pp. 253–262, doi: 10.1145/2464996.2465012.
-
13)
-
4. Butko, A., Bruguier, F., Gamatie, A., et al: ‘Full-system simulation of big.LITTLE Multicore architecture for performance and energy exploration’. IEEE Tenth Int. Symp. on Embedded Multicore/Many-Core Systems-on-Chip (MCSOC), Lyon, France, September 2016, pp. 201–208, doi: 10.1109/mcsoc.2016.20.
http://iet.metastore.ingenta.com/content/journals/10.1049/el.2020.0656
Related content
content/journals/10.1049/el.2020.0656
pub_keyword,iet_inspecKeyword,pub_concept
6
6