From: Keir Fraser Subject: Re: Xen 3.1.2 domU clock goes out of sync Date: Tue, 20 Nov 2007 19:30:30 +0000 Message-ID: References: <20071120211352.R23014@zhuryrwn.rrarg.rr> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20071120211352.R23014@zhuryrwn.rrarg.rr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: T=?ISO-8859-1?B?9Q==?=nu Raitviir Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org I wonder if dom0 has remembered some ntp-derived adjustment values despite ntpd no longer running. That would explain why it continues to keep good time while all others drift. The others drifting is quite explicable -- the= y are only as accurate as our estimate of platform timer (PIT or HPET) frequency at boot time, and the accuracy of the crystal that drives that timer is probably only good to about 100ppm. So... running ntpd in dom0 is a good idea. :-) -- Keir On 20/11/07 19:15, "T=F5nu Raitviir" wrote: > On Tue, 20 Nov 2007, Keir Fraser wrote: >=20 >> Do all domUs stay in sync with each other, or do all guests drift random= ly? >=20 > I didn't compare domU-s before, but they seem to be in sync. I stopped > ntpd on dom0 five hours ago, and now the results of ntpdate are: > dom0 offset -0.002353 sec > domU #1 offset -1.555219 sec > domU #2 offset -1.555261 sec > domU #3 offset -1.555243 sec