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: cmisip@xxxxxxxxx
Subject: Re: [Xen-users] xen-3.2.0 problems with time (and space)
From: Massimo Mongardini <massimo.mongardini@xxxxxxxxx>
Date: Mon, 23 Jun 2008 11:56:49 +0100
Cc: "\[STD\]Ein" <ein@xxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 23 Jun 2008 04:22:50 -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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=K2MQWauvIxrYsAAegStBqb/66149dgwn74p551d6Bfk=; b=geto+iNLm3bEAvm4luyjJGq73VluuMfYM1O8OnVea4cqYc9X32Luiz86gBCdhCtWhL MyWWZ/HDYhaLHvbif+9cTLHjtYpQkSE0svCX5UoaoZeIdHgisf3dD495EeBsv5CQthMM pf+ZrhfioZGfD+S5COcBIiy7gFQjGEHPvxOmk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=il2DgF9DfZBbwu3p3jIjjFapfTSxhLrywuM9Xk2lUwlgXwtNC4W4F/T4605eWQpZnX YD8wByuJ+8WtOagSOdbigius+/urp5Mx31+h33tsVEZFSz1cpTw9EdXOFLWpx3Z1XW36 kaSQ32PlTEAE8gNPQrBAl+BnGBpKXPge1hkIU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4bca5f6c0806221959t67168c94gbdacfa71a0c62cd1@xxxxxxxxxxxxxx>
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> <4bca5f6c0806221959t67168c94gbdacfa71a0c62cd1@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080421)
Christopher Isip wrote:




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


I also created a 0-59/5 ntpdate cron and disabled ntp to workaround this issue, but I don't feel this is optimal for a production env.

It seems like that my 2.6.18.8-xen has jiffies as default clocksource
cat /sys/devices/system/clocksource/clocksource0/current_clocksource
jiffies

I wonder if I should try any other clocksource:
cat /sys/devices/system/clocksource/clocksource0/available_clocksource
jiffies tsc pit

I remember trying clock=pit while fighting for the same problem with vmware.

xm dmesg shows this:
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer overflows in 14998 jiffies.
(XEN) Platform timer is 14.318MHz HPET

It would be interesting to understand to what extent this is affecting the community. (eg. Is it just me and my hardware?)

I am aware that virtualization and clock ticks are hard to conciliate but since the IT trends are pushing so hard to promote virtualization now-a-days I personally feel that if it's not just me and few others, it is unacceptable for a production server to have the clock going berserk and having to apply workarounds that could not always be possible.

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!jefbt!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