Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1998582.1998639acmconferencesArticle/Chapter ViewAbstractPublication PagesicacConference Proceedingsconference-collections
research-article

Enhancing virtualized application performance through dynamic adaptive paging mode selection

Published: 14 June 2011 Publication History

Abstract

Virtual address translation in a virtual machine monitor (VMM) for modern x86 processors can be implemented using a software approach known as shadow paging or a hardware approach known as nested paging. Most VMMs, including our Palacios VMM, support both. Using a range of benchmark measurements, we show that which approach is preferable for achieving high application performance under virtualization is workload dependent, and that the performance differences between the two approaches can be substantial. We have developed an algorithm, based on measuring the TLB miss rate and the VMM exit rate for paging-related exits, for measuring the performance of the current paging approach during normal execution and predicting when switching approaches is likely to be beneficial to the application. We combine this with new support in Palacios for switching paging approaches at any time to implement a dynamic adaptive paging approach called DAV2M for dynamically adaptive virtualized virtual memory. DAV2M attempts to deliver application performance that is the same or better than the best static approach for a given workload. Our evaluation shows that it does so, and, for a range of benchmarks, DAV2M delivers performance within 5--8% of native, reducing overheads by as much as a factor of four. Although both the shadow and nested paging approaches are evolving, the dynamic adaptive approach can combine their best qualities.

References

[1]
Pinpoints. http://www.pintool.org/pinpoints.html.
[2]
Puppy linux. http://puppylinux.org.
[3]
SPEC CPU. http://www.spec.org.
[4]
ADAMS, K., AND AGESEN, O. A comparison of software and hardware techniques for x86 virtualization. In Proceedings of the 12th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) (October 2006).
[5]
AMD, INC. AMD64 Architecture Programmer's Manual Vol 2: System Programming, June.
[6]
AMD, INC. Software Optimization Guide for AMD Family 10h and 12h Processors, December.
[7]
AMD, INC. BIOS and Kernel Developer's Guide for AMD Athlon 64 and AMD Opteron Processors, 3.3 ed., February 2006.
[8]
BAE, C., LANGE, J. R., AND DINDA, P. A. Comparing approaches to virtualized page translation in modern vmms. Tech. Rep. NWU-EECS-10-07, Department of Electrical Engineering and Computer Science, Northwestern University, April 2010.
[9]
BARHAM, P., DRAGOVIC, B., FRASER, K., HAND, S., HARRIS, T., HO, A., NEUGEBAUER, R., PRATT, I., AND WARFIELD, A. Xen and the art of virtualization. In ACM Symposium on Operating Systems Principles (SOSP) (2003), pp. 164?177.
[10]
BARR, T., COX, A., AND RIXNER, S. Translation caching: Skip, don't walk (the page table). In Proceedings of the 37th International Symposium on Computer Architecture (ISCA) (June 2010).
[11]
BHARGAVA, R., SEREBRIN, B., SPANINI, F., AND MANNE, S. Accelerating two-dimensional page walks for virtualized systems. In Proceedings of the 13th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) (March 2008).
[12]
BHATTACHARJEE, A., AND MARTONOSI, M. Characterizing the TLB behavior of emerging parallel workloads on chip multiprocessors. In Proceedings of the 8th International Conference on Parallel Architectures and Compilation Techniques (PACT) (October 2009).
[13]
BIENIA, C., AND LI, K. PARSEC 2.0: A new benchmark suite for chip-multiprocessors. In Proceedings of the 5th Annual Workshop on Modeling, Benchmarking and Simulation (June 2009).
[14]
GORMAN, M., AND HEALY, P. Performance characteristics of explicit superpage support. In Proceedings of the 6th Annual Workshop on the Interaction between Operating Systems and Computer Architecture (WIOSCA) (June 2010).
[15]
HOANG, G., BAE, C., LANGE, J., ZHANG, L., DINDA, P., AND JOSEPH, R. A case for alternative nested paging models for virtualized systems. Computer Architecture Letters 9, 1 (January 2010), 17?20.
[16]
INTEL CORPORATION. Intel 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide Part 2, January 2011.
[17]
KARGER, P. Performance and security lessons learned from virtualizing the alpha processor. In Proceedings of the 34th International Symposium on Computer Architecture (ISCA) (June 2007).
[18]
LANGE, J., PEDRETTI, K., DINDA, P., BRIDGES, P., BAE, C., SOLTERO, P., AND MERRITT, A. Minimal overhead virtualization of a large scale supercomputer. In Proceedings of the 2011 ACM International Conference on Virtual Execution Environments (VEE) (March 2011).
[19]
LANGE, J., PEDRETTI, K., HUDSON, T., DINDA, P., CUI, Z., XIA, L., BRIDGES, P., GOCKE, A., JACONETTE, S., LEVENHAGEN, M., AND BRIGHTWELL, R. Palacios and kitten: New high performance operating systems for scalable virtualized and native supercomputing. In Proceedings of the 24th IEEE International Parallel and Distributed Processing Symposium (IPDPS) (April 2010).
[20]
WALDSBURGER, C. Memory resource management in vmware esx server. In 2002 Symposium on Operating Systems Design and Implementation (OSDI) (2002).
[21]
WANG, X., ZANG, J., WANG, Z., LUO, Y., AND LI, X. Selective hardware/software memory virtualization. In Proceedings of the 2011 ACM International Conference on Virtual Execution Environments (VEE) (March 2011).

Cited By

View all
  • (2021)Fast local page-tables for virtualized NUMA servers with vMitosisProceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems10.1145/3445814.3446709(194-210)Online publication date: 19-Apr-2021
  • (2019)Prospects for Functional Address Translation2019 IEEE 27th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS)10.1109/MASCOTS.2019.00047(370-383)Online publication date: Oct-2019
  • (2018)Constructing Dynamic Policies for Paging Mode SelectionProceedings of the 47th International Conference on Parallel Processing10.1145/3225058.3225082(1-9)Online publication date: 13-Aug-2018
  • Show More Cited By

Index Terms

  1. Enhancing virtualized application performance through dynamic adaptive paging mode selection

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      ICAC '11: Proceedings of the 8th ACM international conference on Autonomic computing
      June 2011
      278 pages
      ISBN:9781450306072
      DOI:10.1145/1998582
      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]

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 14 June 2011

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. operating systems
      2. performance analysis
      3. virtual machine monitors

      Qualifiers

      • Research-article

      Conference

      ICAC '11
      Sponsor:

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)5
      • Downloads (Last 6 weeks)1
      Reflects downloads up to 25 Jan 2025

      Other Metrics

      Citations

      Cited By

      View all
      • (2021)Fast local page-tables for virtualized NUMA servers with vMitosisProceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems10.1145/3445814.3446709(194-210)Online publication date: 19-Apr-2021
      • (2019)Prospects for Functional Address Translation2019 IEEE 27th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS)10.1109/MASCOTS.2019.00047(370-383)Online publication date: Oct-2019
      • (2018)Constructing Dynamic Policies for Paging Mode SelectionProceedings of the 47th International Conference on Parallel Processing10.1145/3225058.3225082(1-9)Online publication date: 13-Aug-2018
      • (2017)Dynamic Paging Method Switching - An Implementation for KVMHigh Performance Computing10.1007/978-3-319-67630-2_44(629-641)Online publication date: 20-Oct-2017
      • (2016)Enabling Hybrid Parallel Runtimes Through Kernel and Virtualization SupportACM SIGPLAN Notices10.1145/3007611.289225551:7(161-175)Online publication date: 25-Mar-2016
      • (2016)Enabling Hybrid Parallel Runtimes Through Kernel and Virtualization SupportProceedings of the12th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments10.1145/2892242.2892255(161-175)Online publication date: 25-Mar-2016
      • (2015)Selective switching mechanism in virtual machines via support vector machines and transfer learningMachine Language10.1007/s10994-014-5448-x101:1-3(137-161)Online publication date: 1-Oct-2015
      • (2015)A Simplified TDP with Large TablesEuro-Par 2015: Parallel Processing Workshops10.1007/978-3-319-27308-2_63(789-801)Online publication date: 18-Dec-2015
      • (2014)Paging Method Switching for QEMU-KVM Guest MachineProceedings of the 2014 International Conference on Big Data Science and Computing10.1145/2640087.2645709(1-8)Online publication date: 4-Aug-2014

      View Options

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Figures

      Tables

      Media

      Share

      Share

      Share this Publication link

      Share on social media