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] NTP time issues DomU's

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-users] NTP time issues DomU's
From: Tupshin Harper <tupshin@xxxxxxxxxxx>
Date: Thu, 12 May 2005 14:03:07 -0700
Cc: andrew mathes <amathes@xxxxxxxxxxxx>, ian.pratt@xxxxxxxxxxxx, Fernando Maior <fernando.souto.maior@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 12 May 2005 21:02:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3FB7@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3FB7@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)
Ian Pratt wrote:

> 
> 
>  
>
>>yeah, i'm already doing that, I was just saying, it *seemed* 
>>like they were getting their time from domain0, and weren't 
>>actually changing their own clocks in accordance with syncing 
>>with the same ntpd server.
>>    
>>
> 
>  
>
>>especially since they're all off by exactly the same amount 
>>... and running ntpdate doesn't seem to have any effect whatsoever?
>>    
>>
>
>If you don't run ntp in the domU's, it should just work.
>
>If you want to run ntp in the domU, try:
> echo 1 > /proc/sys/xen/independent_wallclock
>
>I guess we could be smarter about this, and make the wall clock
>independent automatically if someone does an adjtimex syscall. Anyone
>got any comments on this?
>
>Ian
>
> 
>
Don't auto-detect based on adjtimex. It would be too easy and too
confusing to accidentally make such a call once, and then not realize
that you would no longer be auto-synchronized.

Instead, make independent_wallclock be a config file option that is
overridable by proc.

-Tupshin

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