From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: RE: [PATCH] rendezvous-based local time calibration WOW! Date: Tue, 05 Aug 2008 22:43:00 +0100 Message-ID: References: <20080805152755062.00000008444@djm-pc> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080805152755062.00000008444@djm-pc> 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@oracle.com" , John Levon Cc: Ian Pratt , "Xen-Devel (E-mail)" , Dave Winchell List-Id: xen-devel@lists.xenproject.org On 5/8/08 22:27, "Dan Magenheimer" wrote: >> No, as it would be incredibly slow on Solaris (I dread to imagine). > > Could be. On my box (Conroe), trapping tsc in an hvm is faster > than reading pit or hpet in the hypervisor or in a native OS. For a PV guest it only punts the monotonicity problem into the hypervisor of course. You still need to access a shared counter, or use a lock (i.e., communication/synchronisation between processors), or be guaranteed that local counters (TSCs) are driven by a common clock signal with negligible skew. -- Keir