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] CR4.TSD in guest kernel vs userland

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] CR4.TSD in guest kernel vs userland
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Tue, 22 Sep 2009 08:11:21 +0100
Cc: "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 22 Sep 2009 00:11:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6DE2E72.155F4%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: <cfbf766c-5a72-4f4a-b7bd-8ed39d1e2c66@default> <C6DE2E72.155F4%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 22.09.09 08:34 >>>
>It's only likely to be reasonable for PV 64-bit guests, which transition via
>the hypervisor already for guest-kernel <-> guest-app transitions (i.e.,
>those transition times suck already).

But still, I don't think adding a serializing instruction that likely (I don't
know of officially available numbers) takes hundreds of clocks is a good
thing to do.

Jan

>On 21/09/2009 23:49, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:
>> I was fretting about the overhead of emulating TSC in
>> guest kernels.  Is it possible (and relatively inexpensive)
>> to change CR4.TSD on every transition between guest
>> kernel and userland?  I suspect not, but thought
>> I'd check.  If so, what about HVM vs PV and 32-bit
>> vs 64-bit guest.



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

<Prev in Thread] Current Thread [Next in Thread>