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] Optimizing x86-64 xenlinux using global pages for us

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Optimizing x86-64 xenlinux using global pages for user mode
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Fri, 18 Aug 2006 10:19:00 -0700
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Fri, 18 Aug 2006 10:19:34 -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: AcbC6mUfvpBjS1mURiaP8euAulWITQ==
Thread-topic: [PATCH] Optimizing x86-64 xenlinux using global pages for user mode
This was based on Ian's idea, but the patch attached offers measurable
performance improvements by retaining TLB for user processes at
transitions between user and kernel mode, which can occur very
frequently in various workloads. 

I would like to thank Andrew Theurer for conducting benchmarks
thoroughly and collecting profile data from them. That was very helpful
when making this patch.

 linux-2.6-xen-sparse/arch/i386/mm/ioremap-xen.c                |    3 
 linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c                 |    6 
 linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pgtable.h |   21
+--
 xen/arch/x86/flushtlb.c                                        |    9 +
 xen/arch/x86/mm.c                                              |   69
+++++++++-
 xen/arch/x86/x86_64/traps.c                                    |    5 
 xen/include/asm-x86/flushtlb.h                                 |    7 -
 xen/include/asm-x86/shadow.h                                   |   19
+-
 xen/include/asm-x86/x86_64/page.h                              |    2 
 9 files changed, 106 insertions(+), 35 deletions(-)

Signed-off-by: Jun Nakajima <jun.nakajima@xxxxxxxxx>

Jun
---
Intel Open Source Technology Center 

Attachment: global_64.patch
Description: global_64.patch

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