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] 47s clock skew in domUs every so often, Debian squeeze packa

To: Xen-users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] 47s clock skew in domUs every so often, Debian squeeze packaged hypervisor 4.0.1-2
From: Andy Smith <andy@xxxxxxxxxxxxxx>
Date: Tue, 20 Sep 2011 21:02:43 +0000
Cc:
Delivery-date: Tue, 20 Sep 2011 14:04:58 -0700
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bitfolk.com; s=alpha; h=Subject:Content-Type:MIME-Version:Message-ID:To:From:Date; bh=9bjAjPOab/0W9K+wyKSdOuI20j9WJ1LRlftmuoSpe7c=; b=pSY9JAcYgmGtOKLt4Y11lJGEaTb0D9jXBfwZbXXvSBiKleXf5ucp4H9kHQRyqWJUoYzVGn7K+pjppSV6+AVDqC9pl8pHUS7enDjcBixdrFBS1dtZL68fH6UV+1IvSugo;
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>
Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
Hi,

Ever since upgrading a particular machine from Debian lenny with Xen
3.3.x to Debian squeeze with xen-hypervisor-4.0-amd64 4.0.1-2 back
in June, it's been inflicting an intermittent 47s clock skew on
multiple domUs.

All the domUs run ntpd, but only one of them has an ntpd which seems
to detect it. Example:

Sep 20 16:11:39 test0 ntpd[1802]: time reset -46.869813 s
Sep  6 12:58:41 test0 ntpd[1742]: time reset -46.869301 s
Jul 27 11:19:35 test0 ntpd[1742]: time reset -46.869786 s
Jun 29 19:05:10 test0 ntpd[1708]: time reset -46.868480 s

Another one runs heartbeat and it similarly gets upset:

Sep 20 15:54:56 foo2 heartbeat: [1407]: WARN: Late heartbeat: Node foo2: 
interval 47000 ms
Sep  6 12:43:02 foo2 heartbeat: [1407]: WARN: Late heartbeat: Node foo2: 
interval 47590 ms
(logs go back no further; I expect same happened on matching dates)

Its ntpd doesn't seem to complain, though.

There are some customer domUs on this host running various versions
of Debian and CentOS (both 2.6.18 backported Xen kernels and 2.6.36+
pvops), on which dovecot sees the time go backwards and kills
itself, but I don't have direct access to these domUs so can't
report much other than that.

There are other domUs which don't complain but this could be due to
them having no software which cares; I have to investigate more to
see if something is actually happening on them.

Has anyone ever seen this before? I'm thinking this is a bug in Xen
because it never happened in Xen 3.x, has only happened since
upgrade, and the way it happens on the same day in multiple domUs
(of different Linux distributions) suggest dom0 or hypervisor to me.
I also have other hosts of Xen 4.x where this doesn't happen.

dom0 is a Supermicro X7DCL-i, Xeon 5410 running amd64 Debian squeeze
and the distribution Xen packages.

Some info on the various hosts involved:

       Distribution    Kernel
------------------------------------------
dom0   Debian squeeze  2.6.32-5-xen-amd64
foo2   Debian squeeze  2.6.32-5-686-bigmem
test0  Debian lenny    2.6.26-2-686-bigmem
bar0   Debian squeeze  2.6.32-5-686-bigmem

       Current      Available
       clocksource  clocksources
-----------------------------------
dom0   xen          xen
foo2   tsc          xen tsc
test0  xen          xen tsc jiffies
bar0   xen          xen tsc

Any ideas?

Cheers,
Andy

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