- Hardware-assisted virtualization
In computing, hardware-assisted virtualization is a platform virtualization approach that enables efficient full virtualization using help from hardware capabilities, primarily from the host processors. Full virtualization is used to simulate a complete hardware environment, or virtual machine, in which an unmodified guest operating system (using the same instruction set as the host machine) executes in complete isolation. Hardware-assisted virtualization was added to x86 processors (Intel VT-x or AMD-V) in 2006.
Hardware-assisted virtualization was first introduced on the IBM System/370 in 1972, for use with VM/370, the first virtual machine operating system. Virtualization was eclipsed in the late 1970s, with the advent of minicomputers that allowed for efficient timesharing, and later with the commoditization of microcomputers.
The proliferation of x86 servers rekindled interest in virtualization. The primary driver was the potential for server consolidation: virtualization allowed a single server to replace multiple underutilized dedicated servers.
- equivalence: a program running under the virtual machine monitor(VMM) should exhibit a behavior essentially identical to that demonstrated when running on an equivalent machine directly;
- resource control (also called safety): the VMM must be in complete control of the virtualized resources;
- efficiency: a statistically dominant fraction of machine instructions must be executed without VMM intervention.
To compensate for these architectural limitations, virtualization of the x86 architecture has been accomplished through two methods: full virtualization or paravirtualization. Both create the illusion of physical hardware to achieve the goal of operating system independence from the hardware but present some trade-offs in performance and complexity.
Paravirtualization is a technique in which the hypervisor provides an API and the OS of the guest virtual machine calls that API, requiring OS modifications. The best known commercial implementations of paravirtualization are modified Linux kernels from XenSource and GNU/Linux distributors.
Full virtualization was implemented in first-generation x86 VMMs. It relies on binary translation to trap and virtualize the execution of certain sensitive, non-virtualizable instructions. With this approach, critical instructions are discovered (statically or dynamically at run-time) and replaced with traps into the VMM to be emulated in software. Binary translation can incur a large performance overhead in comparison to a virtual machine running on natively virtualized architectures such as the IBM System/370. VirtualBox, VMware Workstation (for 32-bit guests only), and Microsoft Virtual PC, are well-known commercial implementations of full virtualization.
With hardware-assisted virtualization, the VMM can efficiently virtualize the entire x86 instruction set by handling these sensitive instructions using a classic trap-and-emulate model in hardware, as opposed to software.
Intel and AMD came with distinct implementations of hardware-assisted x86 virtualization, Intel VT-x and AMD-V, respectively. On the Itanium architecture, hardware-assisted virtualization is known as VT-i.
Well-known implementations of hardware-assisted x86 virtualization include VMware Workstation (for 64-bit guests only), Xen 3.x (including derivatives like Virtual Iron), Linux KVM and Microsoft Hyper-V.
Hardware-assisted virtualization reduces the maintenance overhead of paravirtualization as it reduces (ideally, eliminates) the changes needed in the guest operating system. It is also considerably easier to obtain better performance. A practical benefit of hardware-assisted virtualization has been cited by VMware engineers and Virtual Iron.
Hardware-assisted virtualization requires explicit support in the host CPU, which is not available on all x86/x86_64 processors.
A "pure" hardware-assisted virtualization approach, using entirely unmodified guest operating systems, involves many VM traps, and thus high CPU overheads, limiting scalability and the efficiency of server consolidation. This performance hit can be mitigated by the use of paravirtualized drivers; the combination has been called "hybrid virtualization".
In 2006 first-generation 32- and 64-bit x86 hardware support was found rarely to offer performance advantages over software virtualization.
- Further refinements of hardware-assisted virtualization are possible using an IOMMU; this allows native-speed access to dedicated hardware from a guest operating system, including DMA-capable hardware
- Rapid Virtualization Indexing
- Extended Page Table
- Other virtualization techniques include operating system-level virtualization, as practiced by Parallels Virtuozzo Containers, and application virtualization.
- Hardware emulation
- Joint Test Action Group
- Background Debug Mode interface
- In-circuit emulator
- ^ Chris Barclay, New approach to virtualizing x86s, Network World, 10/20/2006
- ^ See http://x86vmm.blogspot.com/2005/12/graphics-and-io-virtualization.html
- ^ See http://www.valinux.co.jp/documents/tech/presentlib/2007/2007xenconf/Intel.pdf
- ^ Jun Nakajima and Asit K. Mallick, Hybrid-Virtualization—Enhanced Virtualization for Linux, in Proceedings of the Linux Symposium, Ottawa, June 2007, http://ols.108.redhat.com/2007/Reprints/nakajima-Reprint.pdf
- ^ A Comparison of Software and Hardware Techniques for x86 Virtualization, Keith Adams and Ole Agesen, VMWare, ASPLOS’06 October 21–25, 2006, San Jose, California, USA"Surprisingly, we find that the first-generation hardware support rarely offers performance advantages over existing software techniques. We ascribe this situation to high VMM/guest transition costs and a rigid programming model that leaves little room for software flexibility in managing either the frequency or cost of these transitions.
- Fisher-Ogden, John. "Hardware Support for Efficient Virtualization" (PDF). UCSD. http://www.cse.ucsd.edu/~jfisherogden/hardwareVirt.pdf. Retrieved 2010-08-05.
- Smith, Jim; Ravi Nair (2005). Virtual Machines. Morgan Kaufmann. 8.5 : Performance Enhancement of System Virtual Machines. ISBN 1-55860-910-5.
- Osisek, D. L.; Jackson, K. M.; Gum, P. H. (1991). "ESA/390 interpretive-execution architecture, foundation for VM/ESA" (PDF). IBM Systems Journal 30 (1). http://www.research.ibm.com/journal/sj/301/ibmsj3001E.pdf.
- Adams, Keith; Agesen, Ole (2006-21-2006). "A Comparison of Software and Hardware Techniques for x86 Virtualization" (PDF). International Conference on Architectural Support for Programming Languages and Operating Systems, San Jose, CA, USA, 2006. ACM 1-59593-451-0/06/0010. http://www.vmware.com/pdf/asplos235_adams.pdf. Retrieved 2006-12-22.
- "Performance Evaluation of AMD RVI Hardware Assist" (PDF). VMware. http://www.vmware.com/pdf/RVI_performance.pdf.
- "Performance Evaluation of Intel EPT Hardware Assist" (PDF). VMware. http://www.vmware.com/pdf/Perf_ESX_Intel-EPT-eval.pdf.
Wikimedia Foundation. 2010.
Look at other dictionaries:
Virtualization — In computing, virtualization is a broad term that refers to the abstraction of computer resources:* Platform virtualization, which separates an operating system from the underlying platform resources ** Full virtualization ** Hardware assisted… … Wikipedia
X86 virtualization — is the method by which x86 based guest operating systems are run under another host x86 operating system, with little or no modification of the guest OS. The x86 processor architecture did not originally meet the Popek and Goldberg virtualization … Wikipedia
Platform virtualization — In computing, platform virtualization is a term that refers to the abstraction of computer resources. Virtualization hides the physical characteristics of computing resources from their users, be they applications, or end users. [ cite web | last … Wikipedia
Timeline of virtualization development — Timelines Note: This timeline is missing data for important historical systems, including: Atlas Computer (Manchester), GE 645, Burroughs B5000* 1964 ** IBM Cambridge Scientific Center begins development of CP 40. * 1965 ** IBM M44/44X,… … Wikipedia
Rapid Virtualization Indexing — (RVI, formerly known as Nested Page Tables during its development) is an AMD second generation hardware assisted virtualization technology for the processor memory management unit (MMU). A VMware research paper found that RVI offers up to… … Wikipedia
Comparison of platform virtual machines — Platform virtual machines are software packages which emulate the whole physical computer machine, often giving multiple virtual machines on one physical platform. The table below compares basic information about platform virtual machine (VM)… … Wikipedia
Xen — This article is about the virtualization software. For other uses, see Xen (disambiguation). Xen Xen running NetBSD and three Linux distributions Developer(s) The Xen Project XenSource, Inc … Wikipedia
Windows Virtual PC — This article is about the virtualization software by Microsoft. For the generic term, see Virtual machine. Windows Virtual PC Windows Virtual PC … Wikipedia
Hyper-V — Microsoft Hyper V Developer(s) Microsoft Initial release July 26, 2008 (2008 07 26) (KB950050) … Wikipedia
Virtual Iron — Software, located in Lowell, Massachusetts, provides software for virtualization and management of a virtual infrastructure. Virtual Iron is one of the first companies to offer virtualization software to fully support Intel VT and AMD V hardware… … Wikipedia