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-users

Re: [Xen-users] time synchronization problem (using NTP)

To: Ulrich Windl <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] time synchronization problem (using NTP)
From: Thomas Harold <tgh@xxxxxxxxxxxx>
Date: Wed, 11 Oct 2006 05:55:44 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 11 Oct 2006 02:56:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <452CCA4E.6616.AEE8CF4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <452CCA4E.6616.AEE8CF4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)
Ulrich Windl wrote:
Hi,

using SLES10 I'm unable to synchronize the time of DomU with that of Dom0. There is a persistent offset of about 3 seconds!

(laughs) I just happen to be working on this myself. All of my DomUs are about 15 seconds fast compared to the Dom0 and I've been searching the archives to figure out why this happens.

-------------------------------------------

According to the wiki:

http://wiki.xensource.com/xenwiki/InstallationNotes

xenU services

The following services are not needed anymore:

* ntpd

the xenU uses the dom0 time

If you want to run ntp in the domU, try: echo 1 > /proc/sys/xen/independent_wallclock

-------------------------------------------

But if I look through news.gmane.org's archive of xen-users (gmane.comp.emulators.xen.user), there's conflicting advice given back in April 2006 (and Nov 2005... and May 2005).

One camp says that we should run ntpd in Dom0, leave independent_wallclock set to zero and the DomUs should take their time from Dom0 and stay in sync.

The other camp says that we should set independent_wallclock to 1 and run ntpd within the DomUs.


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