[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Optimizing x86-64 xenlinux using global pages for user mode


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.