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] time drift on dom0

To: maney@xxxxxxxxx
Subject: Re: [Xen-devel] time drift on dom0
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sun, 16 Jan 2005 09:17:58 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 16 Jan 2005 09:19:28 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: Your message of "Sat, 15 Jan 2005 22:21:19 CST." <20050116042119.GB8600@xxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> UML does something along these lines - the guests (domX: x > 1) get
> their timing from the host (dom0).  But that works because the guest
> kernel there is running as a user process in the host environment.  Xen
> would need to invoke interdomain messaging to pass queries, which
> offhand sounds more costly.

If you run NTPD in DOM0 then all other domains will be sync'ed to
DOM0's accurate timebase. This is how we run our own machines.

> I'm unsure if I replied earlier to the list, so let me point out that
> IME drifts up to 200 ppm can be found outside of Xen with contemporary
> PC hardware.  That's about the same Adam's reported drift, or 4 minutes
> per week.  This would all be more interesting if drift under Xen could
> be compared to the same piece of hardware's drift without Xen, holding
> all else as much the same as practical.

The two main places we get drift from when not using NTP are
inaccuracy of the PIT oscillator (can easily be 100 or more ppm), and
loss of significance when we program the PIT (we can't tell it to tick
precisely at 100Hz --- the closest we can get is out be a few 10s ppm
at least IIRC).

Not much we can do about the former -- we could deal with the latter
by stretching/shrinking jiffies or by inserting leap jiffies. 

 -- Keir


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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