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: "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>, "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: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Date: Wed, 12 Apr 2006 17:41:45 +0800
Delivery-date: Wed, 12 Apr 2006 02:42:10 -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
Thread-index: AcZeErHBZmx3osTTTrWNhkvhDzSzagAAMz4A
Thread-topic: single software TLB vs. multiple software TLBs (was RE: [Xen-ia64-devel] [PATCH] [Resend]Enable hash vtlb)
Tristan Gingold wrote:
> 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!
> 
Just make sure I am understanding correctly. With the help of software TLB for 
guest huge translation, you have the flexibility to either breakdown it into 
smaller ones to VHPT for all entries at a time, or you can do one at a time. 
Defenitely several at a time is also OK if people want to :-)

That is another reason why we need multiple software TLBs. So far the 
implementation of hash TLB addresses this issue preliminary. We must merge both 
VTI and non VTI approach to reduce future maintaince effort (I guess you'd like 
to see SMP works for both para and non-para domains too). Multiple software 
tlbs are a must hereby. 
So far the algorithm used for hash TLB and VHPT are very similar :-)

>> 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.

Thx, Eddie

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