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] System time monotonicity

To: "John Levon" <levon@xxxxxxxxxxxxxxxxx>, "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] System time monotonicity
From: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 3 Apr 2007 18:51:30 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 03 Apr 2007 10:49:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acd2AAxThPjismp8Q9yP3Pc10PfkCQAGAQcQ
Thread-topic: [Xen-devel] System time monotonicity
> > Try booting with one physical (maxcpus=1 on the xen command 
> line) CPU 
> > just to verify this isn't a multi-CPU issue.
> 
> Can reproduce:
> 
> [1]> 0xfffffffed5cc0120::print kthread_t t_dhrtime 
> t_dhrtime_cpu t_dhrtime_tsc t_dhrtime_vers t_dhrtime = 
> 0x509957b7c2 t_dhrtime_cpu = 0x1 t_dhrtime_tsc = 0xf6f1529888 
> t_dhrtime_vers = 0x132
> 
> [1]> 0x509957b7c2 - 0x000000509957039e=D
>                 46116

Please can you try hitting 't' a few times on the Xen debug console
(again, maxcpus=1)

If you're seeing time jump back on a single CPU, it must mean that the
TSC ran quicker during the current period than what it was calibrated to
be running at in the last period. It's worth adding some debuging
printk's to the calibration code in Xen to see what it thinks is going
on from one calibration period to the next.

Thanks,
Ian

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

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