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] Xen time drift issues

To: Peter Booth <peter_booth@xxxxxx>
Subject: Re: [Xen-users] Xen time drift issues
From: Priya <pbhat@xxxxxxxxxxxx>
Date: Wed, 8 Jul 2009 09:53:59 -0400
Cc: "bansal.tanuj83@xxxxxxxxx" <bansal.tanuj83@xxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 08 Jul 2009 06:54:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=qIa8WfsM4zVMlTeSzXKe0Gz5W+KhtXhgveR8Gtjv54c=; b=UKg86FkWpbd0sGjoLsc+KAO95tBVM7U4HZkv4Gx8GWzSL/e2avRQuENd9zZjWCKax6 qshjRMkQ816hiVTEbZBYlMPO7vCf0wALrk0YZx4puGNTEBvWiD+/hpyo8ibGrbLQSqza OZkz1OVlCX4c/FF1QFmKb3/rRhBEOpmTZSERM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=sdvAe8qKp1YxHc0lKoKggL2EpkHc9PEbfSRuMKMw9RHnVEqfxwBrDZTh5zIeHYnUZ8 hTbNfuxQFaamBU1VsokJKZSSGTqJIH097vicB90RjsQpN/nlJ+XqCBE4sxH2cqdTge5w 08/KcBHZf6Se6xxgbjat94H/9ucrErh5gz0IY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <B59B2341-9AF1-41DD-982B-78BFF5597FAE@xxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <5c3550fe0907010825k58e01be8qb4cbaa051e524d81@xxxxxxxxxxxxxx> <4a548a2f.0ebb720a.645e.ffff905d@xxxxxxxxxxxxx> <B59B2341-9AF1-41DD-982B-78BFF5597FAE@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
@tanuj: Thanks! I am not using NTP for syncing. The reason for that is
that I want to get an idea of the fidelity of the time returned by
domU and dom0 w.r.t. the actual real time. I expected to see a
difference, but what is puzzling me is that the difference increases
in such a linear fashion.

@peter: As I mentioned in my previous email, the drift is ~50
microseconds/second on domU and slightly less on dom0

I have been trying to find some documentation pertaining to how Xen
virtualizes the different hardware timers. If anyone has a link to
such a technical report, please send me a link.

Thanks!

Priya


On Wed, Jul 8, 2009 at 9:37 AM, Peter Booth<peter_booth@xxxxxx> wrote:
> How are you measuring this drift?
>
> Sent from my iPhone
>
> On Jul 8, 2009, at 7:59 AM, Tanuj Bansal <bansal.tanuj83@xxxxxxxxx> wrote:
>
>> Hi Priya:
>>
>> If you are using NTP, then shutdown the NTP service on all DomU and
>> restart
>> it on Dom0 only.
>>
>>
>>
>> Regards,
>>
>> Tanuj Bansal
>>
>> -----Original Message-----
>> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Priya
>> Sent: Wednesday, July 01, 2009 8:55 PM
>> To: xen-users@xxxxxxxxxxxxxxxxxxx
>> Subject: [Xen-users] Xen time drift issues
>>
>> Hello everyone!
>>
>> I been observing some peculiar time drift on my Xen domains (dom0 and
>> domUs).  The time (as returned by timeofday) on my domains drifts at
>> an almost steady rate from the real time ( as read from the time stamp
>> counter ).
>>
>> The drift is so constant that it makes me think there should be some
>> simple explanation for it in the way Xen keeps time.
>>
>> Some info about my set up:
>> guest OS: ubuntu
>> independent_wallclock is set to default 0 on all domains
>> no NTP synchronization
>>
>> The drift is around 50 microseconds / second on all the domains. Has
>> anyone else observed this? If anyone can point me to some
>> documentation that explains this behavior, that would be great!
>>
>> Good day!
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>
>



-- 

Calvin Trillin  - "Health food makes me sick." -
http://www.brainyquote.com/quotes/authors/c/calvin_trillin.html

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