skip to main content
10.1145/3331542.3342570acmconferencesArticle/Chapter ViewAbstractPublication PagesicfpConference Proceedingsconference-collections
research-article

Tools supporting green computing in Erlang

Published:18 August 2019Publication History

ABSTRACT

Energy efficiency is one of the key aspects of modern software. Therefore, we present a tool for measuring the energy consumption of Erlang programs. Using this tool, we measured the energy consumption of different basic language elements, such as data structures, higher-order functions and parallel language constructs. Based on the results of our measurements, we present refactorings that may help to decrease the energy consumption of Erlang software. The refactorings are part of the well-known RefactorErl static analyser and transformer framework for Erlang.

References

  1. Ericsson AB. 2019. Compilation and Code Loading. http://erlang.org/doc/reference_manual/code_loading.html. (2019). [Accessed: 2019.05.24.].Google ScholarGoogle Scholar
  2. I. Bozó, D. Horpácsi, Z. Horváth, R. Kitlei, J. Köszegi, M. Tejfel, and M Tóth. 2011. RefactorErl - Source Code Analysis and Refactoring in Erlang. In Proceedings of the 12th Symposium on Programming Languages and Software Tools, ISBN 978-9949-23-178-2. TUT Press, Institute of Cybernetics at Tallinn University of Technology, Tallin, Estonia, 138-148.Google ScholarGoogle Scholar
  3. Alexander Chatzigeorgiou. 2003. Performance and power evaluation of C++ object-oriented programming in embedded processors. Information and Software Technology 45 (03 2003), 195-201.Google ScholarGoogle Scholar
  4. L. Cruz, R. Abreu, and J. Rouvignac. 2017. Leafactor: Improving Energy Efficiency of Android Apps via Automatic Refactoring. In 2017 IEEE/ACM 4th International Conference on Mobile Software Engineering and Systems (MOBILESoft). IEEE, Buenos Aires, Argentina, 205-206. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. L. G. Lima, F. Soares-Neto, P. Lieuthier, F. Castor, G. Melfe, and J. P. Fernandes. 2016. Haskell in Green Land: Analyzing the Energy Behavior of a Purely Functional Language. In 2016 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER), Vol. 1. IEEE, Suita, Japan, 517-528.Google ScholarGoogle Scholar
  6. A.A. Meszaros and G. Nagy. 2019. Measuring the energy consumption of Erlang programs and energy conscious refactorings. Sientific Thesis, Scientific Student Association Conference, ELTE-IK, Budapest, Hungary, Received 1st prize. (2019).Google ScholarGoogle Scholar
  7. A.A. Meszaros, G. Nagy, I. Bozo, and M. Toth. 2018. Towards Green Computing in Erlang. Studia Universitatis Babe?-Bolyai Informatica 63, 1 (2018), 64-79.Google ScholarGoogle Scholar
  8. Srinivas Pandruvada. 2014. RUNNING AVERAGE POWER LIMIT - RAPL. https://01.org/blogs/2014/running-average-power-limit---rapl. (2014). [Accessed: 2019.03.27.].Google ScholarGoogle Scholar
  9. Rui Pereira, Marco Couto, João Saraiva, Jácome Cunha, and João Paulo Fernandes. 2016. The Influence of the Java Collection Framework on Overall Energy Consumption. In Proceedings of the 5th International Workshop on Green and Sustainable Software (GREENS '16). ACM, New York, NY, USA, 15-21. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Vimal P. Parmar, Apurva K. Pandya, and Dr. CK Kumbharana. 2011. Optimization of Energy Usage for Computer Systems by Effective Implementation of Green Computing. International Journal of Advanced Networking Applications (IJANA) Sp. issue of National Conference held at Marvadi Educational Institution (2011), 87-90. https://www.ijana.in/Special%20Issue/16.pdfGoogle ScholarGoogle Scholar
  11. K. Sagonas, M. Pettersson, R. Carlsson, P. Gustafsson, and T. Lindahl. 2003. All You Wanted to Know About the HiPE Compiler: (but Might Have Been Afraid to Ask). In Proceedings of the 2003 ACM SIGPLAN Workshop on Erlang (ERLANG '03). ACM, New York, NY, USA, 36-42. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Skel Tutorial. 2014. Available at http://chrisb.host.cs.st-andrews.ac.uk/skel-test-master/tutorial/bin/tutorial.html. (2014). [Accessed: 2019.05.24.].Google ScholarGoogle Scholar
  13. M. Tóth and I. Bozó. 2012. Static Analysis of Complex Software Systems Implemented in Erlang. Central European Functional Programming Summer School - Fourth Summer School, CEFP 2011, Revisited Selected Lectures, Lecture Notes in Computer Science (LNCS), Vol. 7241, pp. 451-514, Springer-Verlag, ISSN: 0302-9743. (2012). Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Filipe Varjão. 2017. Measuring Erlang energy consumption, and why this matters. http://www.erlang-factory.com/sfbay2017/filipevarjao.html. (2017). [Accessed: 2018.03.25.].Google ScholarGoogle Scholar
  15. Vincent M. Weaver. 2015. Reading RAPL energy measurements from Linux. http://web.eece.maine.edu/~vweaver/projects/rapl/. (2015). [Accessed: 2019.03.27.].Google ScholarGoogle Scholar

Index Terms

  1. Tools supporting green computing in Erlang

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        Erlang 2019: Proceedings of the 18th ACM SIGPLAN International Workshop on Erlang
        August 2019
        73 pages
        ISBN:9781450368100
        DOI:10.1145/3331542

        Copyright © 2019 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 18 August 2019

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate51of68submissions,75%

        Upcoming Conference

        ICFP '24
      • Article Metrics

        • Downloads (Last 12 months)15
        • Downloads (Last 6 weeks)0

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader