skip to main content
10.1145/2597073.2597110acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Mining questions about software energy consumption

Published:31 May 2014Publication History

ABSTRACT

A growing number of software solutions have been proposed to address application-level energy consumption problems in the last few years. However, little is known about how much software developers are concerned about energy consumption, what aspects of energy consumption they consider important, and what solutions they have in mind for improving energy efficiency. In this paper we present the first empirical study on understanding the views of application programmers on software energy consumption problems. Using StackOverflow as our primary data source, we analyze a carefully curated sample of more than 300 questions and 550 answers from more than 800 users. With this data, we observed a number of interesting findings. Our study shows that practitioners are aware of the energy consumption problems: the questions they ask are not only diverse -- we found 5 main themes of questions -- but also often more interesting and challenging when compared to the control question set. Even though energy consumption-related questions are popular when considering a number of different popularity measures, the same cannot be said about the quality of their answers. In addition, we observed that some of these answers are often flawed or vague. We contrast the advice provided by these answers with the state-of-the-art research on energy consumption. Our summary of software energy consumption problems may help researchers focus on what matters the most to software developers and end users.

References

  1. A. Barua, S. Thomas, and A. Hassan. What are developers talking about? an analysis of topics and trends in stack overflow. EMSE, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. L. Bircher and L. John. Analysis of dynamic power management on multi-core processors. In ICS, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. C. Brandolese, W. Fornaciari, F. Salice, and D. Sciuto. The impact of source code transformations on software power and energy consumption. Journal of Circuits, Systems and Computers, 11(05), 2002.Google ScholarGoogle Scholar
  4. T. Cao, S. Blackburn, T. Gao, and K. McKinley. Yin and yang of power and performance for asymmetric hardware and managed software. In ISCA, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. M. Carbin, D. Kim, S. Misailovic, and M. Rinard. Proving acceptability properties of relaxed nondeterministic approximate programs. In PLDI, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. E. G. Daylight, T. Fermentel, C. Ykman-Couvreur, and F. Catthoor. Incorporating energy efficient data structures into modular software implementations for internet-based embedded systems. In WOSP, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. H. Esmaeilzadeh, T. Cao, X. Yang, S. Blackburn, and K. S. McKinley. What is happening to power, performance, and software? IEEE Micro, 32(3), 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. K. I. Farkas, J. Flinn, G. Back, D. Grunwald, and J. M. Anderson. Quantifying the energy consumption of a pocket computer and a java virtual machine. In SIGMETRICS, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. J. Fereday. Demonstrating rigor using thematic analysis: A hybrid approach of inductive and deductive coding and theme development. International Journal of Qualitative, 5, 2006.Google ScholarGoogle Scholar
  10. R. Ge, X. Feng, W. chun Feng, and K. Cameron. Cpu miser: A performance-directed, run-time system for power-aware clusters. In ICPP, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. S. Hao, D. Li, W. G. J. Halfond, and R. Govindan. Estimating mobile application energy consumption using program analysis. In ICSE, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. M. V. Heikkinen, J. K. Nurminen, T. Smura, and H. Hammainen. Energy efficiency of mobile handsets: Measuring user attitudes and behavior. Telematics and Informatics, 29(4), 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. A. Hindle. Green mining: A methodology of relating software change to power consumption. In MSR, 2012.Google ScholarGoogle Scholar
  14. A. Iyer and D. Marculescu. Power efficiency of voltage scaling in multiple clock, multiple voltage cores. In ICCAD, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Y.-W. Kwon and E. Tilevich. Reducing the energy consumption of mobile applications behind the scenes. In ICSM, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. D. Li, S. Hao, W. G. J. Halfond, and R. Govindan. Calculating source line level energy information for android applications. In ISSTA, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Y. Liu. Energy-efficient synchronization through program patterns. In GREENS, 2012.Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. M. Menarini, F. Seracini, X. Zhang, T. Rosing, and I. Kruger. Green web services: Improving energy efficiency in data centers via workload predictions. In GREENS, 2013.Google ScholarGoogle ScholarCross RefCross Ref
  19. A. Merkel and F. Bellosa. Balancing power consumption in multiprocessor systems. In EuroSys, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. P. Morrison and E. Murphy-Hill. Is programming knowledge related to age? an exploration of stack overflow. In MSR, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. A. Pathak, Y. C. Hu, and M. Zhang. Bootstrapping energy debugging on smartphones: A first look at energy bugs in mobile devices. In HotNets, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. K. Pentikousis. In search of energy-efficient mobile networking. Comm. Mag., 48(1), 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. G. Pinto and F. Castor. On the implications of language constructs for concurrent execution in the energy efficiency of multicore applications. In SPLASH Companion, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. K. K. Rangan, G.-Y. Wei, and D. Brooks. Thread motion: fine-grained power management for multi-core systems. In ISCA, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. H. Ribic and Y. D. Liu. Energy-efficient work-stealing language runtimes. In ASPLOS, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. C. Sahin, F. Cayci, I. Gutiérrez, J. Clause, F. Kiamilev, L. Pollock, and K. Winbladh. Initial explorations on design pattern energy usage. In GREENS, 2012.Google ScholarGoogle ScholarCross RefCross Ref
  27. L. Singer, F. Figueira Filho, and M.-A. Storey. Software engineering at the speed of light: How developers stay current using twitter. In ICSE, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. V. Tiwari, S. Malik, and A. Wolfe. Power analysis of embedded software: A first step towards software power minimization. IEEE Transactions on VLSI Systems, 2:437–445, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. A. E. Trefethen and J. Thiyagalingam. Energy-aware software: Challenges, opportunities and strategies. JCS, 2013.Google ScholarGoogle ScholarCross RefCross Ref
  30. C. Treude, O. Barzilay, and M.-A. Storey. How do programmers ask and answer questions on the web? (nier track). In ICSE, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. N. Vijaykrishnan, M. Kandemir, S. Kim, S. Tomar, A. Sivasubramaniam, and M. J. Irwin. Energy behavior of java applications from the memory perspective. In JVM, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. S. Wang, D. Lo, and L. Jiang. An empirical study on developer interactions in stackoverflow. In SAC, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. C. Wilke, C. Piechnick, S. Richly, G. Püschel, S. Götz, and U. Assmann. Comparing mobile applications’ energy consumption. In SAC, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. C. Wilke, S. Richly, S. Gotz, C. Piechnick, and U. Assmann. Energy consumption and efficiency in mobile applications: A user feedback study. In GreenCom, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. Z. Zhuang, K.-H. Kim, and J. P. Singh. Improving energy efficiency of location sensing on smartphones. In MobiSys, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Mining questions about software energy consumption

    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
      MSR 2014: Proceedings of the 11th Working Conference on Mining Software Repositories
      May 2014
      427 pages
      ISBN:9781450328630
      DOI:10.1145/2597073
      • General Chair:
      • Premkumar Devanbu,
      • Program Chairs:
      • Sung Kim,
      • Martin Pinzger

      Copyright © 2014 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 ACM 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: 31 May 2014

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Upcoming Conference

      ICSE 2025

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader