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

[Xen-devel] [PATCH] Move ACPI timer to HV

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Move ACPI timer to HV
From: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>
Date: Mon, 23 Oct 2006 12:33:33 +0800
Delivery-date: Sun, 22 Oct 2006 21:34:04 -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: Acb2XGYKj6a+YvmGRkaIblRT573mZQ==
Thread-topic: [PATCH] Move ACPI timer to HV
Keir,

The patch moves ACPI timer to HV, which is the last platform timer in
Qemu.

We found Vista polls ACPI timer very frequently (about 15 times
averagely) when handling timer (RTC @ 64HZ) interrupt routine. Though
the exact reason is known, it should be related to system time
adjustment. When it's in Qemu, the overhead is big. After moving,
Vista's idle overhead decreases dramatically from ~10% to 0.9%. 

Another benefit is that Vista can only pass Performance rating with this
patch. The root cause is that ACPI timer in Qemu isn't synchronous with
other platform timer in HV, which results in Vista complains "can't
measure TSC frequency".

This patch changes vpit.h to vpt.h, for it not only has pit structure in
it, but other platform timer's structure. Another change is moving ACPI
timer and related address from acpi.h to ioreq.h, which can be shared by
HV and ACPI firmware. What do you think of it?

Signed-off-by: Xiaowei Yang <xiaowei.yang@xxxxxxxxx>

Thanks, 
Xiaowei 


Attachment: pmt.patch
Description: pmt.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>