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] [PATCH] Fix hvm time issue.

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>, "Keir Fraser" <keir@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Fix hvm time issue.
From: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>
Date: Wed, 6 Dec 2006 19:23:21 +0800
Delivery-date: Wed, 06 Dec 2006 03:23:23 -0800
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: AccY9ZdVfqpS/yfBQWi+K0GDJLORiQAHVK2EAAA7LpAAAQHkAAAD58Bg
Thread-topic: [Xen-devel] [PATCH] Fix hvm time issue.
>> >Do RTC and HPET need to be included as periodic timers? They are
>never
>> used
>> >by Linux for ticks (it always uses PIT for jiffy updates) and I
think
>> >Windows is more robust against (or at least doesn't noticeably
>complain
>> >about) time jumps.
>> >
>>
>> For RTC, yes! As we know some version of Windows uses RTC as main
time
>> resource for timekeeping.
>
>I suspect that it only does this because during boot it decides that it
>doesn't like the look of our pm_timer (I don't blame it!)
>
>It would be good to invest some effort understanding why it selects RTC
>-- I'm sure that it's a fall back.
>

I am not sure whether RTC is a fall back choice or not. The below
paragraph is from a paper of timekeeping in VMware. From the text, it
seems the answer is no. 

------------
The timer device used and the number of interrupts generated per second
vary depending on which specific version of Microsoft Windows, and which
Windows HAL (hardware architecture layer), is installed. Most
uniprocessor Windows installations use the PIT as their main system
timer, but multiprocessor HALs and some ACPI uniprocessor HALs use the
CMOS periodic timer instead. For systems using the PIT, the base
interrupt rate is usually 100Hz, although Windows 98 uses 200Hz. For
systems that use the CMOS timer, the base interrupt rate is usually
64Hz.
------------

Thanks,
Xiaowei

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

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