This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] HVM vs PV (Xen Full virtualization (HVM) Xen Paravirtual

To: nemus@xxxxxxxxxxxxxxx
Subject: Re: [Xen-users] HVM vs PV (Xen Full virtualization (HVM) Xen Paravirtualization (PV))
From: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
Date: Wed, 18 May 2011 20:02:36 -0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 18 May 2011 16:04:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=ucCmMN1BqODcZXZmkShTuI7Gx88aop9o2FSKrsxZUZ4=; b=UTdoctMTSN0lWPM6rh77qPh8ixF3gUtyQIPfiV+PSh3ix0IMDk0TzJK2qU0X2XHZjv ipdDwtBoRou74RUy//4eD54faWaxUmNDC3kJ14WXi3WXWBCXo8ryjTxVLF8rFYE1vBSB SHbQ0TTYB/scVDXs3MjYo+Q8q0Ta6jdHCmwxc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=o7ouqPKNVS1GRdAUS2+uf142TKzN+2aHVv6d8UBnH9GEZ9ahDSeKPs2WNvTjOM9FBI bYnGBSxfoEBF5tvk2pWLF3vveyzvJllWDZz2yO67So/quMed6ncEsNW2m5BDTheSMBuu RumqqqVKFQuwOSvaFfYoMleXrDNwtBDJqsmP0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <006f668db8541d3e6d248157550cdd9b.squirrel@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <006f668db8541d3e6d248157550cdd9b.squirrel@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Nemus!

 I have talked about this last week in a XenServer lecture.

 1- HVM domains are based on a emlulation of the hardware writen entirely in software (a.k.a. QEmu) and it depends on a assistence by hardware to become useful.

 2- PVM domains are the new approach of virtualization technique, simple there is no "hardware emulation via software" within a PVM domain. No emulation at all. It is much more fast!! You just need a old 64Bits CPU to virtualize Linux, some BSDs and OpenSolaris using PVM domains.

Try this:

 Install two Debians in your XenServer, one HVM and another PVM:

 1- Debian HVM (hostname debian01), at XenCenter click "New VM", select "Other Install media" and choose the original Debian ISO CD image from your "NFS ISO storage repository";

 2- Debian PVM (hostname debian02), at XenCenter click "New VM", select "Debian Squeeze 6 32 bits", choose the "Install URL" method and type "http://ftp.debian.org/debian/", configure the network within the VM (better with dhcp server on your network) and install it normally.

 After that, you will be able to see the big differences from debian01 (HVM) to debian02 (PVM) with one Linux command:

* HVM Domain has a virtual motherboard, plus virtual PCI devices as: IDE/SCSI block devices, hard disc, video board, all emulated by software:

username@debian01~$ lspci

* PVM Domain have no virtual motherboard or any virtual PCI devices (notthing will appear because there is nothing to show):

username@debian02~$ lspci

 As you'll figure out, emulation tasks are heavy and slow, the emulation is expensive and a slow proccess, but recently Intel and AMD implemented an assistance for hardware emulation within their CPUs in order to make it feasible to emulation

 The disk and network within a PVM domain is just some frontends (blockfront and netfront), that talsk directily to the dom0 (blockback and netback), without any emulation.

 Also, it is possible to convert a VM from HVM to PVM after the installation, and vice-versa.

 Windows does not work as a PVM domain.


On 5 May 2011 16:40, <nemus@xxxxxxxxxxxxxxx> wrote:
Is HVM or PV better for performance and overall stability in xen?

I asked on Linux question but got mixed results.


Xen-users mailing list

Xen-users mailing list