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] Implementing "late pin, early unpin" for x86_64 xenl

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Implementing "late pin, early unpin" for x86_64 xenlinux
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Fri, 26 Aug 2005 00:50:30 -0700
Delivery-date: Fri, 26 Aug 2005 07:50:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcWqEc0GCFRVVu6YTCaKeis13z7XMw==
Thread-topic: [PATCH] Implementing "late pin, early unpin" for x86_64 xenlinux
The patched attached enables x86_64 xenlinux with "late pin, early
unpin", which is already implemented for x86_32. Since we now only pin
the root rather than any of the other levels, the overall performance
became better especially with workloads that require heavy memory
management operations. 

On 8-way x86_64 xenlinux (dom0) the kernel build was improved by about
10% (using make -j32). Even a small setup like a UP HT system, I see
about 3% performance gain with kernel build (make -j4).

Lmbench also shows improvements in fork/exec/sh:
Processor, Processes - times in microseconds - smaller is better
--------------------------------------------------------------------
Host    OS  Mhz   null null      open slct sig  sig  fork exec sh  
                  call  I/O stat clos TCP  inst hndl proc proc proc
--------- ------------- ---- ---- ---- ---- ---- ---- ---- ---- ---- 
Linux 2.6.12- 3786 1.13 1.36 3.93 6.04 10.5 1.43 4.33 536. 1446 3614
Linux 2.6.12- 3786 1.13 1.36 3.91 6.03 10.4 1.44 4.38 346. 1050 2831

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

Jun
---
Intel Open Source Technology Center 

---
 b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/mmu.h       |   33 ++
 linux-2.6-xen-sparse/arch/xen/x86_64/kernel/ldt.c             |   12 
 linux-2.6-xen-sparse/arch/xen/x86_64/mm/init.c                |    1 
 linux-2.6-xen-sparse/arch/xen/x86_64/mm/pageattr.c            |  154
+++++++++-
 linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/mmu_context.h |    6 
 linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/pgalloc.h     |  118
++++---
 linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/tlbflush.h    |    2 
 7 files changed, 265 insertions(+), 61 deletions(-)

Attachment: late_pin_early_unpin.patch
Description: late_pin_early_unpin.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Implementing "late pin, early unpin" for x86_64 xenlinux, Nakajima, Jun <=