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-devel

RE: [Xen-devel] [PATCH] linux-2.6.18-xen.hg: fix interaction of NTP and

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] [PATCH] linux-2.6.18-xen.hg: fix interaction of NTP and dom0->xen time updates
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Wed, 18 Mar 2009 14:31:24 +0000 (GMT)
Cc:
Delivery-date: Wed, 18 Mar 2009 07:32:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090318111410.GC11733@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Tim --

Cool!

Just checking... this provides improvement when:

1) the patch is applied to dom0
2) dom0 is running NTP
3) pv domU has independent_wallclock=0
4) pv domU is NOT running NTP

Correct?  Does it also help when:

1) the patch is applied to pv domU
2) pv domU has independent_wallclock=1
3) pv domU IS running NTP

Are there any other configurations where it will
help?  Are there any configurations where it might
cause problems?

Thanks,
Dan

> -----Original Message-----
> From: Tim Deegan [mailto:Tim.Deegan@xxxxxxxxxx]
> Sent: Wednesday, March 18, 2009 5:14 AM
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] [PATCH] linux-2.6.18-xen.hg: fix 
> interaction of NTP
> and dom0->xen time updates
> 
> 
> Don't discard NTP sync when updating Xen wallclock time from dom0,
> as that's almost the first thing we do when we become synced.
> Move the call to ntp_clear() into do_settimeofday(), which is the
> only caller of __update_wallclock() that looks like it should break
> NTP sync.  
> 
> This fixes the timer chain that sets Xen's wallclock every minute when
> dom0 is NTP synced, which in turn greatly improves wallclock 
> accuracy in
> PV domU.
> 
> Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
> 
> -- 
> Tim Deegan <Tim.Deegan@xxxxxxxxxx>
> Principal Software Engineer, Citrix Systems (R&D) Ltd.
> [Company #02300071, SL9 0DZ, UK.]
>

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

<Prev in Thread] Current Thread [Next in Thread>