PV on HVM: Difference between revisions

From Xen
Jump to navigationJump to search
 
Line 4: Line 4:
The table shows how PV, HVM and PV on HVM compare in terms of virtualization method:
The table shows how PV, HVM and PV on HVM compare in terms of virtualization method:


[[File:XenHVM-All.png|700px]]
{| class="wikitable"
|style="width: 20%;"|
!HVM
!PV on HVM
!PV
|-
!align="left"|Boot Sequence
|style="width: 10%;"|Emulated
|style="width: 10%;"|Emulated
|style="width: 10%;"|Paravirtualized
|-
!align="left"|Memory
|Hardware
|Hardware
|Paravirtualized
|-
!align="left"|Interrupts, Timers & Spinlocks
|Emulated
|Paravirtualized<br/>(Emulated on Windows)
|Paravirtualized
|-
!align="left"|Disk & Network
|Emulated
|Paravirtualized
|Paravirtualized
|-
!align="left"|Privileged Operations
|Hardware
|Hardware
|Paravirtualized
|}


== Performance ==
== Performance ==

Latest revision as of 16:35, 20 April 2015

What is it?

PV on HVM is a mixture of paravirtualization and full hardware virtualization. The primary goal of PV on HVM is to boost performance of fully virtualized HVM guests through use of specially optimized paravirtual device drivers (also called PVHVM or PV-on-HVM drivers).

The table shows how PV, HVM and PV on HVM compare in terms of virtualization method:

XenHVM-All.png

Performance

PV-on-HVM drivers are optimized PV drivers for HVM environments that bypass the emulation for disk and network IO. They also make use CPU functionality such as Intel EPT or AMD NPT support. Thus, giving you PV-like or better performance on HVM systems. You can find information about performance trade-offs in this presentation. In a nutshell:

  • For workloads that favor PV MMUs, PV on HVM is similar to PV
  • For workloads that favor nested paging (in hardware with Intel EPT or AMD NPT support), PV on HVM performs better than PV

Compatibility

The following links provide information about Xen Project PV on HVM compatibility with various operating systems:

Also See