Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

Working Set Size Estimation Techniques in Virtualized Environments: One Size Does not Fit All

Published: 03 April 2018 Publication History

Abstract

Energy consumption is a primary concern for datacenters? management. Numerous datacenters are relying on virtualization, as it provides flexible resource management means such as virtual machine (VM) checkpoint/restart, migration and consolidation. However, one of the main hindrances to server consolidation is physical memory. In nowadays cloud, memory is generally statically allocated to VMs and wasted if not used. Techniques (such as ballooning) were introduced for dynamically reclaiming memory from VMs, such that only the needed memory is provisioned to each VM. However, the challenge is to precisely monitor the needed memory, i.e., the working set of each VM. In this paper, we thoroughly review the main techniques that were proposed for monitoring the working set of VMs. Additionally, we have implemented the main techniques in the Xen hypervisor and we have defined different metrics in order to evaluate their efficiency. Based on the evaluation results, we propose Badis, a system which combines several of the existing solutions, using the right solution at the right time. We also propose a consolidation extension which leverages Badis in order to pack the VMs based on the working set size and not the booked memory. The implementation of all techniques, our proposed system, and the benchmarks we have used are publicly available in order to support further research in this domain.

References

[1]
https://github.com/papers02/working_set.git
[2]
U. Hölzle and L. André Barroso. The Datacenter as a Computer: An Introduction to the Design of Warehouse-Scale Machines. Morgan and Claypool Publishers, 2009.
[3]
America's Data Centers Are Wasting Huge Amounts of Energy. http://anthesisgroup.com/wp-content/uploads/2014/08/Data-Center-IB-final826.pdf
[4]
C. Subramanian, A. Vasan, and A. Sivasubramaniam. Reducing data center power with server consolidation: Approximation and evaluation. HiPC, 2010.
[5]
L. André Barroso and U. Hölzle The Case for Energy-Proportional Computing. IEEE Computer 2007.
[6]
C. Delimitrou and C. Kozyrakis Quasar: resource-efficient and QoS-aware cluster management. ASPLOS 2014.
[7]
D. Meisner, B. T Gold, and T. F Wenisch The PowerNap Server Architecture. ACM Transaction on Computer Systems 2011.
[8]
K. T. Lim, J. Chang, T. N. Mudge, P. Ranganathan, S. K. Reinhardt, T. F. Wenisch Disaggregated memory for expansion and sharing in blade servers. ISCA 2009.%
[9]
%S. Barker, T. Wood, P. Shenoy, and R. Sitaraman. An Empirical Study of Memory Sharing in Virtual Machines.% ATC 2012.
[10]
G. Milos, D. G. Murray, S. Hand, and M. A. Fetterman Satori: enlightened page sharing. ATC 2009.
[11]
P. Barham, B. Dragovic, K. Fraser, S. Hand, T. Harris, A. Ho, R. Neugebauer, I. Pratt, A. Warfield Xen and the Art of Virtualization. SOSP 2003.
[12]
Amazon Web Services, Inc. https://aws.amazon.com/ec2/
[13]
C. A. Waldspurger Memory Resource Management in VMware ESX Server. OSDI 2002.
[14]
https://blog.xenproject.org/2008/08/27/xen-33-feature-memory-overcommit/. visited on May 2017.
[15]
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-proc-meminfo.html. visited on May 2017.
[16]
J. Chiang, L. Han-Lin, and C. Tzi-cker. Memory Working Set-based Physical Memory Ballooning. ICAC 2013.
[17]
S. T. Jones, A. C. Arpaci-Dusseau, and R. H. Arpaci-Dusseau. Geiger: monitoring the buffer cache in a virtual machine environment. SIGARCH 2006.
[18]
R. H. Patterson, G. A. Gibson, E. Ginting, D. Stodolsky, and J. Zelenka. Informed prefetching and caching. SOSP 1995.
[19]
P. Lu and K. She. Virtual machine memory access tracing with hypervisor exclusive cache. ATC 2007.
[20]
Blackburn, S. M., Garner, R., Hoffman, C., Khan, A. M., McKinley, K. S., Bentzur, R., Diwan, A., Feinberg, D., Frampton, D., Guyer, S. Z., Hirzel, M., Hosking, A., Jump, M., Lee, H., Moss, J. E. B., Phansalkar, A., Stefanovic, D., VanDrunen, T., von Dincklage, D., and Wiedermann, B. The DaCapo Benchmarks: Java Benchmarking Development and Analysis. OOPSLA '06: Proceedings of the 21st annual ACM SIGPLAN conference on Object-Oriented Programing, Systems, Languages, and Applications, (Portland, OR, USA, October 22--26, 2006)
[21]
CloudSuite. http://cloudsuite.ch/. visited on May 2017.
[22]
T. G. Armstrong, V. Ponnekanti, D. Borthakur, and M. Callaghan LinkBench: a database benchmark based on the Facebook social graph. SIGMOD 2013.
[23]
W. Zhao and Z. Wang Dynamic memory balancing for virtual machines. VEE 2009.
[24]
W. Zhao, X. Jin, Z. Wang, X. Wang, Y. Luo, and X. Li Low cost working set size tracking. ATC 2011.
[25]
Melekhova A, Markeeva L. Estimating Working Set Size by Guest OS Performance Counters Means. The Sixth International Conference on Cloud Computing, GRIDs, and Virtualization 2015.
[26]
E. Bugnion, S. Devine, K. Govil, and M. Rosenblum Disco: Running Commodity Operating Systems on Scalable Multiprocessors. ACM Trans. Computer Systems, vol. 15, no. 4, pp. 412--447, 1997.
[27]
Gupta D, Lee S, Vrable M, Savage S, Snoeren C A, Varghese G, Voelker M. G, Vahdat A Difference Engine: Harnessing Memory Redundancy in Virtual Machines OSDI 2008.%
[28]
%Weiming Zhao and Zhenlin Wang% Dynamic Memory Balancing for Virtual Machines.% VEE 2009.%
[29]
%D. Magenheimer, C. Mason, D. McCracken, and K. Hackel,% Paravirtualized Paging.% Workshop I/O Virtualization 2008
[30]
Tudor-Ioan Salomie, Gustavo Alonso, Timothy Roscoe, and Kevin Elphinstone. Application level ballooning for efficient server consolidation. EuroSys 2013.%
[31]
%Hwanju Kim, Heeseung Jo, and Joonwon LeeJ% XHive: Efficient Cooperative Caching for Virtual Machines.% IEEE TRANSACTIONS ON COMPUTERS 2011.%
[32]
%Woomin Hwang, Yangwoo Roh, Youngwoo Park, Ki-Woong Park, and Kyu Ho Par.% HyperDealer: Reference-pattern-aware Instant Memory Balancing for Consolidated Virtual Machines.% Cloud 2010.
[33]
Weiming Zhao Zhenlin Wang. Dynamic Memory Balancing for Virtualization. TACO 2016.
[34]
Dan Magenheimer, Chris Mason, Dave McCracken, Kurt Hackel. Transcendent Memory and Linux. Ottawa Linux Symposium (OLS) 2009
[35]
Irina Chihaia Tuduce and Thomas Gross. Adaptive Main Memory Compression. ATC 2005.
[36]
Gennady Pekhimenko, Todd C. Mowry, and Onur Mutlu. Linearly Compressed Pages: A Main Memory Compression Framework with Low Complexity and Low Latency. PACT 2012.
[37]
Lei Yang Haris Lekatsas Robert P. Dick. High-Performance Operating System Controlled Memory Compression. DAC 2006.
[38]
Pin Zhou, Vivek Pandey, Jagadeesan Sundaresan, Anand Raghuraman, Yuanyuan Zhou and Sanjeev Kumar. Dynamic tracking of page miss ratio curve for memory management. ASPLOS 2004.
[39]
Carl A. Waldspurger, Nohhyun Park, Alexander Garthwaite, and Irfan Ahmad. Efficient MRC Construction with SHARDS. FAST 2015.%
[40]
%Anna Melekhova.% Machine Learning in Virtualization: Estimate a Virtual Machine's Working Set Size.% CLOUD 2013.
[41]
Haikun Liu, Cheng-Zhong Xu, Hai Jin, Jiayu Gong, Xiaofei Liao Energy modeling for live migration of virtual machines. Cluster Computingi.
[42]
William Voorsluys, James Broberg, Srikumar Venugopal, Rajkumar Buyya Cost of Virtual Machine Live Migration in Clouds: A Performance Evaluation. CloudCom.
[43]
Anton Beloglazov, Rajkumar Buyya OpenStack Neat: a framework for dynamic and energy-efficient consolidation of virtual machines in OpenStack clouds. Concurrency and Computation: Practice and Experience.
[44]
Omar Sefraoui, Mohammed Aissaoui, Mohsine Eleuldj Openstack: Toward an open-source solution for cloud computing. International Journal of Computer Applications.
[45]
Sheng Di, Franck Cappello. GloudSim: Google trace based cloud simulator with virtual machines. SPE 2015.
[46]
Google Traces. https://github.com/google/cluster-data/blob/master/ClusterData2011_2.md
[47]
Meng, Xiaoqiao and Isci, Canturk and Kephart, Jeffrey and Zhang, Li and Bouillet, Eric and Pendarakis, Dimitrios. Efficient Resource Provisioning in Compute Clouds via VM Multiplexing. ICAC 2010.
[48]
A. Karve, T. Kimbrel, G. Pacifici, M. Spreitzer, M. Sviridenko, and A. Tantawi. Dynamic placement for clustered web applications. In WWW, 2006.
[49]
K.H.Kim, A.Beloglazov, R.Buyya. Power-aware provisioning of cloud resources for real-time services. MGC 2009.
[50]
A.Beloglazov, R.Buyya. Energy efficient resource management in virtualized cloud datacenters. Cloud and Grid Computing 2010.
[51]
H.S. Abdelsalam, K. Maly, R. Mukkamala, M. Zubair, D. Kaminsky. Analysis of energy efficiency in Clouds. Computation World: Future Computing, Service Computation, Cognitive, Adaptive, Content, Patterns, 2009.
[52]
G.Jung, M.A.Hiltunen, K.R.Joshi, R.D.Schlichting, C.Pu Mistral:dynamically managing power, performance, and adaptation cost in Cloud infrastructures. ICDCS 2010.
[53]
Feller E, Rilling L, Morin C. Snooze: a scalable and autonomic virtual machine management framework for private clouds. CCGrid 2012.
[54]
Jinchun Kim, Viacheslav Fedorov, Paul V. Gratz, A. L. Narasimha Reddy Dynamic Memory Pressure Aware Ballooning. MEMSYS 2015.
[55]
Eolas cloud provider. https://www.eolas.fr/

Cited By

View all
  • (2024)Towards Swap-Free, Continuous Ballooning for Fast, Cloud-Based Virtual Machine MigrationsProceedings of the 2024 ACM Symposium on Cloud Computing10.1145/3698038.3698543(269-283)Online publication date: 20-Nov-2024
  • (2022)A Remote Memory Sharing System for Virtualized Computing InfrastructuresIEEE Transactions on Cloud Computing10.1109/TCC.2020.301808910:3(1532-1542)Online publication date: 1-Jul-2022
  • (2022)A Performance Improvement Model for Market Surveillance Application2022 3rd International Informatics and Software Engineering Conference (IISEC)10.1109/IISEC56263.2022.9998279(1-6)Online publication date: 15-Dec-2022
  • Show More Cited By

Index Terms

  1. Working Set Size Estimation Techniques in Virtualized Environments: One Size Does not Fit All

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image Proceedings of the ACM on Measurement and Analysis of Computing Systems
      Proceedings of the ACM on Measurement and Analysis of Computing Systems  Volume 2, Issue 1
      March 2018
      603 pages
      EISSN:2476-1249
      DOI:10.1145/3203302
      Issue’s Table of Contents
      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: 03 April 2018
      Published in POMACS Volume 2, Issue 1

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. cloud computing
      2. energy consumption optimization
      3. virtualization

      Qualifiers

      • Research-article

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)11
      • Downloads (Last 6 weeks)2
      Reflects downloads up to 27 Nov 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2024)Towards Swap-Free, Continuous Ballooning for Fast, Cloud-Based Virtual Machine MigrationsProceedings of the 2024 ACM Symposium on Cloud Computing10.1145/3698038.3698543(269-283)Online publication date: 20-Nov-2024
      • (2022)A Remote Memory Sharing System for Virtualized Computing InfrastructuresIEEE Transactions on Cloud Computing10.1109/TCC.2020.301808910:3(1532-1542)Online publication date: 1-Jul-2022
      • (2022)A Performance Improvement Model for Market Surveillance Application2022 3rd International Informatics and Software Engineering Conference (IISEC)10.1109/IISEC56263.2022.9998279(1-6)Online publication date: 15-Dec-2022
      • (2022)eBPF-based Working Set Size Estimation in Memory Management2022 International Conference on Service Science (ICSS)10.1109/ICSS55994.2022.00036(188-195)Online publication date: May-2022
      • (2021)Extending Intel PML for hardware-assisted working set size estimation of VMsProceedings of the 17th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments10.1145/3453933.3454018(111-124)Online publication date: 7-Apr-2021
      • (2021)(No)Compromis: paging virtualization is not a fatalityProceedings of the 17th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments10.1145/3453933.3454013(43-56)Online publication date: 7-Apr-2021
      • (2021)High-Throughput Bin Packing: Scheduling Jobs With Random Resource Demands in ClustersIEEE/ACM Transactions on Networking10.1109/TNET.2020.303402229:1(220-233)Online publication date: Mar-2021
      • (2020)Performance Optimization System for Hadoop and Spark FrameworksCybernetics and Information Technologies10.2478/cait-2020-005620:6(5-17)Online publication date: 1-Dec-2020
      • (2020)Huge Page Friendly Virtualized Memory ManagementJournal of Computer Science and Technology10.1007/s11390-020-9693-035:2(433-452)Online publication date: 27-Mar-2020
      • (2019)When eXtended Para - Virtualization (XPV) Meets NUMAProceedings of the Fourteenth EuroSys Conference 201910.1145/3302424.3303960(1-15)Online publication date: 25-Mar-2019

      View Options

      Login options

      Full Access

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media