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] XEN: accelerate guest tr search.

To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [PATCH] XEN: accelerate guest tr search.
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Thu, 2 Mar 2006 21:09:34 +0800
Delivery-date: Thu, 02 Mar 2006 13:09:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcY9+owe5F9SiyzmR9Wg5IjDZG3p4A==
Thread-topic: [Xen-ia64-devel] [PATCH] XEN: accelerate guest tr search.
Guest has 8 I/D TR entries, when tlb miss happens, VMM will check these
8 TR entries to see whether corresponding tlb entry can be found. In
fact, guest 
may not use all of these 8 entry, for example, linux only uses first 2
ITR and 
first 4 DTR(maybe not exact). I add two members in vcpu struct,
itr_maxslot, 
dtr_maxslot to record max entry number of guest ITR and DTR which are
used by 
guest. So when VMM searches guest TRs, it doesn't need to check all TRs,
just 
those used by guest. Since searching guest TR is a frequent operation,
this patch
should improve performance of dom0 and domU in theory. I don't have data
:-).

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>

Thanks,
-Anthony 

Attachment: accelerate_guest_tr_search.patch
Description: accelerate_guest_tr_search.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>