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/
Home Products Support Community News


[Xen-devel] Question on xen system time

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Question on xen system time
From: "Yu, Ke" <ke.yu@xxxxxxxxx>
Date: Wed, 8 Aug 2007 23:22:09 +0800
Delivery-date: Wed, 08 Aug 2007 08:19:49 -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: AcfZz+MJ71TLMa27Tu2NIswrD1AUJg==
Thread-topic: Question on xen system time
In Xen x86 system time implementation (xen/arch/x86/time.c), there are
Per-CPU local system times and one global platform system time. local
system time is calibrated by TSC, and platform system time is calibrated
by platform timer (PIT/HPET/cyclone). 

My question is: is it possible not using TSC to calibrate local system
time, or even not using local system time, and using platform system
time instead? the rationale here is that: TSC is not reliable in some
cases. For example, in some old CPU, TSC frequency will change when CPU
frequency changes (in low power P state). TSC will even stop when CPU
enter deep C state. Linux actually choose not using TSC when CPU enter
deeper C state. I just wonder if it is possible in Xen. 

Best Regards
Yu Ke

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Question on xen system time, Yu, Ke <=