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] DomU clock out of sync

To: Dmitry Nedospasov <dmitry@xxxxxxxxx>
Subject: Re: [Xen-users] DomU clock out of sync
From: Joseph Glanville <joseph.glanville@xxxxxxxxxxxxxx>
Date: Sat, 14 May 2011 21:18:25 +1000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 14 May 2011 04:19:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110514110535.GA13248@xxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20110514110535.GA13248@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Ensure that ntpdate or ntpd is adjusting the hwclock in the dom0 as
this is what is passed through to guests.

Joseph.

On 14 May 2011 21:05, Dmitry Nedospasov <dmitry@xxxxxxxxx> wrote:
> Hey all,
>
> I was watching some logs on a domU today and i suddenly noticed that the
> timestamps were off by something on the order of 47 seconds. I was
> surprised because *I don't* run independent wall clocks. I checked
> some other domUs and the "drift" was also very close to that of the
> first domU.
>
> I also checked another dom0, Here the domUs were "only" out of sync by
> ~11 seconds.
>
> The dom0s are all debian squeeze with Xen 4.0.1-2. The domUs are also
> debian squeeze and utilizing PV with the ParaVirtOPs in the normal
> debian linux-image-2.6.32 kernel.
>
> I am currently using ntpdate (in cron.hourly) on my dom0s, could this be
> the problem? Is there a difference in the way ntpdate updates time the
> way ntpd does? IIRC ntpd updates time continuously, correct?
>
> Can someone explain why this would happen. Could this be caused by a
> xend restart?
>
> After googling, I'm surprised a best practice solution isn't listed on
> XenFaq...  considering how many users seem to be frustrated with this
> issue.
>
> All the best,
>
> D.
> --
> Dmitry Nedospasov <dmitry@xxxxxxxxx> -- Twitter: @nedos
> Web: http://nedos.net -- Github: http://github.com/nedos
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



-- 
Kind regards,
Joseph.
Founder | Director
Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56
99 52 | Mobile: 0428 754 846

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

<Prev in Thread] Current Thread [Next in Thread>