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] repeatable time jump

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] repeatable time jump
From: David Becker <becker@xxxxxxxxxxx>
Date: Wed, 29 Sep 2004 14:28:39 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 30 Sep 2004 00:59:08 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1CCiXL-0003fm-00@xxxxxxxxxxxxxxxxx>
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>
References: <20040929173200.GQ921@xxxxxxxxxxx> <E1CCiXL-0003fm-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040523i
" always turned out to be 71 minutes 35 seconds, which is 2^32
" usec.]

Huh, thats right. I'm seeing a 4294 second jump on the hosts that jump an hour.
It happens with both xm shutdown and xm destroy.

# while true; do date +%s.%N; done
...
1096481915.880540000
1096481915.884033000
1096481915.887550000
1096486208.893708000
1096486208.897248000
...


This experiment also showed that once the date jumps, time stops advancing
in xen0.  So checking the date after the fact would show different errors and
after 71 minutes the error would be gone. 

# while true; do date '+%c %s'; sleep 1; done
Wed Sep 29 15:30:08 2004 1096486208
Wed Sep 29 15:30:08 2004 1096486208
Wed Sep 29 15:30:08 2004 1096486208
Wed Sep 29 15:30:08 2004 1096486208
Wed Sep 29 15:30:08 2004 1096486208
Wed Sep 29 15:30:08 2004 1096486208



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel