From: Keir Fraser Subject: Re: Xen 3.1.2 domU clock goes out of sync Date: Tue, 20 Nov 2007 23:07:17 +0000 Message-ID: References: <20071120220347.O23014@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: <20071120220347.O23014@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 On 20/11/07 21:52, "T=F5nu Raitviir" wrote: >> I wonder if dom0 has remembered some ntp-derived adjustment values despi= te >> ntpd no longer running. That would explain why it continues to keep good >> time while all others drift. >=20 > Well... in the example in my first letter dom0 was booted without ntpd an= d > after 2+ days its clock offset was only -0.438055 while domU had drifted > far away. In that case there was no adjustment values to remember. Could it not be a drift? e.g., Perhaps you ran ntpdate in dom0 but not the domUs? >> So... running ntpd in dom0 is a good idea. :-) >=20 > I don't question that. But I wonder, isn't domU clock supposed to be > always in sync with dom0, with or without ntpd? Or how exactly does ntpd > in dom0 affect domU clock? dom0 updates Xen's shared notion of wallclock time periodically, but only i= f dom0 is locked onto ntp. -- Keir