From: Dan Magenheimer Subject: RE: Time skew on HP DL785 (and possibly other boxes) Date: Mon, 6 Apr 2009 14:34:27 +0000 (GMT) Message-ID: <00cb0240-875b-414b-b456-c1eea5c3f5fe@default> References: Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , Ian Pratt Cc: john.v.morris@hp.com, "Tian, Kevin" , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org > > The goal for Xen timekeeping is to ensure that if a guest > > could somehow magically read any of its virtual clocks > > (tsc, pit, hpet, pmtimer, ??) on all its virtual processors > > simultaneously, the values read must always obey this > > "virtual clock law": >=20 > We can do this for all except TSC for HVM guests because=20 I understand that this is true IFF Xen system time itself obeys the virtual clock law. I am concerned that maybe it cannot on machines such as this. If not, NO HVM guest clock will obey the law, correct? > Everything else builds on Xen system time, and Xen system=20 > time should just > require each CPU's TSC to be individually stable. > ...I think the benefit of your patch was in=20 > sync'ing system > time across all CPUs at the same time, which significantly=20 > reduced maximum divergence. The problem was, in our testing on this DL785, the maximum divergence was not reduced enough! This was tested with xen-unstable (not sure what c/s). > One concern I have however, is Intel's=20 > X86_FEATURE_CONSTANT_TSC logic. It's possible that this (or some other problem) has resulted in the divergenece on the DL785. So more testing is in order. Dan