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] Time diferrence between dom0 and domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Time diferrence between dom0 and domU
From: Jordi Espasa Clofent <jespasac@xxxxxxxxxxxx>
Date: Tue, 03 Nov 2009 18:54:04 +0100
Delivery-date: Tue, 03 Nov 2009 09:55:51 -0800
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
User-agent: Thunderbird 2.0.0.22 (X11/20090625)
Hi all,

In dom0:

xen01ad:/# ls -l /etc/localtime
lrwxrwxrwx 1 root root 33 2009-07-02 10:51 /etc/localtime -> /usr/share/zoneinfo/Europe/Madrid
xen01ad:/# ntpdate hora.rediris.es
3 Nov 18:49:46 ntpdate[9558]: adjust time server 130.206.3.166 offset 0.163783 sec

In domU:

xen-ad0006:~# date
Tue Nov  3 18:55:29 CET 2009
xen-ad0006:~# ls -l /etc/localtime
lrwxrwxrwx 1 root root 33 Nov 3 13:24 /etc/localtime -> /usr/share/zoneinfo/Europe/Madrid
xen-ad0006:~# ntpdate hora.rediris.es
3 Nov 18:55:44 ntpdate[19800]: step time server 130.206.3.166 offset -294.467004 sec

As you can see, the time difference between dom0 and domU is aprox 6 min.
¿why?

It's supposed that domUs has the dom0's time.

Info:

* I don't use the independent_wallclock
* xen01ad:/# uname -a && xm info
Linux xen01ad 2.6.18-6-xen-amd64 #1 SMP Tue May 5 09:56:33 UTC 2009 x86_64 GNU/Linux
host                   : xen01ad
release                : 2.6.18-6-xen-amd64
version                : #1 SMP Tue May 5 09:56:33 UTC 2009
machine                : x86_64
nr_cpus                : 8
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2110
hw_caps : 178bf3ff:efd3fbff:00000000:00000110:00802001:00000000:000037ff
total_memory           : 16383
free_memory            : 4161
node_to_cpu            : node0:0-7
xen_major              : 3
xen_minor              : 2
xen_extra              : -1
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.3.1 (Debian 4.3.1-2)
cc_compile_by          : waldi
cc_compile_domain      : debian.org
cc_compile_date        : Sat Jun 28 09:32:18 UTC 2008
xend_config_format     : 4

--
I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain.

Bene Gesserit Litany Against Fear.

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