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] Xen 3.1.2 domU clock goes out of sync

To: Tõnu Raitviir <jussuf@xxxxxxxx>
Subject: Re: [Xen-devel] Xen 3.1.2 domU clock goes out of sync
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 20 Nov 2007 19:30:30 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 Nov 2007 11:25:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071120211352.R23014@xxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acgrq890DbqTKJefEdyZBAAWy6hiGQ==
Thread-topic: [Xen-devel] Xen 3.1.2 domU clock goes out of sync
User-agent: Microsoft-Entourage/11.3.6.070618
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 -- they
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õnu Raitviir" <jussuf@xxxxxxxx> wrote:

> On Tue, 20 Nov 2007, Keir Fraser wrote:
> 
>> Do all domUs stay in sync with each other, or do all guests drift randomly?
> 
> 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



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