All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sébastien RICCIO" <sr@swisscenter.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Dom0 <> DomU clock sync
Date: Mon, 03 Sep 2007 16:07:13 +0200	[thread overview]
Message-ID: <46DC1511.6020302@swisscenter.com> (raw)
In-Reply-To: <C301CEEB.15201%Keir.Fraser@cl.cam.ac.uk>

Hi Keir,

Thank you for your answer.

Ntpd is not running in dom0. I am updating the dom0 time with ntpdate 
(crontab every hour).
Should ntpd be running on dom0 ?

Dom0
[root@xen01 /]# date
Mon Sep  3 15:59:37 CEST 2007

DomU (started 5 hours ago)
ns1 bin # date
Mon Sep  3 15:58:05 CEST 2007

ns1 bin # uptime
 15:58:10 up  5:21,  3 users,  load average: 0.00, 0.00, 0.11


But this is strange... I just rebooted the vm:

Dom0:
[root@xen01 /]# date
Mon Sep  3 16:04:13 CEST 2007

DomU:
ns1 ~ # date
Mon Sep  3 16:02:41 CEST 2007

There is already a difference when the vm is freshly rebooted.
Same after a shutdown/xm create....

Weird... Any idea ?

Thanks again!

-- 
Sébastien Riccio
SwissCenter / OpenBusiness SA
sr@openbusiness.com






Keir Fraser a écrit :
> You're not running ntpd in the domU as well, right? Just worth checking...
> Apart from that I don't think you can be doing anything wrong. Any weirdness
> after long uptime is of course interesting, as it's something that's hard
> for developers to test.
>
> If you create a new domU (doesn't need to be from scratch installation -
> e.g., just restarting a domU, or starting an existing dormant domU, would
> do) then is its time behind dom0, or in sync?
>
>  -- Keir
>
> On 3/9/07 08:45, "Sébastien RICCIO" <sr@swisscenter.com> wrote:
>
>   
>> Hello !
>>
>> Just a quick question about time synchronization between xen dom0 and
>> domUs...
>>
>> We're running Xen 3.1 64-bit, with 32 and 64 bits linux guests.
>>
>> It's up since 89 days and the domU's time is around 5 minutes behind the
>> dom0,
>> which is updated via ntpdate...
>>
>> Any idea why it doesn't sync the guests even that
>> /proc/sys/xen/independent_wallclock is 0 ?
>>
>> Could it be an option that I missed in dom0/domU kernel ?
>>
>> Thanks for your help !
>>
>>     
>
>
>
>
>   

  reply	other threads:[~2007-09-03 14:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-03  7:45 Dom0 <> DomU clock sync Sébastien RICCIO
2007-09-03 13:47 ` Keir Fraser
2007-09-03 14:07   ` Sébastien RICCIO [this message]
2007-09-03 14:17     ` Keir Fraser
2007-09-03 14:37       ` Sébastien RICCIO
2007-09-03 14:54       ` Alex Tomkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46DC1511.6020302@swisscenter.com \
    --to=sr@swisscenter.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.