| To: | Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [Xen-devel] Re: [PATCH] [PVOPS] dom0 sync xen wallclock |
| From: | Keir Fraser <keir.fraser@xxxxxxxxxxxxx> |
| Date: | 2010年2月11日 00:06:11 +0000 |
| Cc: | Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
| Delivery-date: | 2010年2月10日 16:06:34 -0800 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| In-reply-to: | <4B733CA0.3080109@xxxxxxxx> |
| 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 |
| Thread-index: | AcqqpiYakHyMg1UPQY+P802jezhhqQAB95k8 |
| Thread-topic: | [Xen-devel] Re: [PATCH] [PVOPS] dom0 sync xen wallclock |
| User-agent: | Microsoft-Entourage/12.23.0.091001 |
On 10/02/2010 23:09, "Jeremy Fitzhardinge" <jeremy@xxxxxxxx> wrote: > There is one big difference between the Xen clock and the CMOS clock, > which is that the Xen clock is being concurrently accessed by other > domains. If it is being updated periodically, then there will be > discontinuities in time which may affect other domains. But since > there's no time-warp ABI to Xen, I don't think this can really be > avoided; anyone reading periodically the Xen clock needs to be able to > deal with any discontinuities. pvops kernels only inspect it at boot > time, and so won't see any subsequent time adjustments anyway. A Xen ABI for adjtime()-alike warping of Xen system time is something we should add at some point, as that's the logical thing for ntp in dom0 to affect, keeping the system's 'nanosecond ticker' in sync with the wider world. That'd keep all domU clocks in sync, all except for fixed wallclock offsets. But it doesn't currently exist, so instead it gets bunged in with Xen's existing settimeofday()-alike interface: hence domUs either can see discontinuities, or don't get the automatic benefits of ntp sync at all, because they only read the wallclock offset at boot time. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| Previous by Date: | [Xen-devel] VMQ support in pvops Netchannel2? , Williams, Mitch A |
|---|---|
| Next by Date: | Re: [Xen-devel] time freeze on save/restore, x86_64 , Keir Fraser |
| Previous by Thread: | [Xen-devel] Re: [PATCH] [PVOPS] dom0 sync xen wallclock , Jeremy Fitzhardinge |
| Next by Thread: | Re: [Xen-devel] Re: [PATCH] [PVOPS] dom0 sync xen wallclock , Jeremy Fitzhardinge |
| Indexes: | [Date] [Thread] [Top] [All Lists] |