|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [Patch] Add VMX memory-mapped Local APIC access	optimiza
 
| 
To:  | 
"Cui, Dexuan" <dexuan.cui@xxxxxxxxx>,	<xen-devel@xxxxxxxxxxxxxxxxxxx> | 
 
| 
Subject:  | 
Re: [Xen-devel] [Patch] Add VMX memory-mapped Local APIC access	optimization | 
 
| 
From:  | 
Keir Fraser <keir@xxxxxxxxxxxxx> | 
 
| 
Date:  | 
Wed, 30 May 2007 17:32:09 +0100 | 
 
| 
Cc:  | 
"Li, Xin B" <xin.b.li@xxxxxxxxx>, "Dong, Eddie" <eddie.dong@xxxxxxxxx>,	"Nakajima, Jun" <jun.nakajima@xxxxxxxxx> | 
 
| 
Delivery-date:  | 
Wed, 30 May 2007 09:31:18 -0700 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxx | 
 
| 
In-reply-to:  | 
<FE7BBCFBB500984A9A7922EBC95F516E27DB94@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> | 
 
| 
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:  | 
AcdrXcumBW0XNoFFTVuT/E21U2H6Bws8RBpQAqJNTp4= | 
 
| 
Thread-topic:  | 
[Xen-devel] [Patch] Add VMX memory-mapped Local APIC access	optimization | 
 
| 
User-agent:  | 
Microsoft-Entourage/11.3.3.061214 | 
 
 
 
Applied but I've subsequently 'simplified' it quite a bit. :-) You'll want
to pull it from the staging tree and make sure it actually still works.
 -- Keir
On 17/5/07 07:52, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:
> Some operating systems access the local APIC TPR very frequently, and we
> handle that using software-based local APIC virtualization in Xen today.
> Such virtualization incurs a number of VM exits from the memory-access
> instructions against the APIC page in the guest.
> 
> The attached patch enables the TPR shadow feature that provides APIC TPR
> virtualization in hardware. Our tests indicate it can significantly
> boost the performance of such guests including 32-bit Windows XP/2003.
> 
> Moreover, with the patch, local APIC accesses other than TPR in guests
> are intercepted directly as APIC_ACCESS VM exits rather than PAGE_FAULT
> VM exits; this can lower the emulation cost of such accesses.
> 
> Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
> 
> PS, the related document is available in the latest Intel SDM 3B:
> http://www.intel.com/products/processor/manuals/index.htm
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |