WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] paravirt_ops DomU, does it mean performance?

To: "jim burns" <jim_burn@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] paravirt_ops DomU, does it mean performance?
From: "Emre ERENOGLU" <erenoglu@xxxxxxxxx>
Date: Mon, 26 May 2008 11:02:23 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 26 May 2008 02:02:57 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=m+3CShG3Zi7hd4nE3J4v4yb9JUip5HfVH92R4jXIwIA=; b=Ahz4K6UD9xAGv8Wgltf65exbcnrD9gm8Urf2x+vic9nDeMaJVYon+MjSqGJBNnqE9MKXeuj57GT7EgFuH/iJ1gqe/dFWS3vIjtf7iMXIF0KqurDNYhM2WQTeIWM644Cv4mqmyGq2HHc0tFUImOepVaDfMojLShYtyAJ1rG+tIiQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kOV9EJqQranGKsic7pgllSQ2Ps7uPkpoAX1tq32VAJYfiCXnn47WoianApFdTc+O9M/WXJFe2633JI2vM4bjGVv1K0cLKvGkgSZPlu3vhLGYVCp895sDX6emMx4M1dNvJDrIRN3Fq1lRRmIypJUX9NTiCt4YraXKCKEhCtQfVl8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200805252220.55981.jim_burn@xxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <fe9771a80712110731n2c9ffe1fgfd6d822741fdcd40@xxxxxxxxxxxxxx> <200712261443.21232.mark.williamson@xxxxxxxxxxxx> <fe9771a80805251828g112c3799t5c4c02b81573063f@xxxxxxxxxxxxxx> <200805252220.55981.jim_burn@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Jim,

On Mon, May 26, 2008 at 4:20 AM, jim burns <jim_burn@xxxxxxxxxxxxx> wrote:
On Sunday May 25 2008 09:28:21 pm Emre ERENOGLU wrote:
> I'm again a bit confused. I'm trying to boot up a 2.6.24 kernel on a HVM
> DomU, and the kernel tells me "booting paravirtualized kernel on bare
> hardware", but I can see no paravirtual devices in /dev.
>
> Which devices shall it be? What are the names of the modules? Is there a
> clear name for them or does each distro choose a name for itself?
>
> I found names starting with virtio_* but I'm not sure if they are the
> correct ones, at least in this 2.6.24 (from development version of Pardus),
> modprobbing them gives no output in dmesg nor any devices in /dev
>
> Or maybe we need to put some special configutation options in the config
> file of the HVM domU?

Hvm won't get performance w/o something like the unmodified drivers you
installed awhile back. Hvm domus *think* they are 'booting [...] on bare
hardware', and are not aware that they are running under a hypervisor. The pv
drivers do that. Pvops is just alternative approach to standard xen code to
running under a hypervisor as a pv domu. It doesn't make an hvm domain
xen-aware.

Got it.  I can load the PV drivers up, but I was too optimistic to think that the pv_ops would automatically bring some PV drivers in place and especially after seeing that kernel message in dmesg. But dissapointed now with your explanation.


> On Wed, Dec 26, 2007 at 4:43 PM, Mark Williamson
<mark.williamson@xxxxxxxxxxxx> wrote:
> > > The paravirt_ops kernel should run with similar performance to the
> > >
>  > > XenLinux kernel from the main Xen tree.  It includes
>  > > paravirtualisation for memory, SMP, etc as well as paravirtualised
>  > > network and block devices.  It doesn't include support for
>  > > suspend/resume, paravirt framebuffer, etc.
>  >
>  > When you say 'paravirt framebuffer', do you mean console performance is
>  > going to be as bad as for HVM?
>
> Well, more that it doesn't have a graphical console at all!  Paravirt
> guests can't use the emulated framebuffer that HVM uses, they have to use a
> paravirt framebuffer if they want to output graphically.  The paravirt
> framebuffer doesn't perform significantly better than the HVM console as
> far as I know, so not having it available may not be too painful to you...

I've mentioned before that what Fedora 9 (2.6.25 kernel) does is use the
standard Xorg fbdev module in a pv domain, but it uses 'qemu-dm -M xenpv ...'
to run the domain. (Actually, Fedora has been doing that since F8, fully
patched, not dvd version.) Even their non-xen 2.6.25 kernel won't boot in a
pv domu. It doesn't enable the xen frontends in the kernel config, but even
when I've tried to do that, the kernel won't boot. (See the thread 'Creating
an fc8 2.6.23 domu' in late Feb., early Mar.) Apparently there is still going
to be a lot of work to merge xen into mainline.

I don't understand. Mark says that paravirt_ops kernel shall run at near performance to XenLinux kernel, but you say that it's not possible to boot such kernel. My experience is the same, I couldn't boot this 2.6.24 as a PV domU. So where do we use this pv_ops?

My understanding was, given the necessary KERNEL_OPTIONS are enabled, the kernel shall boot fine as a Xen PV DomU, thus it would have been enough to write this inside the domu config file file kernel= line???

Emre Erenoglu

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users