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] Windows SMP

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Venefax" <venefax@xxxxxxxxx>, "Dirk Utterback" <dirk.utterback@xxxxxxxxx>
Subject: RE: [Xen-devel] Windows SMP
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Mon, 29 Dec 2008 19:20:03 +1100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Dec 2008 00:20:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C57E374A.2099C%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <03e901c96961$81b81980$85284c80$@com> <C57E374A.2099C%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclpXq3FDdh9/hRMR7SA68V92eNifgAAPoJwAAAyQsAAADKfEAALC0YVAAATS8A=
Thread-topic: [Xen-devel] Windows SMP
> > I had to disable both, and PAE. Only APIC=0 would not make any
> difference. I
> > will some further testing with Citrix Xenserver 5, using the same
> virtual
> > machine and another copy with their vmpd drivers. I bet that there
is no
> > difference in performance. It seems to be a Xen architectural issue.
Any
> > ideas?
> 
> The problem is almost certainly APIC related. APIC=0 actually has no
> effect
> for a multi-processor HVM guest, since APICs are architecturally
> absolutely
> required in x86 multi-processor systems.
> 
> The problem is most likely lots of emulated APIC TPR writes slowing
things
> down. Possible fixes:
>  1. Run a Windows guest with the 'lazy TPR' optimisation -- w2k3sp2+,
> w2k8,
> vista. Or run 64-bit Windows which will write TPR in a different way
which
> most Intel/AMD CPUs can virtualise efficiently.
>  2. Run a new enough Intel processor which has automatic TPR handling
even
> for 32-bit Windows guests.
>  3. Run Citrix drivers which patch Windows to avoid TPR writes.
> 

Can you elaborate on that last point? Does that pass WHQL?

I think that 'venefax' is running Windows 2003sp2... does that exclude
'lazy TPR' fix as an option or does it need enabling somehow?

Thanks

James

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