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: TSC virtualization across different host frequency platf

To: "Dong, Eddie" <eddie.dong@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: TSC virtualization across different host frequency platform migration
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 22 Apr 2009 09:13:48 +0100
Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Delivery-date: Wed, 22 Apr 2009 01:14:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9832F13BD22FB94A829F798DA4A8280501A7D29D36@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: AcnC6UTw4XSdZbRrRraDmt+QTDVBegAABfvwAA45kx4=
Thread-topic: TSC virtualization across different host frequency platform migration
User-agent: Microsoft-Entourage/12.17.0.090302
On 22/04/2009 02:32, "Dong, Eddie" <eddie.dong@xxxxxxxxx> wrote:

> Keir and all:
> Recently we are considering the potential issue of TSC virtualization across
> different frequency platform migration. Current approach will lead to
> synchronization issue between guest TSC and wall clock. Software trap and
> emulate can solve the problem with the payment of performance overhead which
> is not optimal. We want to propose smart scaling algorithm which can
> continuously use HW TSC_OFFSET and maintain long time synchronization of guest
> TSC.  The details are in attached document. Can you have a look and provide
> comments?

The important questions are: What guests get confused by an out-of-sync TSC?
And is coarse-grained re-sync (multi-second quantum?) good enough? As a
re-sync strategy well, yes, obviously it works but with some drawbacks.

It would be very nice if VT could be extended to scale the host TSC as well
as offset it. I would think that would be quite easy to do.

 -- Keir

> Thanks. BTW of course PV time is another solution which is not covered in this
> proposal.



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

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