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

RE: [Xen-devel] System time monotonicity

To: "John Levon" <levon@xxxxxxxxxxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] System time monotonicity
From: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 26 Mar 2007 22:55:58 +0100
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 26 Mar 2007 14:55:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <8A87A9A84C201449A0C56B728ACF491E0B9F46@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <C22DD69F.4D35%Keir.Fraser@xxxxxxxxxxxx> <20070326201409.GA4600@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acdv4vCGhCedVlPuTVW+RsIKVbsSXgADiS1A
Thread-topic: [Xen-devel] System time monotonicity
> > More likely a jittery chipset timer -- we've observed
less-than-ideal
> > stability from some chipset timers, which can throw us off a bit
when
> > independently sync'ing the TSCs (which each CPU does for its TSC
> > independently every couple of seconds).
> 
> And what about cross-VCPU monotonicity? It's called very frequently
and
> having to fake monotonicity via a single variable across all CPUs
would
> not be pleasant, unless I can think of something smarter...

One LOCK'ed cmpxchg is still a lot quicker than reading the pm_timer or
hpet...

Ian

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