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

xen-devel

[Top] [All Lists]

[Xen-devel] System time monotonicity

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] System time monotonicity
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: 2007年3月26日 19:23:23 +0100
Delivery-date: 2007年3月26日 11:19:26 -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
User-agent: Mutt/1.5.9i
It seems that VCPU system time isn't monotonic (using 3.0.4). It seems
it might be correlated to when a VCPU is switched across real CPUs but I
haven't conclusively proved that. But e.g.:
 {
 old = {
 time = {
 version = 0x4ec
 pad0 = 0xe8e0
 tsc_timestamp = 0x22cc8398b7194
 system_time = 0xe8e0345d8805
 tsc_to_system_mul = 0xd62c0083
 tsc_shift = '377円'
 pad1 = [ '002円', '027円', '365円' ]
 }
 result = 0xe8e0484568fa
 tsc = 0x22cc86921ab00
 cpu = 0
 }
 new = {
 time = {
 version = 0x4ee
 pad0 = 0
 tsc_timestamp = 0x22cc7db96cd29
 system_time = 0xe8e00d1031f3
 tsc_to_system_mul = 0xd62ae844
 tsc_shift = '377円'
 pad1 = [ '357円', '002円', '365円' ]
 }
 result = 0xe8e048456012
 tsc = 0x22cc869225443
 cpu = 0
 }
 delta = 0xfffffffffffff718
 }
>From what I can work out, time is supposed to be monotonic but I admit I
can't really understand the time code yet at least. I couldn't find any
documentation on what to expect from system time. Any suggestions?
This seems to happen across all the hardware we've tried but this
particular case is a Sun V20Z with two CPUs:
 x86 (AuthenticAMD family 15 model 5 step 10 clock 2392 MHz)
 AMD Opteron(tm) Processor 250
cheers,
john
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] rcu readers - remove dummy lock object , Keir Fraser
Next by Date: [Xen-devel] Re: memsize for HVM save/restore , Keir Fraser
Previous by Thread: [Xen-devel] [PATCH] linux/x86: batch hypercalls when pinning address spaces , Jan Beulich
Next by Thread: Re: [Xen-devel] System time monotonicity , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /