[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: nemus@xxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.