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] How expensive is a VM EXIT?

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, NAHieu <nahieu@xxxxxxxxx>
Subject: RE: [Xen-devel] How expensive is a VM EXIT?
From: "Nadolski, Ed" <Ed.Nadolski@xxxxxxx>
Date: Wed, 4 Mar 2009 10:39:11 -0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 04 Mar 2009 10:39:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5D3F03A.4109%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: <5d7aca950903031615n380c6e30u2777e83a520cecc2@xxxxxxxxxxxxxx> <C5D3F03A.4109%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmcXkSx132/LweuTM6fde+5jAjHDAAR1d1DABSsaRA=
Thread-topic: [Xen-devel] How expensive is a VM EXIT?
Is there a good tool to look at for this -- xentrace, xenoprofile, other?

Thanks,
Ed

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Keir Fraser
Sent: Wednesday, March 04, 2009 1:46 AM
To: NAHieu
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] How expensive is a VM EXIT?

On 04/03/2009 00:15, "NAHieu" <nahieu@xxxxxxxxx> wrote:

> On Wed, Mar 4, 2009 at 1:34 AM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
>> For just the VMEXIT itself, it's probably about 1000-1500 cycles on the
>> latest processors. I haven't measured it very recently though.
>> 
> 
> Could you explain how do you measure the cycles for VMEXIT?

RDTSC in the guest immediately before triggering a VMEXIT and RDTSC in the
hypervisor on entry.

 -- Keir



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

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