Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] Problem with timekeeping

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problem with timekeeping
From: Andy Smith <andy@xxxxxxxxxxxxxx>
Date: Tue, 27 Feb 2007 07:45:18 +0000
Delivery-date: Mon, 26 Feb 2007 23:44:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45E3EA5F.11280.29561E76@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>
Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
References: <20070226152126.c85eaccc.fbusse@xxxxxx> <45E3EA5F.11280.29561E76@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Feb 27, 2007 at 08:22:52AM +0100, Ulrich Windl wrote:
> On 26 Feb 2007 at 15:21, Fridtjof Busse wrote:
> > I'm running Xen 3.0.4 on an AMD64 server and noticed a weird problem:
> > The time in the guest is 2 minutes ahead of the host's time. The dom0 is
> > synchronized via NTP and the domU has independent_wallclock=0.
> > Any idea what might cause this?
> > Or is the only way to fix this to use independent_wallclock=1 and use
> > NTP in the guest as well?
> 
> Using independent clocks and NTP everywhere fixes the problem, but basically 
> running NTP in Dom0 only and slaved clocks SHOULD work (but it doesn't). At 
> least 
> with SLES10 x86_64 and a 4 CPU Opeteron.

This matches my experience.  I have never seen any explanation for
this beyond "you have crap hardware" which I reject because I see it
on every platform I run Xen, from home servers based on "gamer"
motherboards, through supermicro cheap rackmounts, to HP and Dell
servers.

Running ntp everywhere is the only way I can keep the clocks
synched.

Cheers,
Andy

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>