skip to main content
10.1145/2652524.2652578acmconferencesArticle/Chapter ViewAbstractPublication PagesesemConference Proceedingsconference-collections
research-article

Mining energy traces to aid in software development: an empirical case study

Published:18 September 2014Publication History

ABSTRACT

Context: With the advent of increased computing on mobile devices such as phones and tablets, it has become crucial to pay attention to the energy consumption of mobile applications.

Goal: The software engineering field is now faced with a whole new spectrum of energy-related challenges, ranging from power budgeting to testing and debugging the energy consumption, for which exists only limited tool support. The goal of this work is to provide techniques to engineers to analyze power consumption and detect anomalies.

Method: In this paper, we present our work on analyzing energy patterns for the Windows Phone platform. We first describe the data that is collected for testing (power traces and execution logs). We then present several approaches for describing power consumption and detecting anomalous energy patterns and potential energy defects. Finally we show prediction models based on usage of individual modules that can estimate the overall energy consumption with high accuracy.

Results: The techniques in this paper were successful in modeling and estimating power consumption and in detecting anomalies.

Conclusions: The techniques presented in the paper allow assessing the individual impact of modules on the overall energy consumption and support overall energy planning.

References

  1. Adams, S. Uncommunication Devices. http://dilbert.com/blog/entry/uncommunication_devices. 2011.Google ScholarGoogle Scholar
  2. Entner, R. Smartphones to Overtake Feature Phones in U.S. by 2011. http://blog.nielsen.com/nielsenwire/consumer/smartphones-to-overtake-feature-phones-in-u-s-by-2011/. 2010.Google ScholarGoogle Scholar
  3. IDC. IDC - Press Release. http://www.idc.com/getdoc.jsp?containerId=prUS23299912. 2012.Google ScholarGoogle Scholar
  4. IDC. IDC: More Mobile Internet Users Than Wireline Users in the U.S. by 2015. http://www.idc.com/getdoc.jsp?containerId=prUS23028711. 2011.Google ScholarGoogle Scholar
  5. Fried, I. Apple Confirms iOS 5 Bugs Causing Battery Issues for Some iPhones. http://allthingsd.com/20111102/apple-some-ios5-bugs-prompting-iphone-battery-issues/. 2011.Google ScholarGoogle Scholar
  6. Raphael, J. Android battery life: 10 ways to make your phone last longer. http://blogs.computerworld.com/16965/improve_android_battery_life. 2010.Google ScholarGoogle Scholar
  7. Gupta, A., Zimmermann, T., Bird, C., Nagappan, N., Bhat, T., and Emran, S. Detecting Energy Patterns in Software Development. Technical Report MSR-TR-2011-106, Microsoft Research, 2011.Google ScholarGoogle Scholar
  8. Han, J., Kamber, M., and Pei, J. Data Mining: Concepts and Techniques. Morgan Kaufmann, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Kullback, S. and Leibler, R. A. On Information and Sufficiency. Annals of Mathematical Statistics, 22, 1 (1951), 79--86.Google ScholarGoogle ScholarCross RefCross Ref
  10. Hastie, T., Tibshirani, R., and Friedman, J. The Elements of Statistical Learning. Springer, 2009.Google ScholarGoogle ScholarCross RefCross Ref
  11. Meila, M. Comparing clusterings -- an information based distance. Journal of Multivariate Analysis, 98 (2007), 873--895. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Munson, J. and Khoshgoftaar, T. The Detection of Fault-Prone Programs. IEEE Transactions on Software Engineering, 18 (1992), 423--433. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Waserman, L. All of Statistics: A Concise Course in Statistical Inference. Springer, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Cohen, J. Statistical power analysis for the behavioral sciences. Routledge Academic, 1988.Google ScholarGoogle Scholar
  15. Shye, A., Scholbrock, B., and Memik, G. Into the Wild: Studying Real User Activity Patterns to Guide Power Optimizations for Mobile Architectures. In MICRO '09: 42st Annual IEEE/ACM International Symposium on Microarchitecture (2009), 168--178. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Group, A. S. E. R. Resource/Energy-Efficient Software. https://sites.google.com/site/asergrp/bibli/energy-efficient. 2012.Google ScholarGoogle Scholar
  17. Bickford, J., Lagar-Cavilla, H. A., Varshavsky, A., Ganapathy, V., and Iftode, L. Security versus Energy Tradeoffs in Host-based Mobile Malware Detection. In Proceedings of the 9th International Conference on Mobile Systems, Applications, and Services (MobiSys 2011) (2011), 225--238. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Cheng, J., Wong, S., Yang, H., and Lu, S. Smartsiren: Virus detection and alert for Smartphones. In MobiSys '07: Proceedings of the 5th International Conference on Mobile Systems, Applications, and Services (2007), 258--271. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Kim, H., Smith, J., and Shin, K. G. Detecting Energy-Greedy Anomalies and Mobile Malware Variants. In MobiSys '08: Proceedings of the 6th International Conference on Mobile Systems, Applications, and Services (2008), 239--252. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Bunse, C., Höpfner, H., Roychoudhury, S., and Mansour, E. Energy Efficient Data Sorting Using Standard Sorting Algorithms. Software and Data Technologies (2011).Google ScholarGoogle Scholar
  21. Bunse, C., Hoepfner, H., Roychoudhury, S., and Mansour, E. Choosing the" best" sorting algorithm for optimal energy consumption. In Proceedings of the International Conference on Software and Data Technologies (ICSOFT) (2009), 199--206.Google ScholarGoogle Scholar
  22. Bunse, C., Höpfner, H., Mansour, E., and Roychoudhury, S. Exploring the Energy Consumption of Data Sorting Algorithms in Embedded and Mobile Environments. In Tenth International Conference on Mobile Data Management: Systems, Services and Middleware (2009). Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Balasubramanian, N., Balasubramanian, A., and Venkataramani, A. Energy Consumption in Mobile Phones: A Measurement Study and Implications for Network Applications. In Internet Measurement Conference (2009), 280--293. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Pathak, A., Hu, Y. C., Zhang, M., Bahl, P., and Wang, Y.-M. Fine-Grained Power Modeling for Smartphones Using System Call Tracing. In EuroSys '11: Proceedings of the Sixth European Conference on Computer Systems European Conference on Computer Systems (2011), 153--168. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Flinn, J. and Satyanarayanan, M. PowerScope: A Tool for Profiling the Energy Usage of Mobile Applications. In WMCSA '99: Workshop on Mobile Computing systems and Applications (1999), 2--10. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Muttreja, A., Raghunathan, A., Ravi, S., and Jha, N. K. Hybrid simulation for embedded software energy estimation. In Proceedings of the 42nd Design Automation Conference (2005), 23--26. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Brandolese, C. Source-Level Estimation of Energy Consumption and Execution Time of Embedded Software. In 11th EUROMICRO Conference on Digital System Design Architectures, Methods and Tools (2008). Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Li, Z., Grosu, R., Muppalla, K., Smolka, S. A., Stoller, S. D., and Zadok, E. Model Discovery for Energy-Aware Computing Systems: An Experimental Evaluation. In Workshop on Energy Consumption and Reliability of Storage Systems (ERSS 2011) (2011), 1--6. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Kan, E. Y. Y., Chan, W. K., and Tse, T. H. Leveraging Performance and Power Savings for Embedded Systems using Multiple Target Deadlines. In First International Workshop on Embedded System Software Development and Quality Assurance (WESQA) (2010). Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Zhao, X., Guo, Y., Feng, Q., and Chen, X. A System Context-Aware Approach for Battery Lifetime Prediction in Smart Phones. In Proceedings of the 2011 ACM Symposium on Applied Computing (SAC) (2011). Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. Amsel, N. and Tomlinson, B. Green tracker: a tool for estimating the energy consumption of software. In Proceedings of the 28th of the international conference extended abstracts on Human factors in computing systems (CHI EA '10) (2010). Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. Hoffman, H., Sidiroglou, S., Carbin, M., Misailovic, S., Agarwal, A., and Rinard, M. Dynamic Knobs for Responsive Power-Aware Computation. In Proceedings of the 16th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) (2011), 199--212. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. Thompson, C., Schmidt, D. C., Turner, H. A., and White, J. Analyzing Mobile Application Software Power Consumption via Model-driven Engineering. In PECCS'11: Proc. of the 1st Intl. Conference on Pervasive and Embedded Computing and Communication Systems (2011), 101--113.Google ScholarGoogle Scholar
  34. Hao, S., Li, D., Halfond, W. G. J., and Govindan, R. Estimating mobile application energy consumption using program analysis. In ICSE'13: Proceedings of the 35th International Conference on Software Engineering (2013), 92--101. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Mining energy traces to aid in software development: an empirical case study

    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
      ESEM '14: Proceedings of the 8th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement
      September 2014
      461 pages
      ISBN:9781450327749
      DOI:10.1145/2652524

      Copyright © 2014 Owner/Author

      Permission to make digital or hard copies of part or all 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 third-party components of this work must be honored. For all other uses, contact the Owner/Author.

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 18 September 2014

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      ESEM '14 Paper Acceptance Rate23of123submissions,19%Overall Acceptance Rate130of594submissions,22%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader