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][RFC] per vcpu VHPT

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH][RFC] per vcpu VHPT
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 24 Jul 2006 21:54:28 +0900
Delivery-date: Mon, 24 Jul 2006 05:54:54 -0700
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
User-agent: Mutt/1.4.2.1i
Hi.

I implemented per vcpu VHPT for non-VTi domain.
The motivation is to alleviate vcpu migration cost between physical cpus
with credit scheduler.
If more than one vcpu of same domain, VHPT needs to be flushed every
vcpu switch. I'd like to avoid this scenario.
The patch is for discussion and performance evaluation. Not for commit. 


I checked the mailing list archives and found the thread
Xen/ia64 - global or per VP VHPT
http://lists.xensource.com/archives/html/xen-devel/2005-04/msg01002.html

The conclustion at that time isn't concluded. 
(At least my understanding. Because the thread was very long to follow. 
So I might be wrong, correct me.)
With this patch, we can measure the performance and descide to include
this patch or discard the idea.


This patch introduces compile time optoin,  xen_ia64_pervcpu_vhpt=y,
to enable this feature and xen boot time option,  pervcpu_vhpt=0
to disable per vcpu vhpt allocation.
The patch depends on tlb tracking patch which I sent before.
I attached these patches for convinience.

Thanks
-- 
yamahata

Attachment: 10701:c654d462c448_import_linux_hash.h.patch
Description: Text document

Attachment: 10702:cb0aa2b2e180_tlb_track.patch
Description: Text document

Attachment: 10703:a56d48066373_pervcpu_vhpt.patch
Description: Text document

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