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-ia64-devel

[Xen-ia64-devel][PATCH]Let XEN handle identity mapping for xenolinux reg

To: "xen-ia64-devel" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel][PATCH]Let XEN handle identity mapping for xenolinux region 7
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Wed, 17 Jan 2007 15:54:06 +0800
Delivery-date: Tue, 16 Jan 2007 23:54:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acc6DKl4Fnx8ppsjS9iG8Z7qFAHq4A==
Thread-topic: [Xen-ia64-devel][PATCH]Let XEN handle identity mapping for xenolinux region 7
Let XEN handle identity mapping for xenolinux region 7

I noticed that in the process of KB on dom0,  half of slow reflection is
ALT_DTLB_MISS,
See below data,  ARR16 is ALT_DTLB_MISS.


(XEN) slow reflection                   TOTAL[  22904618]
(XEN)                    ARR00[   4635847]  ARR01[         0]  ARR02[
0]
  ARR03[         0]
(XEN)                    ARR04[   2010044]  ARR05[         0]  ARR06[
0]
  ARR07[         0]
(XEN)                    ARR08[   3908798]  ARR09[         0]  ARR10[
0]
  ARR11[         0]
(XEN)                    ARR12[         0]  ARR13[         0]  ARR14[
0]
  ARR15[         0]
(XEN)                    ARR16[  11575236]

As we known, region 7 on xenolinux is identity mapping.
So XEN can handle this kind of ALT_DTLB_MISS for xenolinux.

Applying this patch, most of ALT_DTLB_MISS slow reflection disappeared.
I get below perfomance data by runing KB on dom0.

without patch           with patch                      improvement
real    17m6.188s               real    16m41.390s      2.44%
user    15m49.760s      user    15m49.140s      almost same
sys     1m2.790s                sys     0m53.570s               14.68%



--Anthony

Attachment: handle_alttlb.patch
Description: handle_alttlb.patch

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