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

Re: [Xen-devel] Native hypercall basics using int 82

To: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Subject: Re: [Xen-devel] Native hypercall basics using int 82
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 17 Dec 2008 12:24:12 +0000
Cc: hnrkssn hnrkssn <hnrkssn@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 17 Dec 2008 04:24:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f4527be0812170346g724622b8wa7f89dca4f4606b2@xxxxxxxxxxxxxx>
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: AclgQl4fJP/Ua33gz0C2ssYY853U7A==
Thread-topic: [Xen-devel] Native hypercall basics using int 82
User-agent: Microsoft-Entourage/12.14.0.081024
On 17/12/2008 11:46, "Andrew Lyon" <andrew.lyon@xxxxxxxxx> wrote:

> How is it enabled in the open source edition? I cannot find any documentation.

Add 'viridian=1' to your domain config file.

> And how does it improve performance?

APIC accesses are done via emulated MSRs rather than emulated mmio cycles,
which is a teeny bit faster. Also we implement spin-wait notofications, so a
vcpu can be descheduled rather than spin. There's others also we could
implement but it's not clear it would be a win for us.

 -- Keir



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