From: Keir Fraser Subject: Re: TSC scaling and softtsc reprise, and PROPOSAL Date: Mon, 27 Jul 2009 23:39:46 +0100 Message-ID: References: <5883a2aa-9070-4f23-ba80-ec75e366fa3f@default> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5883a2aa-9070-4f23-ba80-ec75e366fa3f@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 , Ian Pratt , "Zhang, Xiantao" , "Xen-Devel (E-mail)" Cc: "Dong, Eddie" , John Levon List-Id: xen-devel@lists.xenproject.org On 27/07/2009 23:14, "Dan Magenheimer" wrote: >> Yes, then it sounds like they virtualise it for apps too. >> Also there is an >> option to virtualise the TSC at a specified frequency -- that would be >> pretty weird if it applied only to guest-OS RDTSCs but not >> guest-app RDTSCs. >> >> Interesting... > > And further, the frequency is "sticky" across migration, with > the frequency set to whatever machine the VM originated on. > > I'd be inclined to just use Xen system time and thus > the TSC frequency would be always 1GHz on all systems. Well that is what softtsc does already, albeit only for HVM guests so far. -- Keir