skip to main content
10.1145/2741948.2741971acmconferencesArticle/Chapter ViewAbstractPublication PageseurosysConference Proceedingsconference-collections
research-article

Process-level power estimation in VM-based systems

Published:17 April 2015Publication History

ABSTRACT

Power estimation of software processes provides critical indicators to drive scheduling or power capping heuristics. State-of-the-art solutions can perform coarse-grained power estimation in virtualized environments, typically treating virtual machines (VMs) as a black box. Yet, VM-based systems are nowadays commonly used to host multiple applications for cost savings and better use of energy by sharing common resources and assets.

In this paper, we propose a fine-grained monitoring middleware providing real-time and accurate power estimation of software processes running at any level of virtualization in a system. In particular, our solution automatically learns an application-agnostic power model, which can be used to estimate the power consumption of applications.

Our middleware implementation, named BitWatts, builds on a distributed actor implementation to collect process usage and infer fine-grained power consumption without imposing any hardware investment (e.g., power meters). BitWatts instances use high-throughput communication channels to spread the power consumption across the VM levels and between machines. Our experiments, based on CPU- and memory-intensive benchmarks running on different hardware setups, demonstrate that BitWatts scales both in number of monitored processes and virtualization levels. This non-invasive monitoring solution therefore paves the way for scalable energy accounting that takes into account the dynamic nature of virtualized environments.

Skip Supplemental Material Section

Supplemental Material

a14-sidebyside.mp4

mp4

1,019.1 MB

References

  1. SPECjbb2013 Design Document. Standard Performance Evaluation Corporation (SPEC) (2013).Google ScholarGoogle Scholar
  2. Ben-Yehuda, M., Day, M. D., Dubitzky, Z., Factor, M., Har'El, N., Gordon, A., Liguori, A., Wasserman, O., and Yassour, B.-A. The Turtles Project: Design and Implementation of Nested Virtualization. In Proc. of the USENIX Symposium on Operating Systems Design and Implementation (OSDI) (Oct. 2010), pp. 423--436. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Bertran, R., Becerra, Y., Carrera, D., Beltran, V., Gonzílez, M., Martorell, X., Navarro, N., Torres, J., and Ayguadé, E. Energy Accounting for Shared Virtualized Environments Under DVFS Using PMC-based Power Models. Future Generation Computer Systems 28, 2 (2012), pp. 457--468. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Bienia, C. Benchmarking Modern Multiprocessors. PhD thesis, Princeton University, Jan. 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Bircher, W. L., and John, L. K. Complete System Power Estimation: A Trickle-Down Approach Based on Performance Events. In Proc. of IEEE International Symposium on Performance Analysis of Systems & Software (ISPASS) (Apr. 2007), pp. 158--168.Google ScholarGoogle Scholar
  6. Bohra, A., and Chaudhary, V. VMeter: Power Modelling for Virtualized Clouds. In Proc. of IEEE International Symposium on Parallel Distributed Processing (IPDPSW) (Apr. 2010), pp. 1--8.Google ScholarGoogle Scholar
  7. Contreras, G., and Martonosi, M. Power prediction for intel XScale® processors using performance monitoring unit events. In Proc. of IEEE International Symposium on Low Power Electronics and Design (ISLPED) (Aug. 2005), pp. 221--226. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Cook, G. How Clean is Your Cloud? Greenpeace, Apr. 2012.Google ScholarGoogle Scholar
  9. Hähnel, M., Döbel, B., Völp, M., and Härtig, H. Measuring Energy Consumption for Short Code Paths Using RAPL. ACM SIGMETRICS Performance Evaluation Review 40, 3 (Dec. 2012), pp. 13--17. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Janacek, S., Schroder, K., Schomaker, G., Nebel, W., Ruschen, M., and Pistoor, G. Modeling and approaching a cost transparent, specific data center power consumption. In Proc. of International Conference on Energy Aware Computing (ICEAC) (Dec. 2012), pp. 1--6.Google ScholarGoogle ScholarCross RefCross Ref
  11. Kansal, A., Zhao, F., Liu, J., Kothari, N., and Bhattacharya, A. A. Virtual Machine Power Metering and Provisioning. In Proc. of ACM Symposium on Cloud Computing (SoCC) (June 2010), pp. 39--50. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Kivity, A., Kamay, Y., Laor, D., Lublin, U., and Liguori, A. kvm: the Linux Virtual Machine Monitor. In Proc. of the Linux Symposium (June 2007), vol. 1, pp. 225--230.Google ScholarGoogle Scholar
  13. Knauth, T., and Fetzer, C. DreamServer: Truly On-Demand Cloud Services. In Proc. of ACM SIGOPS International Conference on Systems & Storage (SYSTOR) (June 2014), pp. 1--11. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Koller, R., Verma, A., and Neogi, A. WattApp: An Application Aware Power Meter for Shared Data Centers. In Proc. of ACM International Conference on Autonomic Computing (ICAC) (June 2010), pp. 31--40. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Krevat, E., Tucek, J., and Ganger, G. R. Disks Are Like Snowflakes: No Two Are Alike. In Proc. of USENIX conference on Hot topics in Operating Systems (HotOS) (May 2011), pp. 14--14. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Krishnan, B., Amur, H., Gavrilovska, A., and Schwan, K. VM Power Metering: Feasibility and Challenges. ACM SIGMETRICS Performance Evaluation Review 38, 3 (Jan. 2011), pp. 56--60. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Li, T., and John, L. K. Run-time Modeling and Estimation of Operating System Power Consumption. ACM SIGMETRICS Performance Evaluation Review 31, 1 (June 2003), pp. 160--171. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Lim, M. Y., Porterfield, A., and Fowler, R. J. Soft-Power: Fine-Grain Power Estimations Using Performance Counters. In Proc. of ACM International Symposium on High Performance Distributed Computing (HPDC) (June 2010), pp. 308--311. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. McCullough, J. C., Agarwal, Y., Chandrashekar, J., Kuppuswamy, S., Snoeren, A. C., and Gupta, R. K. Evaluating the Effectiveness of Model-Based Power Characterization. In Proc. of USENIX Annual Technical Conference (ATC) (June 2011), pp. 12--12. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Noureddine, A., Bourdon, A., Rouvoy, R., and Seinturier, L. Runtime Monitoring of Software Energy Hotspots. In Proc. of the IEEE/ACM International Conference on Automated Software Engineering (ASE) (Sept. 2012), pp. 160--169. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Noureddine, A., Rouvoy, R., and Seinturier, L. Unit Testing of Energy Consumption of Software Libraries. In Proc. of ACM Symposium On Applied Computing (Mar. 2014), pp. 1200--1205. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Orgerie, A.-C., Assuncao, M. D. d., and Lefevre, L. A Survey on Techniques for Improving the Energy Efficiency of Large-scale Distributed Systems. ACM Computing Surveys (CSUR) 46, 4 (Apr. 2014), pp. 47:1--47:31. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Powell, M. D., Biswas, A., Emer, J. S., Mukherjee, S. S., Sheikh, B. R., and Yardi, S. CAMP: A Technique to Estimate Per-Structure Power at Run-time using a Few Simple Parameters. In Proc. of IEEE International Symposium on High Performance Computer Architecture (HPCA) (Feb. 2009), pp. 289--300.Google ScholarGoogle ScholarCross RefCross Ref
  24. Sanderson, D. Programming Google App Engine: Build and Run Scalable Web Apps on Google's Infrastructure. O'Reilly Media, Inc., Dec. 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Shen, K., Shriraman, A., Dwarkadas, S., Zhang, X., and Chen, Z. Power Containers: An OS Facility for Fine-grained Power and Energy Management on Multicore Servers. In Proc. of International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) (Apr. 2013), pp. 65--76. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Sterling, C. Energy Consumption tool in Visual Studio 2013, July 2013.Google ScholarGoogle Scholar
  27. Stoess, J., Lang, C., and Bellosa, F. Energy Management for Hypervisor-Based Virtual Machines. In Proc. of USENIX Annual Technical Conference (ATC) (June 2007), pp. 1--14. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. The Climate Group. SMART 2020: Enabling the low carbon economy in the information age, 2008.Google ScholarGoogle Scholar
  29. Verma, A., Ahuja, P., and Neogi, A. pMapper: Power and Migration Cost Aware Application Placement in Virtualized Systems. In Proc. of ACM/IFIP/USENIX Middleware Conference (Dec. 2008), Springer, pp. 243--264. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Versick, D., Wassmann, I., and Tavangarian, D. Power Consumption Estimation of CPU and Peripheral Components in Virtual Machines. ACM SIGAPP Applied Computing Review 13, 3 (Sept. 2013), pp. 17--25. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. Wang, S., Chen, H., and Shi, W. SPAN: A software power analyzer for multicore computer systems. Sustainable Computing: Informatics and Systems 1, 1 (2011), pp. 23--34.Google ScholarGoogle ScholarCross RefCross Ref
  32. Zhai, Y., Zhang, X., Eranian, S., Tang, L., and Mars, J. HaPPy: Hyperthread-aware Power Profiling Dynamically. In Proc. of USENIX Annual Technical Conference (ATC) (June 2014), pp. 211--217. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Process-level power estimation in VM-based systems

          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
            EuroSys '15: Proceedings of the Tenth European Conference on Computer Systems
            April 2015
            503 pages
            ISBN:9781450332385
            DOI:10.1145/2741948

            Copyright © 2015 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: 17 April 2015

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article

            Acceptance Rates

            Overall Acceptance Rate241of1,308submissions,18%

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader