From: Keir Fraser Subject: Re: RE: [PATCH] record max stime skew (was RE: [PATCH] strictly increasing hvm guest time) Date: Thu, 10 Jul 2008 08:40:46 +0100 Message-ID: References: <20080709182444984.00000003744@djm-pc> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080709182444984.00000003744@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" , "Xen-Devel (E-mail)" Cc: Dave Winchell List-Id: xen-devel@lists.xenproject.org On 10/7/08 01:24, "Dan Magenheimer" wrote: > 7) CONJECTURE: Result of natural skews between platform > timer and tsc, plus jitter. Unfixable. > > Possible, untested, not sure how. I ended up suspecting this on one of the test platforms I originally did the Xen-system-time implementation on. It was an old AMD white box iirc. On that system, TSC and platform time seemed to have a significant and inexplicable jitter at around 1Hz. The jitter was 100s of ppm, which was totally unexpected for what should be crystal-based oscillators. And the test code was simple enough that it was hard to suspect that either (I think I was just dumping the counters every second or two after reading them as close together as I could). -- Keir