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] xen-3.2.0 problems with time (and space)

To: "[STD]Ein" <ein@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] xen-3.2.0 problems with time (and space)
From: "Christopher Isip" <cmisip@xxxxxxxxx>
Date: Sun, 22 Jun 2008 22:59:18 -0400
Cc: Massimo Mongardini <massimo.mongardini@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 22 Jun 2008 19:59:49 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=wbsegJ+VwKsTT423KBf80/RSYaDqacDifcvQJZWhAdQ=; b=eDBBPVhMlaLftyCLQdQGwws45H+g9ejLAIABgxQBBHL2cLJybYAFbNxIFy9qiTFh/O elNxAvqgjk5r7WjrTgdCrqHUtEDpG+adMxms4mMnt4giNAwtzdl2bIpwRuQkvzB/BgNm ZIJgNXbCn+KzrSDLUN99WyJ9G5LmETczBlWvg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=MzwRLw0krZqsD0PpeC4qW5XipZ3S0/w9WTNlT1tZk6ObN/wMq8wiCLRsp8HeOwEpC9 4tq1Q4xs9I+2TONJmOX3GePqSXnpP3+8sUYtDAwxjEuTaMxfHa9vHwmh/sx+rJ5xJKUO v2tBEItD75EP6CbWJX2s4jbQRmIPng+lIidkI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <002401c8d3c3$b5f20640$c801a8c0@localnet>
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: <485BA454.5010709@xxxxxxxxx> <002401c8d3c3$b5f20640$c801a8c0@localnet>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Sat, Jun 21, 2008 at 1:24 PM, [STD]Ein <ein@xxxxxxxxxxxxxx> wrote:
Have you adjusted any of the clock controls for Xen? (independent
wallclocks)
If not, there should be no reason to run ntp in your domU's.  I suspect that
ntp may actually be causing your time skews due to variations introduced by
xen's clock handling.  I would try disabling ntp in domU and see if your
clocks are still moving.

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Massimo
Mongardini
Sent: June 20, 2008 7:37 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen-3.2.0 problems with time (and space)

Hi,
   I am experiencing some issues keeping my clock in sync in a series
of domU with xen-3.2.0.
every node is set to ntpd sync to a central server.
(server-0034 is a bare metal server and is in sync with the rest of the
world, while 35-41 are rhel4 domUs)

--------- server-0034---------
Fri Jun 20 11:49:48 GMT 2008
--------- server-0035---------
Fri Jun 20 11:50:54 GMT 2008
--------- server-0036---------
Fri Jun 20 11:49:52 GMT 2008
--------- server-0037---------
Fri Jun 20 11:49:50 GMT 2008
--------- server-0038---------
Fri Jun 20 11:49:50 GMT 2008
--------- server-0039---------
Fri Jun 20 11:50:50 GMT 2008
--------- server-0040---------
Fri Jun 20 11:50:42 GMT 2008
--------- server-0041---------
Fri Jun 20 11:49:51 GMT 2008

on the logs I see many:
Jun 20 11:54:55 server-0041 ntpd[2573]: frequency error -512 PPM exceeds
tolerance 500 PPM

Maybe as a side effect to this, the domUs timeout the connection to a
nfs server from time to time

Jun 20 09:15:38 server-0036 kernel: nfs: server fs-cluster not
responding, still trying
Jun 20 09:15:52 server-0036 kernel: nfs: server fs-cluster OK
Jun 20 09:16:35 server-0036 kernel: nfs: server fs-cluster not
responding, still trying
Jun 20 09:16:35 server-0036 kernel: nfs: server fs-cluster OK

details:
dom0: rhel4
xen: 3.2.0 compiled sources
domU: rhel4

I also have another xen environment that I use for tests with xen 3.1 on
a rhel4 dom0 and it doesn't seem to suffer for this issue:
--------- server-0002---------
Fri Jun 20 12:29:05 GMT 2008
--------- server-0012---------
Fri Jun 20 12:29:05 GMT 2008
--------- server-0040---------
Fri Jun 20 12:29:05 GMT 2008

any tip?

cheers,
Massimo

--
Massimo Mongardini
~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-
~-.-~
echo
'Jg!J!hjwf!zpv!bo!bqqmf!boe!zpv!hjwf!nf!bo!bqqmf-!uifo!xf!xjmm!ibwf!bo!bqqmf
!fbdi/!Cvu!jg!J!hjwf!zpv!bo!jefb!boe!zpv!hjwf!nf!bo!jefb-!xf!xjmm!ibwf!uxp!j
efbt!fbdi!' | perl -pe 's/(.)/chr(ord($1)-1)/ge'
~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-
~-.-~
http://massimo.mongardini.it
http://www.getthefacts.it
http://www.mongardini.it/pizza-howto
~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-
~-.-~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


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


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

My solution was to set clock to jiffies, disable ntp for all domU's and just run a cron job for ntpdate.  Maybe somebody else has a better solution.

Chris


 

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