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: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Yang, Sheng" <sheng.yang@xxxxxxxxx>
Subject: [Xen-devel] RE: Xen: Hybrid extension patchset for hypervisor
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Wed, 16 Sep 2009 09:28:52 -0700
Accept-language: en-US
Acceptlanguage: en-US
Cc: "Dong, Eddie" <eddie.dong@xxxxxxxxx>, Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jeremy
Delivery-date: Wed, 16 Sep 2009 09:31:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6D6AEEA.14EBF%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>
References: <C6D66994.14D6A%keir.fraser@xxxxxxxxxxxxx> <C6D6AEEA.14EBF%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aco2qgOpAbnFc0gaRB2pnHUmRWzAOwAAzh81AApU9QgAApsQcA==
Thread-topic: Xen: Hybrid extension patchset for hypervisor
Keir Fraser wrote on Wed, 16 Sep 2009 at 07:04:10:

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

Do you mean running the existing 64-bit PV kernel binaries in a VMCS container?

Based on our data, what we would want in PV 64-bit guests are, fundamentally:
- have the kernel run in ring 0 (so that it can regain the performance 
enhancements)
- use hardware-based MMU virtualization (e.g. EPT-based) if present

> 
>  -- Keir
>

Jun
___
Intel Open Source Technology Center




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