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: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] CR4.TSD in guest kernel vs userland
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 22 Sep 2009 07:34:10 +0100
Cc: Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Mon, 21 Sep 2009 23:35:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <cfbf766c-5a72-4f4a-b7bd-8ed39d1e2c66@default>
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: Aco7DeNX5zIOdsnDT5ie4z5tyGflEgAQM3eY
Thread-topic: [Xen-devel] CR4.TSD in guest kernel vs userland
User-agent: Microsoft-Entourage/12.20.0.090605
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).

 -- Keir

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.
> 
> Thanks,
> Dan
> 
> _______________________________________________
> 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

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