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-devel

[Xen-devel] Re: Xen: Hybrid extension patchset for hypervisor

To: "Yang, Sheng" <sheng.yang@xxxxxxxxx>
Subject: [Xen-devel] Re: Xen: Hybrid extension patchset for hypervisor
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 16 Sep 2009 15:04:10 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Eddie Dong <eddie.dong@xxxxxxxxx>, Jun Nakajima <jun.nakajima@xxxxxxxxx>
Delivery-date: Wed, 16 Sep 2009 07:09:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6D66994.14D6A%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aco2qgOpAbnFc0gaRB2pnHUmRWzAOwAAzh81AApU9Qg=
Thread-topic: Xen: Hybrid extension patchset for hypervisor
User-agent: Microsoft-Entourage/12.20.0.090605
On 16/09/2009 10:08, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx> wrote:

> The principle is okay I guess. These changes would have to be trickled in
> with a  really good explanation and justification for each one. For example,
> I'm not clear why the enable-hybrid hypercall is needed. Why not just
> provide access to evtchn and timer hypercalls always, and guest sues them if
> it is capable of it? I'm also not sure why PV timer events get routed to
> irq0 -- why not via an event channel as usual, now that you are enabling HVM
> guests to use the evtchn subsystem? What's a hybrid gnttab, and why does it
> need an explciit reserved e820 region? And so on.
> 
> The general principle of these patches seems to be to create a set of
> individual, and perhaps largely independent, accelerations/enlightenments to
> the HVM interface. I can at least agree with and support that aim.

By the way, if your intention is to speed up 64-bit guest performance, then
I think you should compare with running a full PV guest in a VMCS container.
That is runs in VMX non-root mode but still retains the usual full-PV
interfaces. I think that would be no more code than you are proposing here,
and would avoid scattering a bunch more code around the guest OS, to which
there is bound to be resistance.

 -- Keir



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