From: Keir Fraser Subject: Re: TSC scaling and softtsc reprise, and PROPOSAL Date: Tue, 28 Jul 2009 16:00:14 +0100 Message-ID: References: <092860a9-7a25-41ff-974a-bccf88e22780@default> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <092860a9-7a25-41ff-974a-bccf88e22780@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer , "Zhang, Xiantao" , Ian Pratt , "Xen-Devel (E-mail)" Cc: "Dong, Eddie" , John Levon List-Id: xen-devel@lists.xenproject.org On 28/07/2009 15:45, "Dan Magenheimer" 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