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

Re: single software TLB vs. multiple software TLBs (was RE: [Xen-ia64-de

To: "Dong, Eddie" <eddie.dong@xxxxxxxxx>, "Xu, Anthony" <anthony.xu@xxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: single software TLB vs. multiple software TLBs (was RE: [Xen-ia64-devel] [PATCH] [Resend]Enable hash vtlb)
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Wed, 12 Apr 2006 10:26:43 +0100
Delivery-date: Wed, 12 Apr 2006 02:22:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <255D0D519B44514CA2384FC76944C1AA131A62@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <255D0D519B44514CA2384FC76944C1AA131A62@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Mercredi 12 Avril 2006 10:57, Dong, Eddie a écrit :
> Tristan:
>       You are probably avocating for the flexibility of hash TLB too from the
> issue :-) Yes, when multiple TLBs are supported, i.e. hash TLB here, those
> big guest page translations can be put into software TLB using gmfn (leave
> to future tuning). When it is inserted into machine TLB or VHPT, it can be
> breakdown to many small page size translations (up to the balance of
> performance and functionality).
No, you have to split and insert all entries!

> I.e. the machine rr4.ps could be 16KB for
> guest vrr4.ps=256M. Another point is that VHPT hash uses VPN and rid as
> hash index, here the VPN means 256M/16K=16K contiguous index. In this way
> the hash result will be not duplicated as if the hash table can accomodate
> 16K+ entries. So forward progress can be guaranteed by the software TLB +
> VHPT.
>
>       Hope this helpful!
Ok it makes sense.  If the VHPT is correctly sized it should work.
[Maybe comments should be added somewhere to avoid future problem].

Thanks
Tristan.


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel