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 scaling and softtsc reprise, and PROPOSAL

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 28 Jul 2009 16:00:14 +0100
Cc: "Dong, Eddie" <eddie.dong@xxxxxxxxx>, John Levon <levon@xxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 28 Jul 2009 08:01:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <092860a9-7a25-41ff-974a-bccf88e22780@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: AcoPkhy78K084YYfSsCs4TUlqPJhEgAAf+wb
Thread-topic: TSC scaling and softtsc reprise, and PROPOSAL
User-agent: Microsoft-Entourage/12.20.0.090605
On 28/07/2009 15:45, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> I am proposing that the virtual TSC be the default.
> We should provide a per-VM option and a Xen boot
> option to allow VMs to NOT trap rdtsc, but this
> should have a warning that it is not recommended
> and may result in data corruption in some apps.

This I can agree with. The softtsc boot option is just lazy. This should
properly be a per-VM option, for both HVM and PV guests. For example
tsc_freq=x sets virtual TSC of x MHz. And not specifying tsc_freq gets you
current behaviour (pass through host TSC where possible). That I could quite
happily live with, although I'm not planning to implement it myself.

 -- Keir



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

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