From: "George Dunlap" Subject: Re: Xen, Windows 2003 and APIC Date: Fri, 5 Dec 2008 16:42:57 +0000 Message-ID: References: <20081205140341.GD29148@barman.uk.sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, Gary Pennington , et-mgmt-tools@redhat.com List-Id: xen-devel@lists.xenproject.org IIRC, only w2k3sp2+, vista, and w2k8 have lazy TPR. Not positive about w2k3sp1, but I think it doesn't. WinXP does not have lazy TPR in any service pack, AFAIK. What service pack of w2k3 did you do those tests with? Hopefully, sometime in the next few weeks, I'll be able to release my 'xenalyze' tool, which will help a lot with analyzing what's really going on with these kinds of workloads. -George On Fri, Dec 5, 2008 at 2:45 PM, Keir Fraser wrote: > On 05/12/2008 14:03, "Gary Pennington" wrote: > >> My next question is: What is really happening when APIC is specified for >> a windows guest and why does performance vary so much according to whether >> it's specified or not? > > Older Windows kernels update the APIC TPR a lot, and unless you have a very > modern Intel processor every one of those TPR updates causes a vmexit. > > Modern Windows (including possibly latest w2k3 service pack, but I'm not > totally certain) includes lazy TPR, which gets rid of the vast majority of > TPR updates, and hence will go much faster. > > -- Keir > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >