Difference Between Xen PV & HVM

Difference between Xen PV and HVM

XEN is open sourced vertualization platform and management system, it's also the only available opensource type-1 program for the moment. Administrators be able to run multiple operation systems concurrently, thus it's used in lots of commercial or open source projects such as: Server virtualization, Infrastructure as a Service, Desktop virtualization, Security applications, Embedded and hardware appliances etc. Xen is powering the biggest cloud computing market.

Xen support two kinds of virtualization: PV & HVM, both virtualization can be running on same XEN server. Moreover, PV can be used within HVM virtual server which is popularly named "PV on HVM". What would be the difference between PV and HVM for XEN virtualization?

Xen Paravirtualization (PV)

High efficient and light weight virtualization technology by XEN. Physical CPU doesn't need virtual extension to support PV. However, PV requires Xen-PV-enabled kernel and PV driver in order to power a high performance virtual server. The good thing is most linux destributions already support this including NetBSD, FreeBSD, OpenSolaris etc since from linux kernel version 2.6.24.

Xen Full Virtualization (HVM)

It's also called hardware assist virtualization. HVM makes use of CPU virtual extension from physical machine. HVM requires Intel VT or AMD-V hardware extension. Xen uses Qemu for Simulation of PC hardware including BIOS, IDE, VGA, Network card and USB etc. HVM doesn't need any kernel support, it means windows OS can be used on XENHUM. Because of simulation technologies, HVM performance is not so good as PV machine.

PV on HVM

To improve performance, HVM can also use some special PV drivers (PVHVM or PV-on-HVM). These PV drivers optimize HVM environment and do balance to hard disk & network IO. In this way you get similar or better virtual server than PV. Because of this, you can optimize operation system that only support full virtualization technology, such as windows.

Xen paravirtualization uses PV drivers automatically and no need to provide these drivers seperately, only Xen full virtualization requires PVHUM drivers seperately.

PV in an HVM Container (PVH) – New in Xen 4.4

Xen 4.4 provides a new virtualization mode named PVH. It provides a half virtualization choice for bootup and I/O. Comparing to HVM, PVH uses hardware virtualization extension but no need simulation. PVH be able to balance all virtualization advantages and simplify Xen structure.

More resources

Best VPS Hosting

For high quality vps server, virtualization platform is only one concern among many features like maintenance plan, server hardware specifications, network capability and support availability etc.. Hosting provider be able to setup the worst server system even on best virtualization platform. Thus, we have to review side by side and choose the best to fulfill our needs. For quick guidance, here's a handful of reputable providers to review on vps hosting page.

About the Author
Kenny
Kenny is owner of webhostpark and has been working in hosting industry since 2006. We provide unbiased hosting reviews and release the latest promo news. Follow me on Google plus

Leave a Reply

What is 10 + 12 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

This site uses Akismet to reduce spam. Learn how your comment data is processed.