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

[Xen-users] Xen 4 time issue : Clocksource unstable

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 4 time issue : Clocksource unstable
From: Olivier Hanesse <olivier.hanesse@xxxxxxxxx>
Date: Thu, 11 Nov 2010 18:42:45 +0100
Delivery-date: Thu, 11 Nov 2010 09:47:27 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=72VgWUDIJqPMyq7j9Jdq6cgnUhnqX40tS1N7fbteW/s=; b=YAMMOedpIvAe8fwW0bTAoIlJMX+10KPpoP5VmEbNxv8IB1KvqXVfLUc0n1FLmMuHGE zjVq7EFmhKjpzwrKOg92iyMmJgTVUvK8ixabdYRw/Y0NpXhwr1f7l2fLuwCo8mUwHR0b M951AMTejCUxqGr+ind64BFB6qMRLiqNOp0Jc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=q8Nzoaq3ZEvlU4dKb0REf07AbtlOfhGnHIurqrJDxqYDsce60Uy4bNPrhMXFN0dgpg 2h/oR91luyXjHX6VuBb8KFrfBgfJbEuH9OjbFsUZ0IfPsOSV8bwGJ30n6YnLfmiGeKV5 m68R8CWMQzJDv1H8llEHdBapE5S780johZ6ZQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I got some time issue with Xen 4. I am running Debian :

linux-image-2.6.32-bpo.5-xen-amd64     2.6.32-26~bpo50+1   Linux 2.6.32 for 64-bit PCs, Xen dom0 suppor
linux-image-2.6.32-bpo.5-amd64           2.6.32-26~bpo50+1   Linux 2.6.32 for 64-bit PCs
xen-hypervisor-4.0-amd64                    4.0.1-1                    The Xen Hypervisor on AMD64

On a dom0, I got 4 domUs. 3 of them are totally out of sync. 1 is 4s behind

dom0  : Thu Nov 11 18:14:58 CET 2010
domU1: Thu Nov 11 18:14:54 CET 2010
domU2: Thu Nov 11 19:04:34 CET 2010
domU3: Thu Nov 11 19:04:34 CET 2010
domU4: Thu Nov 11 19:04:34 CET 2010

/sys/devices/system/clocksource/clocksource0/current_clocksource is set to "xen" for dom0 and domU.
I am running ntpd only in dom0.

I am pretty sure, that if I reboot the domUs, they will be synced again.
I would like to avoid rebooting them. Rebooting isn't a long term solution ;) Is there another way ?
 
Some relevant logs :

xm dmesg  :

(XEN) checking TSC synchronization across 8 CPUs: passed.
(XEN) Platform timer is 14.318MHz HPET
(XEN) HPET: 3 timers in total, 0 timers will be used for broadcast
(XEN) ACPI sleep modes: S3
...
(XEN) Platform timer appears to have unexpectedly wrapped 10 or more times.

dmesg :

[591694.109052] Clocksource tsc unstable (delta = -2999660340870 ns)

And guess what " -2999660340870 ns" is around 50min, which is the difference between domU and dom0.

Any ideas how to solve this issue ?  How guys are you doing to keep your domUs synced with dom0 with xen4 ?

Regards

Olivier
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen 4 time issue : Clocksource unstable, Olivier Hanesse <=