skip to main content
10.1145/2371536.2371541acmconferencesArticle/Chapter ViewAbstractPublication PagesicacConference Proceedingsconference-collections
research-article

Application-aware cross-layer virtual machine resource management

Authors Info & Claims
Published:18 September 2012Publication History

ABSTRACT

Existing resource management solutions in datacenters and cloud systems typically treat VMs as black boxes when making resource allocation decisions. This paper advocates the cooperation between VM host- and guest-layer schedulers for optimizing the resource management and application performance. It presents an approach to such cross-layer optimization upon fuzzy-modeling-based resource management. This approach exploits guest-layer application knowledge to capture workload characteristics and improve VM modeling, and enables the host-layer scheduler to feedback resource allocation decision and adapt guest-layer application configuration. As a case study, this approach is applied to virtualized databases which have challenging dynamic, complex resource usage behaviors. Specifically, it characterizes query workloads based on a database's internal cost estimation and adapts query executions by tuning the cost model parameters according to changing resource availability. A prototype of the proposed approach is implemented on Xen VMs and evaluated using workloads based on TPC-H and RUBiS. The results show that with guest-to-host workload characterization, resources can be efficiently allocated to database VMs serving workloads with changing intensity and composition while meeting Quality-of-Service (QoS) targets. For TPC-H, the prediction error for VM resource demand is less than 3.5%; for RUBiS, the response time target is met for 92% of the time. Both significantly outperform the resource allocation scheme without workload characterization. With host-to-guest database adaptation, the performance of TPC-H-based workloads is also improved by 17% when the VM's available I/O bandwidth is reduced due to contention.

References

  1. VMware, URL: http://www.vmware.com.Google ScholarGoogle Scholar
  2. P. Barham, Dragovic, B., Fraser, K., Hand, S., Harris, T., Ho, A., Neugebauer, R., Pratt, I. and Warfield, A, "Xen and the Art of Virtualization", SOSP, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Amazon Elastic Compute Cloud, URL: http://aws.amazon.com/ec2/.Google ScholarGoogle Scholar
  4. Windows Azure, URL: http://www.microsoft.com/windowsazure/.Google ScholarGoogle Scholar
  5. L. Wang, J. Xu, M. Zhao, Y. Tu and J. A.B. Fortes, "Fuzzy Modeling Based Resource Management for Virtualized Database Systems", MASCOTS, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. TPC-H Benchmark Specification, URL: http://www. tcp. org.Google ScholarGoogle Scholar
  7. C. Amza, A. Chanda, A. Cox, S. Elnikety, R. Gil, K. Rajamani and W. Zwaenepoel, "Specification and Implementation of Dynamic Web Site Benchmarks", WWC-5, 2002.Google ScholarGoogle Scholar
  8. J. Xu, M. Zhao and J. Fortes, "Autonomic Resource Management in Virtualized Data Centers Using Fuzzy-logic-based Control", Cluster Computing, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. S. Chiu, "Fuzzy Model Identification Based on Cluster Estimation", Journal of Intelligent and Fuzzy Systems, 1994.Google ScholarGoogle Scholar
  10. J. Liu, R. Rangaswami, and M. Zhao, "Model-Driven Network Emulation With Virtual Time Machine", Winter Simulation Conference, December 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. A. Chen, P. Goes, A. Gupta and J. Marsden, "Heuristics for Selecting Robust Database Structures with Dynamic Query Patterns", EJOR, 2006.Google ScholarGoogle ScholarCross RefCross Ref
  12. M. Wang, T. Madhyastha, N. Chan, S. Papadimitriou and C. Faloutsos, "Data Mining Meets Performance Evaluation: Fast Algorithms for Modeling Bursty Traffic", ICDE, 2002.Google ScholarGoogle Scholar
  13. S. Chaudhuri, "Relational Query Optimization -- Data Management Meets Statistical Estimation", Communications of ACM, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. dm-ioband, URL: http://sourceforge.net/apps/trac/ioband.Google ScholarGoogle Scholar
  15. M. Arlitt and T. Jin, "Workload Characterization of the 1998 World Cup Web Site," in HP Technical Report, 1999.Google ScholarGoogle Scholar
  16. Z. Gong and X. Gu, "PAC: Pattern-driven Application Consolidation for Efficient Cloud Computing", MASCOTS, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. G. Jung, M. Hiltunen, K. Joshi, R. Schlichting and C. Pu, "Mistral: Dynamically Managing Power, Performance, and Adaptation Cost in Cloud Infrastructures", ICDCS, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. J. Wildstrom, P. Stone and E. Witchel, "CARVE: A Cognitive Agent for Resource Value Estimation", ICAC, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. J. Rao, X. Bu, C. Xu, L. Wang and G. Yin, "VCONF: A Reinforcement Learning Approach to Virtual Machines Auto-configuration", ICAC, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. S. Kundu, R. Rangaswami, K. Dutta and M. Zhao, "Application Performance Modeling in a Virtualized Environment," HPCA, 2010.Google ScholarGoogle Scholar
  21. X. Liu, X. Zhu, S. Singhal and M. Arlitt, "Adaptive Entitlement Control of Resource Containers on Shared Servers", IM, 2005.Google ScholarGoogle Scholar
  22. Z. Wang, X. Zhu and S. Singhal, "Utilization and SLO-Based Control for Dynamic Sizing of Resource Partitions", DSOM, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. P. Padala, K. Hou, K. Shin, X. Zhu, M. Uysal, Z. Wang, S. Singhal and A. Merchant, "Automated Control of Multiple Virtualized Resources", SIGOPS/EuroSys, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. X. Liu, X. Zhu, P. Padala, Z. Wang and S. Singhal, "Optimal Multivariate Control for Differentiated Services on a Shared Hosting Platform", CDC, 2007.Google ScholarGoogle Scholar
  25. R.Nathuji and A. Kansal, "Q-Clouds: Managing Performance Interference Effects for QoS-Aware Clouds", Eurosys, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. P. Lama and X. Zhou, "PERFUME: Power and Performance Guarantee with Fuzzy MIMO Control in Virtualized Servers", IWQoS, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. L.Wang, J. Xu, M. Zhao and J. A.B. Fortes, "Adaptive Virtual Resource Management with Fuzzy Model Predictive Control" FeBID, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. R. Singh, U. Sharma, E. Cecchet, and P.J. Shenoy, "Autonomic Mix-Aware Provisioning for Non-Stationary Data Center Workloads", ICAC. 2010 Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. A. Soror, U. Minhas, A. Aboulnaga, K. Salem, P. Kokosielis and S. Kamath, "Automatic Virtual Machine Configuration for Database Workloads", SIGMOD, 2008 Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. G. Weikum, A. Moenkeberg, C. Hasse and P. Zabback, "Self-tuning Database Technology and Information Services: From Wishful Thinking to Viable Engineering", VLDB, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. S. Chaudhuri and G. Weikum, "Foundations of Automated Database Tuning", ICDE, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. B. Schroeder, M. Harchol-Balter, A. Iyengar and E. Nahum, "Achieving Class-based QoS for Transactional Workloads", ICDE, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. P. Martin, S. Elnaffar and T. Wasserman, "Workload Models for Autonomic Database Management Systems", ICAS, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. T. Wasserman, P. Martin and D. Skillicorn, "Developing a Characterization of Business Intelligence Workloads for Sizing New Database Systems", DOLAP, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Application-aware cross-layer virtual machine resource management

    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
      ICAC '12: Proceedings of the 9th international conference on Autonomic computing
      September 2012
      222 pages
      ISBN:9781450315203
      DOI:10.1145/2371536

      Copyright © 2012 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: 18 September 2012

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader